PDA

Click to See Complete Forum and Search --> : Require help with deploying VB project (Portable). Class not registered error?


Danijam
Oct 18th, 2007, 09:25 AM
Hi

I am currently in the process of deploying my VB6 project, which is part of my computing A-level. The system is basically a front end .exe and a back end access data base, the idea was to deploy the exe and the database on the shared X:\ drive, which all computers in my clients office have access to. However even if I supply the 3 .OCX files 80% of the computers generate a "class not registered error". The exe still runs but the data controls are not working, were as the computers that can run, seem to be newer and obviously have the necessary files that support the standard data control in VB6. (which seems to be the control that is causing the conflicts)

I was under the impression I just need the dependencies in the same directory as the exe and that will turn the system in to a "portable" application, as that is part of the brief, the software needs to be accessible anywhere in the office, so no local installa installs

Any help on what I am supposed to be doing regarding deployment and how to go about doing in VB6 would be welcome.

Cheers

Danijam

randem
Oct 19th, 2007, 06:47 PM
This should help clear up some things Installation Problems (http://www.***********/installerproblems.html)

Danijam
Oct 21st, 2007, 03:18 AM
ok, thats quite in depth.

So if i get Inno setup and generate a dep file then find all the dependencies(like i have done with the VB one, however it still didn't work), and bung them all together in the same directory as the .exe will i have made a portable version, because i am trying to over come this problem with out installing the .exe localy as the idea is to have the .exe on a network drive.

Thanks

randem
Oct 21st, 2007, 03:23 AM
NO.... As the document stated you cannot have just your app exe for a VB app to run. It has to be installed with a proper installation package with all the dependencies. I think you should re-read that document...