CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Posts
    5

    CreateObject for Remote Objects

    I have two objects registered on two different machines. Each one is a simple ActiveX DLL, one has a function and one has some data. I am trying to create instances of these objects on a third machine. If I set references to the objects in VB, then everything works great using Early-Binding. However, If I try to use the CreateObject command with the server name, I can an error saying can't create object. Am I doing somthing wrong or what am I missing. We are trying to use late binding so that references don't have to be set, and I can't get it.

    Any help is greatly appreciated,
    thanx,
    Bart Hutt


  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: CreateObject for Remote Objects

    have a look:
    http://codeguru.earthweb.com/cgi-bin...collapsed&sb=5
    I think you have same matter, and you may use same solution

    Special thanks to Lothar "the Great" Haensler, Tom Archer, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured