[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

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.
0
bind
Asked:
bind
1 Solution
 
GustavoValdesCommented:
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
 
rammeriCommented:
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
 
a201348Commented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
bindAuthor Commented:
what if I copy the frame files and rebuild the programme on the client machine?will that do?
0
 
a201348Commented:
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
 
bindAuthor Commented:
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
 
a201348Commented:
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
 
bindAuthor Commented:
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
 
a201348Commented:
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 to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now