>>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.