Results 1 to 6 of 6

Thread: Has anyone here ever....

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    14
    used a VB program that uses ADO on another machine that does not have VB6 installed?

  2. #2
    Member
    Join Date
    Aug 1999
    Location
    Ohio
    Posts
    59
    Yes. I created a setup package, using the package and deployment wizard, that would install all the required files. It works fine.

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    14
    You've never had to do anything special to the bootstrap to get your ado control to register or anything else special?

  4. #4
    Addicted Member
    Join Date
    Sep 1999
    Location
    Philippines
    Posts
    196
    What exactly is your problem?

  5. #5

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    14
    I am having a problem with an ADO control. The program works fine when I install it on the same machine I built the program on. However, when I install it on any other machine strange things happen. First, when the program tries to connect to the database a message box comes up with the title "ADODC1" and a message of "Provider not found. It may not have been installed correctly." I have the option to press OK. I Press OK and the form loads but does not display the data from the MDB becuase a connection to the database was never made.

    Provider not found? Something is strange becuase it works fine on the machine that has VB6 installed but does not work on anyother machine. There is nothing special about my program. it is just a simple database view nothing more. I can't understand why I nobody else is getting this error.


    Now, this program is a program i made at home. Yesterday, I came to work, started up VB professional, added an ADO control, made sure the connection worked, tested it, and then packaged for installing. I installed it on the machine I made it on... It worked fine... I moved to cubicles down and installed it on the next PC. AND I get the same error as at home! both programs created on different machines, both programs installed on different machines. And same problem! What gives?


    [Edited by snhuskey on 09-27-2000 at 03:49 PM]

  6. #6
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    North East America
    Posts
    463

    Dependencies?

    Make sure when you create the install that you choose any dependencies and make sure all the files and ocx's needed to use ADO are in the install. you could try and register them command line. Start/Run Type regsvr32 then drag the dll or ocx into the textbox and hit OK.
    TMacPherson
    MIS Systems Engineer
    [email protected]


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