Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the Default Printer
Message
From
06/11/1998 08:05:44
 
 
To
06/11/1998 07:29:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00155143
Message ID:
00155159
Views:
18
>I have an application that will start other apps. Upon entry into the initial login app, I would like the user to select a default printer, this would then change the default printer in the printers window group. (Windows 95, using VFP 3.0) My first thought is this somehow probably involves the windows 95 registry. If so, what is the registry filename and do I use GetPrivateProfile() to read from it like I would an INI file.

Actually, the easiest way to do this is to update the WIN.INI file and force the system to repost the data in WIN.INI. there's an example of this in the FAQ here on UT.
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