I've got this piece of hardware that i'm trying to get to work with my C#/.net project. It was delivered with a couple of dll files, a couple of libraries (.lib files) and a header file (and some documentation for the dll files of course).
Does anybody know how 'refrence' these, or can anyone...
I am dealing with a web-service that returns string-objects in xml-format. A bit simplified they look like this: "<error><code>514</code><description>User not found</description></error>". Are there any classes / methods in .net i can use that will translate this xml-code for me so i can just...
A ComboBox keeps disappearing on my windows form.
The first time i open the form its there, when i hide it (the form) and open it again, its gone. I guess it has something to do with the datasource it is connected to, but i dont know how to fix it.
When the form is made visible, the following...
There is a ComboBox on my Windows Form. I have two different methods that are called when the Form is made visible, depending on what action the user intends to perform. In one case, i want the ComboBox to be tied to an EventHandler, and in the other case, i dont want it to be. So how can i make...
I haven't dealt much with databases before, so this is probably an easy question, but here goes:
I am trying to insert a new row into a table in a database. The table has earlier been loaded into a DataSet (objDataSet), and the Connection has also been created (objCon) without problems.
I've...
If u use the close command i think the entire form-object shuts down. If you want to keep the object but hide the form, use Hide(). If you want to close the form u should make a new object that contains both the forms, this way you could close the first form without it making any problems for...
I've created this form, and when the form is visible and some certain keys are pressed, I want certain things to happend. But (so far) they dont...
In the constructor of the form i have this line of code:
this.KeyPress += new KeyPressEventHandler(KnappTrykket);
and i have this function...
Thanks for your help Kalisto, but I'm not sure what you mean i'm afraid.
After the window is maximized I would think the "this.Height" and "this.Width" values would change, but they dont, they stay at 300 (dont know where that number comes from). I dont want to set these values explicitly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.