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

Posted on 2003-02-20
Medium Priority
Last Modified: 2010-05-01
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.
Question by:sillycorn
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

bob_online earned 900 total points
ID: 7988232
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.
LVL 18

Expert Comment

ID: 7992146
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.

Author Comment

ID: 7994262
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. :(

Author Comment

ID: 7994274
my appology to bob_online, I think I just found out the installer! Many thanks!

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 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