Link to home
Start Free TrialLog in
Avatar of sillycorn
sillycorn

asked on

which files are needed (*.ocx, *.dll, etc) when i distribute my program to the client's computer?

Howdie VB Experts!
I really get frustrated when I distribute my database program to another computer (OS will vary, win2k, winxp & win98 are the most).

As FYI, mostly I used datagrid & adodc almost in all forms, data connection is RDO (using DSN), connected to sql server/msde.

For several reason, I can't used the redistribution package tool from microsoft as it produce error when the last file is copied to the client pc. The error is something like this: "can't register ...".

I'm using all standard control, MDAC 2.7, and also VB SP5. Just give me reasonable & 'can-be-done' answer/suggestion & I simply add the point to you.
ASKER CERTIFIED SOLUTION
Avatar of bob_online
bob_online

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
sillycorn, you will have to follow some steps to ease yourself from these problem:

1. Use Package and deployment wizard but install Visual Studio Service Pack 5 on your machine before using PWD else you will get the error you mentioned. After you have installed SP5 the surprise errors would stop. If they dont they see the following:

2. In PWD refer all the DLL's that are being used in your application. Dont include msvcrt.dll in PWD becuase in some machine this may lead to error. The DLL is there in every windows machine.

3. Download MDAC version 2.7 refresh from the following link: http://www.microsoft.com/data/ and install the same on every client machine.
Avatar of sillycorn
sillycorn

ASKER

bob_online, what is the URL if I may ask?

sethi, I dont think msvcrt.dll is belong to vb's dll, think it's VC++'s dll, and I didnt find it on the .cab files either.
install new MDAC also dont resolve my problem. :(
my appology to bob_online, I think I just found out the installer! Many thanks!