Results 1 to 4 of 4

Thread: CreateObject

  1. #1

    Thread Starter
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336

    CreateObject

    Is the only way to access a DLL or AXEXE that is on a remote computer through CreateObject?

    How can you set a refrence to a DLL that is on a remote computer on a network?
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  2. #2
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    This is called DCOM - Distributed COM. I believe you simply pass the target UNC of the machine when creating the object:
    Code:
    Set Obj = CreateObject("library.class", "//server/")
    or something similar. However, DCOM is a *large* subject, and I suggest you do some heavy reading before implementing it..

  3. #3

    Thread Starter
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    Umm i know how to use createobject.... you obviously misunderstood my question..
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  4. #4
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    uk
    Posts
    327
    Perhaps your signature got in the way of my actually reading your question....

    You can't reference a DLL on a remote machine. You use DCOM is you want to create objects remotely.

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