Hi All,
I have Com DLL which I registered. I am able to see that In Project--Reference. But I don't know how to use that.It has 2 methods.
Any code will be helpful.
Thanks,
Anita
Printable View
Hi All,
I have Com DLL which I registered. I am able to see that In Project--Reference. But I don't know how to use that.It has 2 methods.
Any code will be helpful.
Thanks,
Anita
Create object this DLL or define function from this dll. Definition liked on API declaration.
Hi Tower,
Thanks for reply.
Can you give sample for creating object from dll.
Thanks,
Anita
Register DLL. If this correct you can select this dll from Reference menu in IDE.
Second way: objDll = CreateObject("Test.TestObject")
Here is how you can use your DLL.
private Sub DLLTest()
Dim TestDLL as YourDLL
'//set A new Reference to The DLL
set TestDLL = new YourDLL
'//Execute First Method
TestDLL.Method1 (Any Parameters Needed)
'//Execute Second Method
TestDLL.Method1 (Any Parameters Needed)
End Sub
Kris
Software Engineer
Phoenix,AZ