Click to See Complete Forum and Search --> : CreateObject for Remote Objects


dbhutt
May 3rd, 2001, 09:02 AM
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

Cimperiali
May 3rd, 2001, 09:19 AM
have a look:
http://codeguru.earthweb.com/cgi-bin/bbs/wt/showpost.pl?Board=vb&Number=49792&page=0&view=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.