Pressing "Print Screen"

MartinDawson

New member
Joined
Jul 7, 2008
Messages
1
Programming Experience
1-3
I've been tasked with a program that will collect some data and print reports -- so far so good. But it also has to print the source data in certain cases.

I start a program called QWS3270 using the calls:
VB.NET:
procQWS = New Process()
procQWS = Process.Start("C:\Program Files\QWS3270 Plus\qws3270p.exe")
so I have a handle for the process if necessary. I need to have QWS printscreen itself, just as if I had clicked on its window and pressed Print Screen. I want it to use the default printer and everything. Can this be done?

I'll also need to have Excel print the report, but as Sir Robin once said, "That's easy!" :rolleyes:
 
Back
Top