|
When i display a Cursor object in a property grid i get a dropdown menu with all the custom cursors and associated images. Is there a way to do this with a custom object so i can display custom images in the same format.
I have found an article on this site that give a way to display little rectangle images in the property grid but the cursor images are different. with the cursor the images are larger and square they are also not shown when the dropdown list isnt shown.
Can anyone tell me how i can imitate this effect with a custom object or maybe help me to modify the Cursor object to show custom txt and images.
|
|
|
|
|
good day to everyone. i just want to know how to hide tables in ms sql using c# codes. because, i want to hide the tables so that no one will be able to edit or even delete the tables i've created.thank you very much in advance...
|
|
|
|
|
accessing a database can be restricted using usernames and passwords.
|
|
|
|
|
thanks for the reply...but is there a way to hide the tables just for add-up securty?thanks again...
|
|
|
|
|
I don't think so, and I don't see a need.
Create your app with the functionality you want, and no more; give it a connection string that provides access to the database; and store that connectionstring in a settings file, outside the app, but encrypted, so the world can't use it, only your app can.
|
|
|
|
|
thank you again for the reply...i'm developing a web service which accessed the registry to get some info about some app...i want to save that info to a file or database which the other users won't be able to edit nor delete anything on it or the file itself...can you give me some options for a more secured way...thanks a bunch...
modified on Monday, April 5, 2010 1:31 AM
|
|
|
|
|
Assuming your Web Service runs in IIS, give the user account executing the web service AppPool permissions to access the database table. Do non give these permission to any other user account (excpet administrative account).
Doing so the access to the table will be possible only through your Web Service.
|
|
|
|
|
Hello!
I have a table in msSql called Products, and I have a sproc called: sp_Products_selectQuantity witch uses
1 parameter called: @productID.
sproc code is:
select productQuantity from Products where (ProductID = @productID)
Now: In my visual studio formX, i have a have a field called double_ProductQuantity...
How do my vs field gets value from sql?
help?
Dragan Gojkovic
|
|
|
|
|
I guess Google is not available from where you are at.
This is such a simple question that you could most likely stumble blindly in any forum and find the answer.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
thanks a lot! How didn't I thougth of that...
|
|
|
|
|
|
When you put it in that way: it wasn't. Thanks for the lession!
|
|
|
|
|
I am currently a student and really enjoy programming, mostly in C#!
I don't really get told much about the "real" software development world and thus I would like to know some of your experiences or advice for real world programming!!!
Thank you!
|
|
|
|
|
Read Dilbert. It's pretty accurate.
Don't blame me. I voted for Chuck Norris.
|
|
|
|
|
|
|
Ok thanks I have been reading lots of the comics, very funny!
Although I would still like peoples experiences from it as Dilbert is quite comical :P
|
|
|
|
|
What makes you think that Dilbert is comical? Dilbert is, for the most part, too true for comfort. Over my 15 years of development experience, I have seen/heard/suffered many things that go beyond where Dilbert has dared go, particularly with regard to office politics.
"A bad system will defeat a good person every time" - W. Edwards Deming
|
|
|
|
|
+1 for Dilbert
"A bad system will defeat a good person every time" - W. Edwards Deming
|
|
|
|
|
thebuzzwright wrote: the "real" software development world
It can only be experienced, not explained.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Over time, you are given more and more responsibility and experience more and more absurdity. You may work for companies that promise you a C# job but then push VB6 or similarly crappy work onto you. You might also work for a startup that is interested in new technology, which could be fun. But all companies mature and many of them like to keep their legacy apps around forever without upgrading them, tacking on fixes and features over time, until it becomes a horrifying frankenstein monster that is difficult to work with. You may have bosses that impede your work by artificially limiting you (not buying a certain IDE because of cost, not letting you modify code to add exception handling to help with testing efforts, and so on). You may get requirements that don't make any sense and people asking for things when they don't know what they want. People may report bugs when what they are experiencing is actually a feature they requested a while back. Your boss may get on you for improving code when that "provides no business advantage". Management may not understand soft costs (vs hard costs) and coding defensively makes no sense to them when you can just fix things later (though when something is broken, they blame the development team, who may not have any of the original members who worked on that software). Certainly, it can be less fun than programming in school.
But, hey, it can be fun too. Just don't expect to be reading programming books at work. Any learning you might do you are expected to do in your personal free time. In school, you are constantly learning, but at work you have products to support and it can get pretty boring over time. If you really want some fun, work at a startup where you get to develop NEW software or at a large software company where you get to work on a variety of products and technologies. Avoid non-software companies that just happen to write software (e.g., to support their internal business processes)... they are not interested in your desire to learn new technologies.
As far as Dilbert... the reason it is funny is because it's so true.
|
|
|
|
|
Thanks for that reply it was what I was after, a honest insight to your experience in software development !
|
|
|
|
|
aspdotnetdev wrote: But, hey, it can be fun too. Just don't expect to be reading programming books at work. Any learning you might do you are expected to do in your personal free time. In school, you are constantly learning, but at work you have products to support and it can get pretty boring over time. If you really want some fun, work at a startup where you get to develop NEW software or at a large software company where you get to work on a variety of products and technologies. Avoid non-software companies that just happen to write software (e.g., to support their internal business processes)... they are not interested in your desire to learn new technologies.
Wow. Your job sucks. At my company, we are consistently learning and the 'company library' is constantly expanding, and available to anyone. Courses are often encouraged and financed by the company. Everything you said sounds horrible, and I work a pretty decently sized, aged company with their fair share of legacy applications, as well as a lot of new projects. Everything from VB6 to .net or WCF applications.
I'd start looking for a new job, it sounds like you suck.
|
|
|
|
|
EliottA wrote: I'd start looking for a new job, it sounds like yours sucks.
FTFY (I think).
And did I mention they pay $20K less than fair market value?
|
|
|
|