Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pullup Control Panel's Printers window
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01285872
Message ID:
01287026
Views:
24
You're welcome.
Keep in mind that delay may not be enough when computer is busy/slow.

>Thank You so much Sergey.
>Exactly what I needed.
>Works like a charm...
>
>>Try
>>
>>DECLARE Sleep IN WIN32API Long
>>
>>* Display 'Printers and Faxes'
>>ccPRINTERS = 0x4
>>loShellApp = CREATEOBJECT("Shell.Application")
>>loShellApp.Open(ccPRINTERS)
>>* Wait some time for dialog to show up
>>Sleep(1500)
>>* Change view
>>loShell = Createobject("wscript.shell")
>>loShell.AppActivate("Printers and Faxes")
>>loShell.SendKeys("%VD")
>>
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform