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 3 2070
Lost you on the "applicatio ns can't accept that".
Could you elaborate?
"Andi" <ca******@postm aster.co.uk> wrote in message
news:42******** *************** @news.dial.pipe x.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
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********@NoS pam.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. Lost you on the "applicatio ns can't accept that". Could you elaborate?
"Andi" <ca******@postm aster.co.uk> wrote in message news:42******** *************** @news.dial.pipe x.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
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******@postm aster.co.uk> wrote in message
news:42******** *************** @news.dial.pipe x.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********@NoS pam.com> wrote in message news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. Lost you on the "applicatio ns can't accept that". Could you elaborate?
"Andi" <ca******@postm aster.co.uk> wrote in message news:42******** *************** @news.dial.pipe x.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 Process = System.Diagnostics.Process.Start("C:\ca\wb.exe")
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Normal
' wait until the program is ready for input
myProcess.WaitForInputIdle(1000)
If myProcess.Responding Then
|
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
browsers? The script bellow is IE only. It fails FF 1.0 and NN 7.
Also, if I can trap the keypress I would like to use it to tab to the next
tabindex.
|
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 p.pattern.groups > 100:
raise AssertionError(
"sorry, but this version only supports 100 named groups"
|
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 internet, they have to login. I want
to be able to capture that login versus their Windows login because I need
to know who they are from any computer rather than only their computer. Any
ideas?
Thanks
|
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 gets triggered and the double click is not identified at all.
Is there any way I can invoke the double click when the mouse move also
exists?
| |
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,
System.Windows.Forms.KeyPressEventArgs e)
|
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 you missing an assembly reference?)
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace WebCam_Capture
|
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 image.
Now, my web browser control (axWebBrowser) is hidden on the form and there's
problem with capturing hidden controls.
I found only capturing visible forms, but i need to capture content of
hidden control.
|
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 the login
information into a form field. Can someone give me a general idea of
how this can be done, and what I make need to be aware of.
I also will be asked in the future (near future) about securing the
forms as far as the information...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |