Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why we can not read this registry entry?
Message
 
 
À
05/03/2003 10:23:07
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00761332
Message ID:
00761501
Vues:
29
>>Hi everybody,
>>
>>Dim objWSHShell
>>Set objWSHShell = Server.CreateObject("WScript.Shell")
>>ReadComputerName = objWSHShell.RegRead ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName")
>>
>>Thanks in advance.
>
>Through ASP on the server? Because the authenticated user does not have permissions?
>
>I haven't tried instantiating the WScript.Shell, but you may need to fiddle with the permissions for the web site/virtual directory.

Could you please elaborate more? Did you try to run it from ASP on your computer? Or from VB?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform