Results 1 to 4 of 4

Thread: Path of Server to Create an Instance of a DLL on Server

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Toronto, Canada
    Posts
    7

    Question

    If one is working in an INTRANET (not internet) and the DLL i want to use in my Vb applicaiton is on a a server named "SERVER-X" then how do i code my application so that it knows where to look for the dll and create an instance ?

    Long Question I know ! I think the VB writer Sam Huggil might have the answer to this !
    Shaheryar Jamshaid Rahim Qureshi
    [email protected]
    www.thequreshi.com

  2. #2
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    I'm assumeing here, that your server is not running mts (or any other hosting environment), but does have dcom (dll surrogate) enabled if you are using a dll (dll is regsvr32'd), or the aX .exe is /regserver registered.

    Then form your client use CreateObject("LibName.ClassName",SERVER-X)


    td.


    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Toronto, Canada
    Posts
    7

    Smile Thankyou

    Originally posted by sherryq
    If one is working in an INTRANET (not internet) and the DLL i want to use in my Vb applicaiton is on a a server named "SERVER-X" then how do i code my application so that it knows where to look for the dll and create an instance ?

    Long Question I know ! I think the VB writer Sam Huggil might have the answer to this !
    Shaheryar Jamshaid Rahim Qureshi
    [email protected]
    www.thequreshi.com

  4. #4
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    np.

    Why quote yourself?



    td.
    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

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