Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single App/Win 98
Message
From
21/07/2000 12:13:20
 
 
To
21/07/2000 09:46:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00395359
Message ID:
00395497
Views:
15
>Yes, in a bruttally manner. If you are sure that application is only thing which visitors may see, you can edit SISTEM.INI file in a way like this:
>
>------ Original -------
>[boot]
>oemfonts.fon=vgaoem.fon
>shell=Explorer.exe
>
>
>------ Modified -------
>
>[boot]
>oemfonts.fon=vgaoem.fon
>shell=C:\CommercialApplication\mainexe.exe
>
>
>
>In this way, when Windows starts, application will start. When application will close, Windows will close. Simple, neh?

Lots of trouble with the approach, especially the reliance on the SYSTEM.INI file. A better approach is to use Microsoft's Zero Administration Kit, available for free as a download from Microsoft's Web site. It offers considerably greater control, including the ability to limit shell privileges by user rather than making a system-wide setting as noted.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform