Solved

setup wizard problem?

Posted on 2000-02-21
9
245 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

763 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