borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincani

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Previous Topic (TIF and images in memory.)Next Topic (2d interior design) New Topic Post Reply
AndreaVB OnLine : VB General : DLL Problem
Poster Resource
magikandrea
Level: Big Cheese

Registered: 08-10-2002
Posts: 21
icon DLL Problem

Hi, I'm writing a VB6 program. It must use a DLL file.
When I try to register the DLL I receive the following error:
regsvr32 C:\Mydll.dll
ERROR: Unable to find the specified module.

I tryed to use the "Dependency Walker" tool, but everything seems to be OK.

What can I do?

Thank you very much form your help.

06-03-2006 at 10:28 AM
View Profile Send Email to User Show All Posts | Add Comment
magikandrea
Level: Big Cheese

Registered: 08-10-2002
Posts: 21
icon Re: DLL Problem

I solved my problem.
I had my DLL into a folder in C:\Program Files\MyDll.dll

I moved I into a new path (the project path): C:\VBPrograms\DLL\MyDll.dll and I registered it succesfully.

It seems that the path with the blank space doesn't work.

06-03-2006 at 02:50 PM
View Profile Send Email to User Show All Posts | Add Comment
Goran
Level: Moderator


Registered: 16-05-2002
Posts: 1681
icon Re: DLL Problem

IF you put your path betwen quotes then it will work.

Ex

regsvr32 "path to dll file"


____________________________
If you find the answer helpful, please mark this topic as solved.

06-03-2006 at 03:01 PM
View Profile Send Email to User Show All Posts | Add Comment
AndreaVB OnLine : VB General : DLL Problem
Previous Topic (TIF and images in memory.)Next Topic (2d interior design)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder