Solved

setup wizard problem?

Posted on 2000-02-21
9
239 Views
Last Modified: 2010-07-27
I am nowally done with a programme concerning vb and database,but after that,I try to make a setup file to soft disk,when the system informed me of the file "dbgrdchs.dll" lost.As for I could not find it,I neglected that,but the setup file could not work after setup.Whenever I run the setuped programme in another computer,it said that files "vbajet.dll or vajet32.dll initialise error",and the programme cannot work.Otherwise it says that not finding files "dbgrid32.ocx","crystal32.ocx" and "dao2532.tlb" not find.The programme works well in my computer,and the computer I want to setup installed the same vb version with me.What the hell is up?Could anyone tell me?Thanks.
0
Comment
Question by:bind
9 Comments
 
LVL 1

Expert Comment

by:GustavoValdes
ID: 2544337
It seems to many problems for just a single project.

Firstable, verify that this files are in the system folder (who knows, maybe anyone could have deleted them), it they are there I recommend you to reinstall VB and the apply the latest service pack.
0
 
LVL 1

Expert Comment

by:rammeri
ID: 2545434
hmmm .. probably you should install MS Data Access Components (MDAC) on your client-machine.

You can download it at http://www.microsoft.com/data (I think)

0
 
LVL 1

Accepted Solution

by:
a201348 earned 50 total points
ID: 2546938
When you install a Vb EXE program, the VB Run time files have to be installed as well in which the setup program(created by the Package & Deployment Wizard)  will take care of that. Something you did already.
For data access, the MS Data Access Components (MDAC) , I will suggest you to install it on the machine separately. Then you don't need to include Data Access component when u run the P & D wizard. Plus, VB originally came out with a bad distribution file for the MDAC. I think it was fixed thru. service pack. But anyway, I suggest you install MDAC separately.
Moreover, you have to find the missing file dbgrdchs.dll if your VB program requires this file.
One more thing, make sure your MDAC have the same version on the machine.
So what are the steps:
1. Create the setup program with P & D wizard. Include all the run time files that you need besides the VB run time.
Do not include the MDAC stuff.
2. On the client machine, install MDAC, then run the setup program. Make sure you install the same version of MDAC   on the client machine.
0
 

Author Comment

by:bind
ID: 2548491
what if I copy the frame files and rebuild the programme on the client machine?will that do?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:a201348
ID: 2548641
If you have VB, MDAC, and other files like DLLs or OCXs that you use for the program, it will. But that involves installing VB on the client machine. If you want to get familiar with the P&D Wizard, you can just create a simple VB app.(like a form with a button) and create a setup program to install on the client machine. Just to have a feel what it is like.
0
 

Author Comment

by:bind
ID: 2550051
I have already used the P&D tools,but where can I find those dll and ocx files which have been missing?Help me pls.
0
 
LVL 1

Expert Comment

by:a201348
ID: 2551378
The P & D Wizard usually finds all the OCXs and DLLs that you included in the VB project. If you can run the program on your development machine, you should have that file on the machine and P & D should pick it up in the files list to be included.
0
 

Author Comment

by:bind
ID: 2553998
I can run the programme whether it is the genuine one or the setuped one on my computer.But when I make setup files,there is always the hint that need dbgrd32.ocx and another file missing and if I neglect that,the setup files maynot be working correctly,which is true on the client machine,but what is strange is that it works fine on my machine.I am really bewildered.
0
 
LVL 1

Expert Comment

by:a201348
ID: 2554435
Did you search the files that P&D could not find on your dev. machine? If it runs on your dev. machine, those files have to be there. Find those files and include in the package for the setup.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 - Compare and highlight cell not the same 3 42
Modifying Conditional Format from VBA code 3 48
clicking a shape in a frame array vb6 3 39
TT Auto Dashboard 13 79
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now