|
-
Apr 25th, 2001, 10:41 AM
#1
Thread Starter
Evil Genius
Late Binding Newbie ...
HELP PLEASE!!!
Okay, I've just realised - I can't do late binding. I've attached a very simple sample, and would be very grateful if someone could help me please... 
Okay, I have a dll compiled - MyDll.dll, and gave it the name of C_Message. How can I call this in another project without the VB Project Menu > References / Late Binding please ? 
I've done a html sample, but just a normal vb sample would be excellent if someone could tell me where I'm going wrong :
Code:
Dim MyObj as object
Set MyObj =CreateObject("MyDll.C_Message")
Call MyObj.HelloMessage
Is what I'm using to load / call this. In the actual class / dll, the only code is :
Code:
Public sub HelloMessage()
MsgBox "Hello World !"
End Sub
Last edited by alex_read; Apr 25th, 2001 at 10:49 AM.
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
|