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

VB Demo program on CD - Without installing!

Status
Not open for further replies.

bradair

Programmer
Jan 15, 2002
4
GB
Hi
I'm trying to create a demo CD of my VB6 application which uses DAO to link to an Access 97 database. I've loaded all the .exe, .dlls and .ocx amd .mdb files that are required in the application onto a CD. However when I run the .exe from the CD on a (virgin) PC, i.e. without VB6 installed, it doesn't work. Is there a way of tempoarily registering the .ocx files while the demo is running. I do not want to install the demo program on anyones PC, rather just run it all from the CD only.
Thanks
Brian.
 
I dont think so. #1 you need to register the msvbm60.dll (vb6 runtime) on the PC which shouldnt be a problem.

The OCX's and if you have ACTIVEX DLL's have to be registered as far as I am aware of because that is the way com/activex works.

Why dont you install the program on the machine, and then unregister and delete the program, mdb,ocx,dll's?
Gilbert M. Vanegas
Programmer Analyst III
County of San Bernardino - ISD
Email : gvanegas@isd.sbcounty.gov
 
how to call external exe file in vb ?
i want to call the exe inside the vb apllication ?
is it possible ?
 
Here's one approach. It calls up Notepad and displays Readme.txt.
'
'Display the Readme in Notepad
'
Readme = MsgBox("View Readme Now?", vbYesNo, "Readme?")
If Readme = vbYes Then
Readme = Shell(gstrWinDir + "\Notepad.exe " + gstrDestDir + "Readme.txt", 3)
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top