>Hello !
>
>I would like to know if it is possible to change the default printer in Windows by programming in VFP 6 ?
From Sergey Berezniker:
You can do this thru WSH
oNet = CREATEOBJECT("WScript.Network")
oNet.SetDefaultPrinter("\\Server\Print1")
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up