Solved

setup wizard problem?

Posted on 2000-02-21
9
251 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 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