Solved

setup wizard problem?

Posted on 2000-02-21
9
235 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
what if I copy the frame files and rebuild the programme on the client machine?will that do?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Expert Comment

by:a201348
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now