Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Windows Printer
Message
From
21/07/2000 14:51:24
 
 
To
21/07/2000 14:45:03
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00395364
Message ID:
00395630
Views:
16
>>If you have the option of installing Windows Scripting Host version 2.0 or later, the Wscript.Network COM object can alter the default printer setting programmatically, and it can be instanced from VFP. Unlike the assignment of printer output using SET PRINTER, it's visiable to the full Windows environment.
>
>What I need to include to my install program for using Windows Scripting Host feature? What the DLL or OCX?

It's a bunch of them; you can download the self-installing distribution executable from the Microsoft scripting site in my signature block. This will install the current WSH components on just about any system with Win95 and the Y2K patches, WinNT SP3 or later, Win98 or Win2K (which already has WSH 2.0 on it.) Win95 retail and WinNT that have not been patched to correct the initial releases will not support the WSH without bringing the target system (reasonably) up-to-date.
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