Search results for query: *

  1. R

    combobox hades!

    Thanks Thanks for the help, that solved my problem. I would still like to write a custom control but I ran into some problems with getting it to load correctly. If you have any thoughts on this I would appreciate it. I wanted to build a customer combobox that is automatically populated with a...
  2. R

    combobox hades!

    Is there an alternative? Thanks for the response. Maybe I'm trying to use the wrong component. Is there a simple dropdown similar to ASP.net that I can accomplish this with? If there is I certainly haven't found it. P.S. -- I had tried the binding to a table method but that didn't allow me to...
  3. R

    combobox hades!

    I'm sure I'm making this more difficult than it is but I'm stumped. I want to populate a combobox with two items from a database table. The table has a name and an associated id. I want to display the name in the combobox dropdown and then use the associated id in the code. I've tried everyway I...
  4. R

    Old DLL access from .Net

    You are correct Luckily I found an example of how to use the dll after I made my post. You are exactly correct. The example used "decalre" statements to delacre the available functions. I also found a newer version of the dll that is VB.net compatible for which I can just add a reference. That...
  5. R

    Old DLL access from .Net

    I have a vendor provided dll that I need to use in a VB.net appliction. I have had no succes in gaining access to the dll. When I try to add a reference to it I get this message: A reference to c:\program files\xxxxx.dll could not be added. Please make sure the file is accessible and that it is...
  6. R

    Network programming

    No work... I tried your example with no luck. I can enter my https request into IE and it works fine but when I put it in this example code, I get nothing back in the XML document. It still has no value(NULL). Any other suggestions? I would also appreciate any reccomendations for good books...
  7. R

    Network programming

    I need to write a small vb.net application that will send a request to a https web server and receive a XML string back. The request will look roughly like this: https://www.webserver.com/dir1/dir2/filename.php?param1=text&param2=text&param3=text The string that it gets back will be XML. It...
  8. R

    Adding Command Parameters

    Got it working Thanks for all the feedback. I certainly have a better understanding of how it works now.
  9. R

    Adding Command Parameters

    The Loop! The reason for the loop was that I was moving data from an array into the database. I didn't realize that I was trying to re-define the parameter name by doing that. I fixed it by doing what you said. In researching this problem I learned that I can instantiate a SQLParameters...
  10. R

    Adding Command Parameters

    Figured it out! It was because I had the cmd.parameter.add statements inside a For loop. I am moving the contents of an array to a DB, so I put it in a loop to step through the array. The problem is that you can't redefine the parameter again until you clear them, so all I had to do is add this...
  11. R

    Adding Command Parameters

    I'm trying to learn how to use command parameters to do my SQL commands and seemed to have hit an impasse. I created the following code: cmd.CommandText = "Insert into PINS (PIN, ControlNumber, BatchID, Consumed) values (@PIN, @Control, @ID, @Consumed)" cmd.Parameters.Add("@PIN"...
  12. R

    Early binding problem

    I'm a relatively new VB.net programmer so I hope there is not an obvious answer to my problem that I am missing. I created an Arraylist that contains instances of a structure. I want to use one data item from an instance of the structure to call a function. The return value from the function...
Back
Top