836 Posted Topics

Member Avatar for Annieken

Surely the datasource should be already set? it would seem the more important question is why is it getting unset?

Member Avatar for Annieken
0
1K
Member Avatar for Duki

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..

Member Avatar for LizR
0
92
Member Avatar for KunalUppal

Sure your thread update has occured by the time your messagebox shows? Try adding a sleep in before the messagebox to be sure.

Member Avatar for LizR
0
140
Member Avatar for echilon

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

Member Avatar for LizR
0
93
Member Avatar for Duki
Member Avatar for Annieken

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

Member Avatar for LizR
0
158
Member Avatar for laxviji143

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

Member Avatar for laxviji143
0
111
Member Avatar for Elmo_loves_you
Member Avatar for LizR
0
83
Member Avatar for preetisingh

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 …

Member Avatar for LizR
0
110
Member Avatar for doel.jangkrik

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 …

Member Avatar for LizR
0
3K
Member Avatar for mark192

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

Member Avatar for RayvenHawk
0
285
Member Avatar for Poab9200

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.

Member Avatar for Poab9200
0
150
Member Avatar for Duki

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

Member Avatar for cVz
0
241
Member Avatar for sancti
Member Avatar for sancti

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?

Member Avatar for vckicks
0
84
Member Avatar for ash-always-win

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?

Member Avatar for selvaganapathy
0
101
Member Avatar for toadzky
Member Avatar for LizR
0
80
Member Avatar for Annieken
Member Avatar for sancti
Member Avatar for reaven

Make sure you put the full path to the batch file. You may also need to call it as command /c setstation.cmd

Member Avatar for reaven
0
194
Member Avatar for jainendra.shah
Member Avatar for LizR
0
135
Member Avatar for Elmo_loves_you

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 …

Member Avatar for Elmo_loves_you
0
205
Member Avatar for rapture

Um, first thing that comes to my mind is that you define SOID as List<String> but.. you then refer to SOIDs... whats SOIDs ?

Member Avatar for rapture
0
137
Member Avatar for RaooF

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..

Member Avatar for RaooF
0
130
Member Avatar for mark192

SendKeys sends to the active application so, if the app you want to send to is focused it should be sending to it.

Member Avatar for mark192
0
130
Member Avatar for jynx_o7
Member Avatar for LizR
0
60
Member Avatar for sanbal

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"

Member Avatar for dickersonka
0
178
Member Avatar for RaooF

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 …

Member Avatar for LizR
0
116
Member Avatar for DLDude

[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 …

Member Avatar for LizR
0
157
Member Avatar for c#loser

If you mean they type in a text box, then the Text value of the textbox is indeed a string yes

Member Avatar for c#loser
0
65
Member Avatar for inoxmum

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 …

Member Avatar for LizR
0
97
Member Avatar for shooshooo

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.

Member Avatar for LizR
0
71
Member Avatar for akshaycjoshi

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 …

Member Avatar for LizR
0
107
Member Avatar for Umair.P

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.

Member Avatar for Umair.P
0
253
Member Avatar for natpu

Go with whatever you know best, unless you're told specifically which language to use.

Member Avatar for rapture
0
266
Member Avatar for Gaurav arora

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.

Member Avatar for LizR
0
80

The End.