473,480 Members | 1,836 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Capturing Forms

Greetings all,

I have recently created a database that functions as an inventory analysis
tool for the department I work in. Recently, there has been a user
requirement to have functionality to export images of the main form (it uses
graphs and tables that are dynamically created) into Word documents to form
part of financial submission documents. The most obvious method to do this
would be to take a screenshot and paste it into Word, but I was wondering if
there was an easier, automated way of doing this. I have checked out the
use of SendKeys to print screen, but applications can't accept that, which
leaves me at a dead end.

Any suggestions, or advice you could give would be most gratefully received.

Regards, and thanks in advance of any assistance,

Andi
Nov 13 '05 #1
3 2055
Lost you on the "applications can't accept that".
Could you elaborate?

"Andi" <ca******@postmaster.co.uk> wrote in message
news:42***********************@news.dial.pipex.com ...
Greetings all,

I have recently created a database that functions as an inventory analysis
tool for the department I work in. Recently, there has been a user
requirement to have functionality to export images of the main form (it uses graphs and tables that are dynamically created) into Word documents to form part of financial submission documents. The most obvious method to do this
would be to take a screenshot and paste it into Word, but I was wondering if there was an easier, automated way of doing this. I have checked out the
use of SendKeys to print screen, but applications can't accept that, which
leaves me at a dead end.

Any suggestions, or advice you could give would be most gratefully received.
Regards, and thanks in advance of any assistance,

Andi

Nov 13 '05 #2
When using the command SendKeys "{PRTSC}" nothing happens. According to

http://msdn.microsoft.com/library/de...thsendkeys.asp

applications can't accept the Print Screen key from SendKeys.

"MacDermott" <ma********@NoSpam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Lost you on the "applications can't accept that".
Could you elaborate?

"Andi" <ca******@postmaster.co.uk> wrote in message
news:42***********************@news.dial.pipex.com ...
Greetings all,

I have recently created a database that functions as an inventory analysis tool for the department I work in. Recently, there has been a user
requirement to have functionality to export images of the main form (it uses
graphs and tables that are dynamically created) into Word documents to

form
part of financial submission documents. The most obvious method to do this would be to take a screenshot and paste it into Word, but I was wondering if
there was an easier, automated way of doing this. I have checked out

the use of SendKeys to print screen, but applications can't accept that, which leaves me at a dead end.

Any suggestions, or advice you could give would be most gratefully

received.

Regards, and thanks in advance of any assistance,

Andi


Nov 13 '05 #3
Try the code here:
http://www.devx.com/vb2themax/Tip/18341
Although it's written for VB6.0 and earlier, I think it should all work fine
in VBA (Access).

"Andi" <ca******@postmaster.co.uk> wrote in message
news:42***********************@news.dial.pipex.com ...
When using the command SendKeys "{PRTSC}" nothing happens. According to

http://msdn.microsoft.com/library/de...thsendkeys.asp
applications can't accept the Print Screen key from SendKeys.

"MacDermott" <ma********@NoSpam.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Lost you on the "applications can't accept that".
Could you elaborate?

"Andi" <ca******@postmaster.co.uk> wrote in message
news:42***********************@news.dial.pipex.com ...
Greetings all,

I have recently created a database that functions as an inventory analysis tool for the department I work in. Recently, there has been a user
requirement to have functionality to export images of the main form
(it
uses
graphs and tables that are dynamically created) into Word documents to

form
part of financial submission documents. The most obvious method to do

this would be to take a screenshot and paste it into Word, but I was wondering
if
there was an easier, automated way of doing this. I have checked out

the use of SendKeys to print screen, but applications can't accept that, which leaves me at a dead end.

Any suggestions, or advice you could give would be most gratefully

received.

Regards, and thanks in advance of any assistance,

Andi



Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1824
by: Brad Shook | last post by:
Ok here is what I a trying to do. I am trying to emulate an operator having to do repetitive tasks on a 3rd party program. Here is what I am doing so far. It works. Start Code Dim myProcess As...
7
20356
by: jerrygarciuh | last post by:
Hello, I have been playing with various Googled solutions for capturing the <Enter> key to suppress form submission. My first question is whether anyone has a script that works in all common...
33
5543
by: Joerg Schuster | last post by:
Hello, Python regular expressions must not have more than 100 capturing groups. The source code responsible for this reads as follows: # XXX: <fl> get rid of this limitation! if...
14
2508
by: Brent Burkart | last post by:
I am trying to capture the Windows Authenticated username, but I want to be able to capture the login name that exists in IIS, not Windows. In order to enter my company's intranet through the...
5
4710
by: Nick | last post by:
Hey guys, I have 2 events on a windows forms datagrid, the mouse move as well as the double click events. What's happening is that when I double click on a row in the grid, the mouse move event...
1
2952
by: sULs | last post by:
Hi all Hoping someone can help !! I am trying to catch F2 - 6 key presses in a winforms application Code as follows private void frmMain_KeyPress(object sender,...
3
18257
by: rajibnsu | last post by:
While searching for capturing video with a webcam I god the following code.It gives two errors.Says:The type or namespace name 'WebcamEventArgs' does not exit in the namespace 'WebCam_Capture' (are...
1
2910
by: - Electronic.HR - | last post by:
So, my problem is that i have to get picture from this site (the one with code on it), but I can't figure out how to do that. Picture is generated from php code, and I can't find way to save that...
1
1710
by: Brave | last post by:
I create email forms in ASP for my company, and have a question about capturing the users login information to keep them from having to enter their name on every form. I am hoping to pre-populate...
0
7054
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7057
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6756
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5357
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4495
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3008
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3000
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1310
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.