Results 1 to 4 of 4

Thread: dll dynamically

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2002
    Posts
    53

    dll dynamically

    I have a dll with some objects. How can I do to load, first my external .dll, and then its objects from un .exe project?

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Dim myobj as Object

    Set myobj = CreateObject("dllprojectname.classname")
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Lively Member
    Join Date
    Dec 2002
    Location
    Under the Boardwalk
    Posts
    79
    I am not really sure on this but you could try it ...

    load it as a reference and use its commands or whatever

    ex.. Msn Messenger

    --------------------------------
    VB Code:
    1. Public WithEvents MSN As MsgrObject ' delcaring as object
    2. Dim scroll_name As String
    3.  
    4. Private Sub Command1_Click()
    5. scroll_name = Text1.Text
    6. If MSN.LocalState = MSTATE_OFFLINE  Then Exit Sub
    7.     MSN.Services.PrimaryService.FriendlyName = scroll_name ' using its commands
    8. End Sub
    9.  
    10.  
    11. Private Sub Form_Load()
    12.     Set MSN = New MsgrObject
    13. End Sub
    ----------------------------------------
    -=]{ i ( ( er =-

  4. #4

    Thread Starter
    Member
    Join Date
    Aug 2002
    Posts
    53
    Originally posted by Cander
    Dim myobj as Object

    Set myobj = CreateObject("dllprojectname.classname")
    Ah! OK. Thanks....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width