• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

(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....
0
Moin
Asked:
Moin
1 Solution
 
CraigLazarCommented:
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


0
 
caraf_gCommented:
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...
0
 
MoinAuthor Commented:
But there is no administrator account on Windows 95/98  machines
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
MoinAuthor Commented:
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???

0
 
ZenMasterCommented:
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
0
 
MoinAuthor Commented:
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.
0
 
MoinAuthor Commented:
Adjusted points to 100
0
 
LudolfCommented:
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 ?
0
 
MoinAuthor Commented:
I haven't used Data Environments.
0
 
twolffCommented:
I have had a similar problem with VB5. To fix the situation without a lot of heartache, I downloaded the Typical install of MDAC 2.0 from Microsoft. You can find it on the download page at http://www.microsoft.com/data/download2.htm. Hope this helps.
0
 
MoinAuthor Commented:
Yes, this should help. In fact on temporary basis I installed MS DACs from the Visual Studio setup. This link is very useful. Thanx.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now