Link to home
Start Free TrialLog in
Avatar of Moin
Moin

asked on

(URGENT))) VB 6 installation problem

Hi, I have developed a VB6 app. using ADO. Now I want to deploy it but the setup which I make from Package and deployment Wizard that comes with VB6 gives TOO MUCH problems. Some times it gives vbajet32.dll problem, some times MSVCRT.dll in use problem, and many more problems. I have also installed VB6 service pack.
Waiting for help....
Avatar of CraigLazar
CraigLazar

Hi Moin
Have you tried the file monitor at sysinternals.com , tool to show you which dll files an ap is using . Maybe use it to see what dlls your apps is using on your pc and then add them in manually dueing the setup wizard . I have also had allot of problems with setup wizards (leaves out dll the app needs)

Or maybe try creating your own setup shield i think a sample sits in the setup kit in your vb sub directory .
Here you actually in one of the forms list the dll's that need to be collected and placed on any target pc in order for your app to work

Hope this helps a little

Craig


Hello Moin

This sounds very much like problems I was getting when using the Setup Wizard in VB 5. If it is a similar problem, the following might work. Include the following in your user's installation instructions.

1 Shut down your PC and switch it back on.
2 Log on using an account that has ADMINISTRATOR rights to the PC.
3 Do not start any other applications
4 Run Setup.exe

It worked in my case, so good luck...
Avatar of Moin

ASKER

But there is no administrator account on Windows 95/98  machines
Avatar of Moin

ASKER

The actual problem is that after the successfull execution of set up program, when I run app. it gives error: "ACTIVEX COMPONENT CANNOT CREATE OBJECT"
I know that this is due to the improper registration of ADO objects. How can I fix it???

This sounds like a dll or ocx isn't getting registered.  
1)  Is there another error?  
2)  have you tried regsvr32 for the file in question?

Let me know when you can...

Zen
Avatar of Moin

ASKER

Yes Mr. Zen. OCXs and DLLs relating to ADO are not getting registered properly. Even I have used regsvr32 and so many other methods like FILEMON and VCB etc.. But all in vain.
Avatar of Moin

ASKER

Adjusted points to 100
I have also had a few problems here. If you have used data environments VB6 appears to depend in part on the installation of the MSDERun.dll in the Program Files\Common Files\Designer directory.

If you used DE's, Does this look OK ?
Avatar of Moin

ASKER

I haven't used Data Environments.
ASKER CERTIFIED SOLUTION
Avatar of twolff
twolff

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Moin

ASKER

Yes, this should help. In fact on temporary basis I installed MS DACs from the Visual Studio setup. This link is very useful. Thanx.