Solved

Do you need MSRD2X35.DLL and MSREPL35.DLL?

Posted on 2000-05-07
6
273 Views
Last Modified: 2012-06-27
I have a VB6 project that references DAO 3.51 to access a small Access 97 MDB. The project does neither access (import/export) other data formats nor uses database replaction. But the VB6 PWD would still include MSRD2X35.DLL and MSREPL35.DLL in the distribution package.


My question is:
Are these two files required to be included in the package?
0
Comment
Question by:NinaKim
  • 2
  • 2
  • 2
6 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 2788242
Have you cleaned your components and references of all that it is not used by your application?

These 2 dll are included as soon as you use DAO 3.51 (as you do). I don't know if you can remove them but my tip is do not fool with it. It can cause problem later!
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2788259
MDAC is a seperate concept from VB.. as such.. I would include the files to maintain MDAC integrity on the client machine.

Despite that, I ran a where used on the two aforementioned DLLs and pretty much they are standalones (not dependent files) used for Import/Export and Replication as the questioner suggests. Together they amass 700kb of code, so I can see the questioner's dilemna. In that regard, you may want to give it a try.

How is that for a wishy washy answer?.. LOL
0
 

Author Comment

by:NinaKim
ID: 2788737
Thanks for the comments.

emoreau,
Yes, I made sure that no references were given to any related objects. Also, no components (for these) were added.

wsh2,
That's right. I even run the application on a clean m/c (without these two DLLs) without encountering any problems. But as you pinpointed, the size of those two files are fairly large that I don't really want to include in distribution whenever possible. And I wanted be 100% sure before I attempt to do that.

Are there any other comments out there?
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 70

Accepted Solution

by:
Éric Moreau earned 10 total points
ID: 2788816
You can have this problem depending of what your code is using: http://support.microsoft.com/support/kb/articles/q192/9/34.asp?LN=EN-US&SD=gn&FR=0
0
 
LVL 14

Expert Comment

by:wsh2
ID: 2788860
Just read emoreau's link.. Welp that kinda solves that.

Seems to me, it is best to include the files.. <groan>. NinaKim, I just hope you are NOT deploying by diskette.. LOL
0
 

Author Comment

by:NinaKim
ID: 2792868
I had already reviewed the KB article and other relevant articles but couldn't find a clue to whether these two files MUST be included in a particular VB6 project. And as far as I know, other DAO/Jet files do not depend on these two files.

As the system registry goes, MSRD2X35.DLL (Registered) has only one entry in the section:
HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\JET\3.5\ENGINES\JET 2.X
MSREPL35.DLL (Not Registered) has none.

Anyway, thanks for the comments. I will award the points.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now