Link to home
Start Free TrialLog in
Avatar of kacorace
kacorace

asked on

Dll registration fails while running VB setup and deployment and manually using regsvr32 for msxml5.dll

Hi,

Why is it that a dll file will not register.  It should on the setup and deploy but fails.  I also tied manually and that fails as well.  What can be done to force one to register or find out why it won't.  Any help would be greatly appreciated.

Thanks,

Kevin
Avatar of mushu999
mushu999

Normally, when you distribute a VB project that is installed on a client computer via the Setup.exe program, it will auto-register all needed DLL files. If you are just sending your client an updated executable that has been changed to incorporate a new COM object, you will need to also send the new COM object DLL file, and have the customer do a regsvr32 COMobject.DLL on their computer.

Also, make sure that you have included a reference to that DLL file in your project within the VB IDE. I think it's View/References on the drop-down menus.
The dll probbaly has a dependency that is missing

Open Dependency Walker (Depends) from Visual Studio 6.0 tools and load the dll.  This should highlight if there is a missing dependency
ASKER CERTIFIED SOLUTION
Avatar of PaulHews
PaulHews
Flag of Canada image

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
Paul,

where did you get the msxml5.dll ?  Have I missed some discussion?
See the question title.
LOL!!! reading that would help!! I feel like right dork, d'oh