David Mack
Registered User.
- Local time
- Today, 01:09
- Joined
- Jan 4, 2000
- Messages
- 53
I have exhausted my resources on this issue:
In an error handling routine I capture the user's entire screen by having a message box appear instructing them to press the "Print Screen" button on their keyboard. I then invoke the clipboard via code and write the bitmap immage to table as an OLE object. The error code also asks the user to explain what events occurred prior to receiving the error. The user input data along with the db object recieving the error and the error code are also written to the error table.
I would like to eliminate the need to press the "Print Screen" button. I investigated the vbKeyPrint contant <0x2A>. Is there any way to invoke "Print Screen" from my error handling routine? I thought I was on the right track with the contants. I have no idea what the API call for "Print Screen" is if the vbKeyPrint contant is not usable.
I also tried using a SENDKEYS "{PRTSC}" but I think it only looks at the active window.
Also, I had recently posted a question on how to copy an object such as the above mentioned imbedded OLE object from the table to somewhere on the hard drive of a centrally located system.
Thank you,
Dave Mack
Saratoga, NY
[This message has been edited by David Mack (edited 08-23-2000).]
In an error handling routine I capture the user's entire screen by having a message box appear instructing them to press the "Print Screen" button on their keyboard. I then invoke the clipboard via code and write the bitmap immage to table as an OLE object. The error code also asks the user to explain what events occurred prior to receiving the error. The user input data along with the db object recieving the error and the error code are also written to the error table.
I would like to eliminate the need to press the "Print Screen" button. I investigated the vbKeyPrint contant <0x2A>. Is there any way to invoke "Print Screen" from my error handling routine? I thought I was on the right track with the contants. I have no idea what the API call for "Print Screen" is if the vbKeyPrint contant is not usable.
I also tried using a SENDKEYS "{PRTSC}" but I think it only looks at the active window.
Also, I had recently posted a question on how to copy an object such as the above mentioned imbedded OLE object from the table to somewhere on the hard drive of a centrally located system.
Thank you,
Dave Mack
Saratoga, NY
[This message has been edited by David Mack (edited 08-23-2000).]