?
Solved

Fail to print report....

Posted on 2000-05-11
3
Medium Priority
?
155 Views
Last Modified: 2012-05-04
I have create a setup package (by using Package & Deployment Wizard). When i try to install it at my college's computer. It give me the error messages below :

   1) Failed to load resource DLL c:
windows\system\oledb32r.dll

   2) An error occurred while registering the file c:\windows\system\oledb32.dll

I ignored all the errors and at the end my installation was successfully completed. The system was run as normal except that when i want to print report,
it show me an error "ADO could not find the specified provider".

I suspect the following ADO command in my program cause this error

adoShare.ConnectionString= "Provider=Microsoft.Jet.OLEDB.3.51;Data Source=c:\example"
.....

One more question for report printing, sometime the following error will show
"Fail to create ActiveX component"

Your answer was very much appreciated !!





0
Comment
Question by:sstang
[X]
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
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 300 total points
ID: 2800064
If your PC is running Win9x, did you execute DCOM98.EXE?

Is MDAC_TYP.EXE part of your setup?

Change your connection string to use Microsoft.Jet.OLEDB.4.0;
0
 

Expert Comment

by:sergedornseiffer
ID: 2800571
I does not answer your question but I had similar problems, i finally gave it up and am now using the Visual Studio Installer that you get for free from the Microsoft Site. It's much better than the Paxkage & Deployement wizard which is very buggy. If you are interest I can organize you the address of a site that is full with the list of bugs of the deployment wizard. Nad I believe there is a reason that MS is distributin the Visual Studio Installer for free.
0
 

Author Comment

by:sstang
ID: 2803512

i can print out the report after add in the MDAC_TYP.EXE.

Thank you !


0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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