Click to See Complete Forum and Search --> : COM DLL
anita_vs
June 21st, 2001, 06:11 PM
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
Tower
June 21st, 2001, 06:37 PM
Create object this DLL or define function from this dll. Definition liked on API declaration.
anita_vs
June 22nd, 2001, 12:32 PM
Hi Tower,
Thanks for reply.
Can you give sample for creating object from dll.
Thanks,
Anita
Tower
June 24th, 2001, 06:56 PM
Register DLL. If this correct you can select this dll from Reference menu in IDE.
Second way: objDll = CreateObject("Test.TestObject")
softweng
June 27th, 2001, 11:03 PM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.