Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Salte2

    using 'old' dll files and header files (C++) in C#

    its number 2. I was hoping there was a way of doing this without having to import all the methods one by one, but looks like i'm out of luck then.
  2. Salte2

    using 'old' dll files and header files (C++) in C#

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

    Reading xml-strings

    Thank you very much, that was exactly what i needed.
  4. Salte2

    Reading xml-strings

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

    ComboBox disappearing on windows form

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

    Removing an EventHandler (ComboBox)

    Thank you very much dalchri. That is very helpful.
  7. Salte2

    Removing an EventHandler (ComboBox)

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

    show a new form

    its similar in C# frmWhatever.Show(); or frmWhatever.ShowDialog();
  9. Salte2

    Inserting data with OleDbDataAdapter

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

    Multi Form question

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

    cant find the .exe after a build in visual studio 2003

    Try "project folder/bin/debug
  12. Salte2

    Trying to get theKeyPressEventHandler to work

    Thanks a bunch sbdSolna, that did the trick!
  13. Salte2

    Trying to get theKeyPressEventHandler to work

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

    Window form size/localtion problem

    that solved my problem ecanizzo, thanks a lot! Thanks to you too Kalisto!
  15. Salte2

    Window form size/localtion problem

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

    Window form size/localtion problem

    I want to place a button in the lower right hand corner of my Windows Form, and i want my form to be maximized. How should i go about this? Currently my code looks like this: public MyForm() { this.WindowState = FormWindowState.Maximized; <initialize button 'myButton'> this.myButton.Location =...
  17. Salte2

    Basic 'setup' help needed... can't run the simplest test

    your code looks fine. Make sure you have named the file correctly (filename.aspx). Try adding some other code, like Response.Write("Some text"); within Page_Load, to see if it is executed at all. And make sure that u request the page properly. Dont open it from the file menu, but type in the...

Part and Inventory Search

Back
Top