Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DCOM

Status
Not open for further replies.

JRudisill

Programmer
Joined
Aug 4, 2003
Messages
54
Location
US
I have created a dcom exe on the clients machine. From the server I want to make a call via creatobjectex("Clsid",Client_PC"). From the clients machine I want it to display a form that they input data into. When I try to run the DCOM component it hangs without displaying the form. Is it possible to display a form on the clients machine? When I look at the client machine the dcom server is running in the clients task manager.

Snippet from the dcom object below. Not the entire routine
EX:
Define Class Finger_Client As Custom OlePublic
Procedure Init()
Public oClass,oFinger,lRetVal,cError

oClass = This
On Error lRetVal = .F.

If _Screen.FormCount < 1
oFinger = Createobject('FrmCapture')
If Type('oFinger') = "O"
oFinger.Visible = .T.
oFinger.Show
Read Events
lRetVal = .T.
Else
cError = "Form not Created"
lRetVal = .F.
Endif
Else
oFinger = _Screen.Forms[1]
Endif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top