• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

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.
  • 2
1 Solution
Try downloading the Microsoft Visual Installer from their web site.  It is free if you're a licensed user of VB or most of their other development products.  It does not produce the errors PDW does.
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.
sillycornAuthor Commented:
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. :(
sillycornAuthor Commented:
my appology to bob_online, I think I just found out the installer! Many thanks!

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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