Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with CREATEOBJECTEX
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00316317
Message ID:
00316413
Views:
17
>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')
>
>When run the error comes back:
>
>OLE Error, invalid class string. There is a memory address in there to but..
>
>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.
>
>Any ideas out there?
>

Stephen, you need to pass either the CLSID or ProgID, not a file name, to identify the server.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform