Quote:
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.