|
-
April 15th, 1999, 01:30 PM
#1
Problem registering a DLL
I have a problem registering an ActiveX DLL. I create the ActiveX DLL project, add the code that want in the class, save the project, and then choose “Make [name of project] DLL” from the file menu, and the DLL is successfully created. Then I register the DLL using regsvr32.exe [path/file name] from Start/Run on the windows desktop, also successfully. However, when I go to add to the Project/References menu choice in VB6, my project is always listed as “Project 1” instead of the name I’ve given it. How do I get it to use the name I want? Thanks.
-
April 15th, 1999, 03:17 PM
#2
Re: Problem registering a DLL
Hi
In the Project->Properties tab, you need to change the 'Project Description' field to a proper name, such as :
'My ActiveX DLL'
This is the name that will show up in the references dialog. If you need to do a CreateObject on this DLL, then you use the name as specified in the 'Project Name' Tab, eg :
'MyProject'
Set oObject = CreateObject ("MyProject.MyClass")
Regards
Chris Eastwood
CodeGuru - the website for developers
http://www.codeguru.com/vb
-
April 15th, 1999, 07:17 PM
#3
Re: Problem registering a DLL
Chris:
Thanks a lot--it worked!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|