General information
Category:
Windows API functions
Hi!
Currently I use the Windows Scripting Host (WSH) to let the user set any printer as the Windows Default Printer by using the following function.
Function SetWindowsDefaultPrinter(lcPrinter)
Local WshNetwork
WshNetwork = Createobject("WScript.Network")
WshNetwork.SetDefaultPrinter(lcPrinter)
Endfunc
I would like to know what the Windows API equivalent Call would be and if that API Call is the same under Win95, Win98, NT, W2k and XP the reason being that the WSH may not be installed on all PC's as many are runnig Win95.
Thanks
Sarosh
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only