When you do the demo it asks if it is registered? I forget exactly what happened, but:
For DCOM to work you need to know where the exe you want run, and not have it local. So you did have the exe registerd on your machine.
Did you do a
\foxserver /regserver ? If so you registered it. That path will give the machine name to your registry. Only IP is used to communicate between the machines too.
__Stephen
>Why does the exe need to be registered on the workstation as well? This means I have to have a copy of my exe on every desktop, along with mt GUI exe, and have it on the server?
>
>On the VFPCOM demo from Microsoft, I don't have foxserver.exe registered on my machine and the demo works OK.
>
>> ?
>
>
>>>I am trying to get a reindex procedure running. The exe is named reindex1. It is registered on the server and my workstation.
>>>
>>>I have a form on a workstation with this in the click event:
>>>Thisform.oreindexServer=CREATEOBJECTEX('reindex1.exe','\\Clubserver')
>>Steve... you want to do... Server.Class, Machine...
>>ThisForm.oReIndexServer = createobjextex('Reindex1.Indexer','ClubServer')
>>For this to work, ReIndex1 would have to be registered on the local machine and the ClubServer machine.
>>>When I look at the VFPCOM example the EXE that is run has details on the sever page of the project. I cannot seem to get this to function for me.