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 Mike Lewis 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. ShawnCoutts

    How to determine difference between 2 times

    Just so that everyone knows, i am not using Cbuilder for this. My IDE does not have date/timediff functionality. I am having some difficulty determining how to get the difference between 2 times. The times are stored as hex values. When I treat the times normally, as integers, and convert...
  2. ShawnCoutts

    How to access an SQL 2005 DB in VB.Net

    what I actually was using was the oledbConnection and the oledbDataAdapter and yes i was using the drag and drop components. I did manage to solve my problem. The oledbDataAdapter doesnt really like paramaters in its queries, so once i took out the paramaters and directly accessed the data i...
  3. ShawnCoutts

    How to access an SQL 2005 DB in VB.Net

    I am a relatively new user to VB.NET, but have worked extensively in VB 6. In my program, using the server explorer, I have created an sqlconnection object and a data adapter for each table in my database. The problem I am having comes when I try to use an insert command to insert a new record...
  4. ShawnCoutts

    Having an issue with the load statement

    thanks, that was what I was originally doing. It seems to work so Ill stick with it. Thanks again
  5. ShawnCoutts

    Having an issue with the load statement

    I have an application that uses several forms during the course of running. When I try to manually load any of these forms visual basic gives me the error: "Invalid Use of Property" the code for loading looks like this: Load KeyForm Load FileForm Load ListForm from everything that I have...
  6. ShawnCoutts

    Using The package and deployment wizard

    that could work, or some variation of it. Thanks for the idea.
  7. ShawnCoutts

    Using The package and deployment wizard

    Im not entirely sure if this is the right spot for this question or not, but I guess Im going to ask it anyhow. In the packaging wizard, when it gets to the point where you can determine where additional files are installed, it gives me a number of macros that I can use to determine what...
  8. ShawnCoutts

    How can I extract data from AdoRecset?

    thanks for all your ideas guys. I came across one of my own as well while trying to figure this one out. Do While (Not adoRec.EOF) If (Len(adoRec!unit_number) > 0) Then ListForm.List.AddItem (adoRec!unit_number) End If adoRec.MoveNext Loop by...
  9. ShawnCoutts

    How can I extract data from AdoRecset?

    Thanks, for that. WOrks great!
  10. ShawnCoutts

    How can I extract data from AdoRecset?

    I have a program where I need to connect to a data base and pull a number of records out based on a certain criteria. I have managed to successfully connect to, and open the database, and return the required data into my recordset. This is where I begin to have problems. How can I extract the...
  11. ShawnCoutts

    ado dll entry point error

    I actually realized that the personal edition doesnt include any of the components that I need... grr... so i tried using visual studio, but realized that ADO is kind of complicated there, so i ported the code into VB6 and have pretty much got it figured. Thanks though
  12. ShawnCoutts

    ado dll entry point error

    Is there some other way I can access my DB if i dont use ADO? BTW, i am using BCB6 personal w/ update 4
  13. ShawnCoutts

    ado dll entry point error

    I am using BCB6 and I have installed the MSADO component (6.0) into the package dclusr, compiled it, and installed it. Everything was fine when i placed the TAdodc component on my form, and everything compiled fine. As soon as I went to run my program, i recieved the error: "The procedure...
  14. ShawnCoutts

    getting error on file read

    I managed to solve my problems. I changed the way that my code worked. Instead of having the function do all the reads in one call, the function call is setup in a while loop, and i just use fseek to set the file pointer to the correct location. Thanks for all of your help. I was having some...
  15. ShawnCoutts

    getting error on file read

    each record is 160 characters in length. i was unaware that fgets actually did infact need space to put the null byte. It doesnt make any difference anyway, as the last 6 characters or so are never used. And yes all records are stored on the same line. and the extra % that was hidden in there...
  16. ShawnCoutts

    getting error on file read

    I am using the fgets() function to read from a file. I am fairly sure that this file is all stored on one line, but when I open it in notepad, its broken into several. Anyways my problem is that on the second read from the file i am recieving this error: "Access violation at address 7C901095...
  17. ShawnCoutts

    difficulty declaring a vector<structs>

    just to let you know, I managed to solve the problem. It wanted a namespace. So once I added namespace std everything worked fine. Thank you
  18. ShawnCoutts

    difficulty declaring a vector<structs>

    I am trying to declare a vector of structs. i have a header file that has definitions of all my structs and a typedef associated with them. for some reason this does not work: vector<HEADER> h; where HEADER is equal to: typedef struct header{ char record_type[2]; char...
  19. ShawnCoutts

    having problems importing activeX

    thanks, I suspected as much as I spent many hours trying to fix that yesterday
  20. ShawnCoutts

    having problems importing activeX

    I am using turbo C++ explorer vs 10, and am unable to figure out how to import activeX controls. I need to be able to use the MSComm object, but my ide won't read .ocx files. The file im trying to import is "MSCOMM32.ocx" including the file doesn't work either. Is there a way to include...

Part and Inventory Search

Back
Top