Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with CREATEOBJECTEX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00316317
Message ID:
00316413
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform