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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running appilication from CD ROM without setup

Status
Not open for further replies.

svagelis

Programmer
Joined
May 2, 2001
Messages
121
Location
GR
Objective : Running appilication from CD ROM without setup.

I developed a test application that rerieves data from an mdb file (local database) and fills a listbox. I used Package and deployment wizard to create a setup package.
I ve put all the contents of SUPPORT folder along with autorun.inf in my new CD.
i used it in a couple of pcs and it gets me an error Runtime error 3706 Provider not installed correctly

Do you know whats is missing? Can i actually run my db application directly from cd rom ?
Thanks in advance ...
 
In order for a VB applications to run it needs the vb runtime library installed on the pc and other dlls (check the references in your project. If your use other dlls (like msado) you'll also have to install these on the pc before your program can run.
This is all done by the setup program, but you can also do it manually by copying the dlls and register them using regsvr32
So in general it is not possible to run a vb program withoput installing it.
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Sunaj,

I have never done it (or even attempted to), but it was my understanding that it was POSSIBLE to override the location of all of the required (support) files, to (for example) place them in the same directory as the executable, and thus run an app from a Cd (or even a Zip or Floppy or Jazz). Again, I have no (current or previous) interest in this, but have assumed it was possible.

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Yes! It is posssible as stated by Mike to run the program if the DLLS are in the same dir. Just make sure ALL of them are there. Brad,
Hey! email me any time! Bradsvb@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top