|
-
Jan 22nd, 2003, 10:05 AM
#1
Thread Starter
New Member
-
Jan 22nd, 2003, 05:40 PM
#2
Frenzied Member
When you start new project in VB, select ActiveX dll, then write your methods and properties in the dll you want to perform. You can save your dll from the File menu.
After saving it, register your dll.
C:\>regsvr32 abc.dll
When the dll is being registered, you can find it in the references in the project menu.
In your program where your want to call the dll, add it from the references, create an instance of the class.
Now properties and methods of your dll are ready to use.
-
Jan 22nd, 2003, 05:48 PM
#3
Originally posted by usamaalam
When you start new project in VB, select ActiveX dll, then write your methods and properties in the dll you want to perform. You can save your dll from the File menu.
After saving it, register your dll.
C:\>regsvr32 abc.dll
When the dll is being registered, you can find it in the references in the project menu.
In your program where your want to call the dll, add it from the references, create an instance of the class.
Now properties and methods of your dll are ready to use.
It's simpler than that. As soonas you compile the DLL (which you have to do anyways to make it usefull) VB will register it for you.
Hint: Right click on the Project's node in the Explorer in vB, and select the "Your Project Name" Properties. Change the PRoject description as this is what will show up in the References dialog... makes it easier to find it.
-
Jan 23rd, 2003, 04:09 AM
#4
Thread Starter
New Member
Wanna thank everybody for the quick response, will let you know what I did, but that will probebly not be this week, have to learn for (adult-) school this week...
thx again, all of ya...
If you wanna do it, do it good, that's what I try to do... :-)
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
|