PDA

Click to See Complete Forum and Search --> : dcom in to different computers


purusingh1
Aug 3rd, 2004, 02:43 AM
I have dcom server installed in one computer and the client is in another.

Now it works if I do not include reference

<code>
dim obj as object
set obj=createobject(serverobject.clsid)
msgbox obj.fun()
</code?


but if I do so it does not work and gives error application_deined or object defiend error

<code>
dim obj as new serverobject.clsid
msgbox obj.fun()
</code>


what is the problem?

RobDog888
Aug 3rd, 2004, 04:49 PM
I posted to your other thread.