|
Not fair. I wanted to answer this one;P. Good answer though.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
You answered like this because it seems you have no idea about the subject.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
|
|
|
|
|
Yup - that's me. I'm the ultimate expert. I know nothing about everything.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Pete O`Hanlon wrote: I know nothing about everything
Then why is it I have seen questions you did not answer ?
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/AllLanguages/General
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
I like to spread my ignorance thinly.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Is there a max value for treeNode.StateImageIndex?
I have a stateImageList with 21 images. Any image above the 15th e.g. treeNode.StateImageIndex = 15, generates an ArgumentOutOfRangeException with message:
InvalidArgument=Value of '15' is not valid for 'StateImageIndex'
A max value isn't documented as far as I see. What am I missing?
Thanks
|
|
|
|
|
|
I have an application that I want to start as soon as the user enters Windows. How can I configure this from the installation? Could anyone give me a link or some advice?
I am fighting against the Universe...
Reference-Rick Cook
|
|
|
|
|
Make it a service. Get it put into the special Startup folder. Take your pick.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Thanks. I'll go with the special folder part.
I am fighting against the Universe...
Reference-Rick Cook
|
|
|
|
|
|
In setup project -> file system Editor
add the user's startup project and add your exe their.
or visit this link
http://www.developerfusion.co.uk/forums/thread/97759/
|
|
|
|
|
There are a lot of ways.
1) Windows Service (works even if no one is logged on)
2) Startup Folder of Users/All Users
|
|
|
|
|
Using the KeyDown event, i can see if a key has been pressed while the form is in focus, but how do i check what key was pressed?
Thanks in advance
|
|
|
|
|
In general, events provide the information you need. That is what makes them useful.
Have you noticed the two arguments your KeyDown handler is getting ?
There even is some documentation explaining KeyEventArgs if you would care to read it.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/AllLanguages/General
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
In the end i figured out i could do this...
if (e.KeyCode == Keys.K)<br />
{ MessageBox.Show("Key was k"); }
Is that a poor way of doing it?
Also, perhaps you could explain the mystery e, ive used it in GDI+ too, but dont know what it is
|
|
|
|
|
Just after posting that, i looked and it hit me, that was a dumb question =)
thanks for the help ^^
|
|
|
|
|
You're welcome.
You may want to right-click on something and select "Go to definition", chances are
Visual Studio helps you in understanding what it is then (it does not work all the time).
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/AllLanguages/General
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
By examining the keyeventargs parameter
|
|
|
|
|
Hi there .
I already plained this subject in this forum but , I don't get any answer , any answer even one .
I have a class in Model layer that I named it as employee.cs . now my collection base's is generic collection , here I have a big problem . I don't know how can I bind that collection to crystal report and make it ready to work .
My Collection is something like following code :
List<Employee> employeeList = new List<Employee>();
if anybody know any solution , please explain for me .
Thank you very much .
DMASTER
|
|
|
|
|
Developer611 wrote: I don't know how can I bind that collection to crystal report and make it ready to work
Does this qualify for an emergency?
|
|
|
|
|
Posting the same question multiple times in a couple of days isn't likely to make anybody want to answer your questions any faster; in fact it is likely to do the opposite.
You have to realise that the boards are populated by volunteers who give their time and experience freely. As a result, they will answer questions as and when they can. It is considered rude to pester the boards like this.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
OK man I know the all professionals always help us in forums like this and i say thanks to all of them.
Pete O`Hanlon wrote:
You have to realise that the boards are populated by volunteers who give their time and experience freely. As a result, they will answer questions as and when they can. It is considered rude to pester the boards like this.
BUT If the time is important for you , you shouldn't waste your time by answering like this!
You answered like this because it seems you have no idea about the subject. so...
For developers:
Yes i know this question need a bit more time to answer , but i really need it!
and i tried many ways but i don't get any desired results.
Thanks just for any help.
DMASTER
|
|
|
|
|
Developer611 wrote: BUT If the time is important for you , you shouldn't waste your time by answering like this!
You answered like this because it seems you have no idea about the subject. so...
Way Too Harsh. I would recommend that you first read the forum guidelines in being polite to people helping you.
|
|
|
|
|
Developer611 wrote: You answered like this because it seems you have no idea about the subject
Not the best way to get help, and certainly not when it was aimed at the person you you aimed it at. Check his profile / his message count / his help in this and other forums.
Good luck in the future 611. I for one won't even read your posts from now on. You might need to change that to Developer911 as you're gonna need all the help you can get - but not from me.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
|
|
|
|