|
-
June 21st, 2001, 06:11 PM
#1
COM DLL
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
-
June 21st, 2001, 06:37 PM
#2
Re: COM DLL
Create object this DLL or define function from this dll. Definition liked on API declaration.
Andy Tower
-
June 22nd, 2001, 12:32 PM
#3
Re: COM DLL
Hi Tower,
Thanks for reply.
Can you give sample for creating object from dll.
Thanks,
Anita
-
June 24th, 2001, 06:56 PM
#4
Re: COM DLL
Register DLL. If this correct you can select this dll from Reference menu in IDE.
Second way: objDll = CreateObject("Test.TestObject")
Andy Tower
-
June 27th, 2001, 11:03 PM
#5
Re: COM DLL
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
Kris
Software Engineer
Phoenix, AZ USA
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
|