836 Posted Topics
![]() | Re: Surely the datasource should be already set? it would seem the more important question is why is it getting unset? ![]() |
Re: then you need to change how you're testing it. key down events would happen in say the order W then D, but at the D event the only key you're told went down is D.. | |
Re: Sure your thread update has occured by the time your messagebox shows? Try adding a sleep in before the messagebox to be sure. | |
Re: If theres already an onselect all you need to do then is work out what tags are already in effect. Which is usually the harder part depending on what is returned by the control | |
![]() | Re: Whatever your "graphic simulation" does, it obviously should call an "update" function and a "draw" function.. When you want it to "freeze" just stop the updates and continue drawing it at its current state |
Re: There isnt an enable/disable function for tab pages. Only practical way is to use the onchange event and put back the focus where it came from | |
Re: It has a different audience than VS 2008, in that it targets java apps not .net apps | |
Re: Wow, long post :) OK This is the code creating the strings to populate your next form. [code]string FileId=(GridView1.DataKeys[GridView1.SelectedIndex][“FileId”].ToString()); string FileName= (GridView1.DataKeys[GridView1.SelectedIndex][“ FileName”].ToString()); string Subject=(GridView1.DataKeys[GridView1.SelectedIndex][“Subject”].ToString()); string DistrictName =(GridView1.DataKeys[GridView1.SelectedIndex][“DistrictName”].ToString());[/code] I believe the problem arises because you want the selectedValue not the selectedIndex because the index will give the text name of … | |
Re: In your "My Documents\Visual Studio xxxx\Projects" directory you'll find a directory which was the name you made when you saved it at school. Copy that directory onto your floppy/usb stick/cd etc and then place it in a similar location on your pc at home (eg if you had visual studio … | |
Re: you either code it in by hand, or, select the event in the properties window and double click on the area where it would list the event and it makes it and links it for you | |
Re: Put backslashes in front of any character and it will be treated as a litteral, so \" will be a ", but it wont do anything odd with it. | |
Re: The mousemove event has 2 parameters (object sender, MouseEventArgs e) e.X and e.Y return the mouses location over the item for which that event fired, eg, if you do it over a picture box it tells you where within the picturebox you are.. This should help | |
| |
Re: Print screen is usually taken by windows, and a picture put in the clipboard, you could test the clipboard for a picture and save it? | |
Re: I dont understand the way you've said "navigate for another form" do you mean show a new form? or do you mean make changes to a form? | |
![]() | |
| |
Re: Make sure you put the full path to the batch file. You may also need to call it as command /c setstation.cmd | |
Re: Please show the code you have for the drag/drop routines | |
Re: If your listbox holds the string of the name then you would need a dictionary to pull out the relevant item against that name, or, if you create an object whos "tostring" returns the name you could just add the whole object to the listbox, knowing it will display the … | |
Re: Um, first thing that comes to my mind is that you define SOID as List<String> but.. you then refer to SOIDs... whats SOIDs ? | |
Re: Do you just want a simple text log file, or are you talking performance counters? If you want a log file, open a stream and write to it.. | |
Re: SendKeys sends to the active application so, if the app you want to send to is focused it should be sending to it. | |
| |
Re: If the update was also an MSI it should have removed it as part of the uninstall, or if you put it in the windows/system32 area it should have come up with "probably not in use by anything else do you want to remove it" | |
Re: It would depend a little on the connection you make. If its TCP based then refuse the connection based on IP, if its UDP eg connectionless then yes, each received packet would have to be ignored or used depending on wether it fits. Network sniffing is generally frowned on as … | |
Re: [url]http://forums.msdn.microsoft.com/en-US/csharpgeneral/thread/00d6e2dd-e8a8-4720-94fc-e9b07abf2bfa/[/url] has some example code on reading from a com port with c#, to graph it you would need to keep the values, and map it across time, so you would want to use the time to work as your X axisis and perhaps scroll so as to only fit … | |
Re: If you mean they type in a text box, then the Text value of the textbox is indeed a string yes | |
Re: It may depend on what your app does, .net has a number of security parts check the properties on your project.. as well as check what the error is, if it says something about security etc and yet runs from a local drive, you need to change the properties in … | |
Re: If you use XNA and export it in the right format sure it can make you 3d objects to put in your program. I cant draw for toffee so I havent done it but I know plenty of people who have. | |
Re: yes the time is different so it wont match, if you want to match on date alone you would need to do change it so it extracts the date from the fine_date field and the date of the part in question.. I dont have access on here to check but … | |
Re: Assuming you know the full URL then theres a good set of options built in HttpWebRequest and HttpWebResponse classes, see if that helps you find the right answer. | |
Re: Go with whatever you know best, unless you're told specifically which language to use. | |
Re: Why not have an optional listbox with a lookup, on the selected criteria, if the results of the query of available flights, show the list box, and make the user select before continuing, otherwise assume the only available flight is the one they wanted. |
The End.