Link to home
Start Free TrialLog in
Avatar of bind
bind

asked on

setup wizard problem?

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.
Avatar of GustavoValdes
GustavoValdes

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

ASKER CERTIFIED SOLUTION
Avatar of a201348
a201348

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bind

ASKER

what if I copy the frame files and rebuild the programme on the client machine?will that do?
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.
Avatar of bind

ASKER

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.
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.
Avatar of bind

ASKER

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