ataeallah
Messages postés37Date d'inscriptionmercredi 2 janvier 2002StatutMembreDernière intervention17 juin 2010
-
13 mai 2002 à 14:06
exterminatix
Messages postés10Date d'inscriptionjeudi 15 janvier 2004StatutMembreDernière intervention 4 novembre 2010
-
13 oct. 2005 à 15:55
Bonjour,
Quelqu'un à un exemple d'un programme en VB qui permet
de configurer des objets DCOM, ou une idée( a par DCOMCONFG de microsoft)
exterminatix
Messages postés10Date d'inscriptionjeudi 15 janvier 2004StatutMembreDernière intervention 4 novembre 2010 13 oct. 2005 à 15:55
J'ai le même problème, je sais comment lister tous les services de composant grace à la WMI , mais je ne peut que parcourir pas modifier. Cela apportera peut-être l'indice déterminant pour résourdre le probléme qui est de configurer les objets DCOM.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" & strComputer & "\root\cimv2")
Set colServices = objWMIService.ExecQuery ("Select * from DCOMApplicationSetting")
For each objService in colServices
aut =objService.AuthenticationLevel
cap = objService.Caption
' et ainsi de suite .....
' [ CustomSurrogate];
' string [ Description];
' boolean [ EnableAtStorageActivation];
' string [ LocalService];
' string [ RemoteServerName];
' string [ RunAsUser];
' string [ ServiceParameters];
' string [ SettingID];
' boolean [ UseSurrogate];
Next