Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moniker cannot open file
Message
 
 
À
12/06/2009 10:46:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01405493
Message ID:
01405514
Vues:
49
Sounds like you login doesn't have sufficient rights.

>loWMI = loLocator.ConnectServer()
>Getting an error:
>SWBemLocator: Access is denied.
>
>>Try this way
>>
>>loLocator 	= CREATEOBJECT('WBEMScripting.SWBEMLocator')
>>loWMI		= loLocator.ConnectServer() 
>>...
>>
>>>All of a sudden I am getting an error:
>>>"Moniker cannot open file" at this line
>>>oServer = GetObject("winmgmts:\\" + "." + "\root\cimv2")
>>>
>>>I am running XP sp3.
>>>
>>>Thanks for help.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform