Results 1 to 6 of 6

Thread: Odbc

  1. #1
    chenko
    Guest
    How do I get VB installer to add an ODBC reference?

    Thanks in advanced
    Simon

  2. #2
    Addicted Member substring's Avatar
    Join Date
    Feb 2001
    Posts
    148

    Cool

    VB has OLEDB reference which is much better than ODBC. Try that. And if you don't have that reference, you might have to reinstall.

    substring.

  3. #3
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Create it in code

    You could create it in your code, e.g. when your executable runs for the first time you could run some code to install the ODBC connection.

    I have some code somewhere, I will find it if you need it.

  4. #4
    Guest

    Re: Create it in code

    Originally posted by Negative0
    You could create it in your code, e.g. when your executable runs for the first time you could run some code to install the ODBC connection.

    I have some code somewhere, I will find it if you need it.
    I thought that might be the case, If you wouldn't mind finding it out for us and either Emailing it to me or just post it. Thanks

    substring: I was talking about a database connection.

    Thanks,
    Simon

  5. #5
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Link to code

    You can download the program that I wrote at:

    http://www.Planet-Source-Code.com/vb...21335&lngWId=1

  6. #6
    Guest
    Thanks, Works well, but your code is a little hard to understand, as there is only one line needed for Access and SQL and you have like 20+lines whicc arnt really need, anyway just a suggestion

    Thanks much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width