Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Windows-NT administration problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00411627
Message ID:
00411640
Vues:
13
>Hallo out there
>When I´m installing HTML-help for VFP6 I must write in the windows registry (FOXHHELP.EXE /REGSERVER).
>I´m doing that from an application. It works fine with Win95-98, but... In NT the user must have administration access, otherwise it will not work. My question to you is:
>Is there any commands I can use in the application, which "traps" a user who not have the nessesary access. Then I can show a messagebox telling the user that he has no rights for doing this change.

Ther trivial way is to use a Setup Wizard generated install rather than a hand-coded install; Setup Wizard checks for proper permissions before attempting the install and reports the problem.
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