[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

Screen shot to display in word

Hi
i need to take a screen shot of one of my screens in an application i wrote and put it into a word document, so i can complete my documentation on the system i have just written for a client

how do i go about this ?

thanx
:)

Craig
0
CraigLazar
Asked:
CraigLazar
1 Solution
 
EDDYKTCommented:
Highlight your app and press Alt-Printscreen. Go to word app and press ctrl-v

Is that what you want?

?->
0
 
JuiletteCommented:
Prints the form image to a bmp file
you can then call the file to word 'capture the form image to bmp file
'
'>>>>>>>>> bas module code <<<<<<<<<<<

Public Declare Sub keybd_event Lib "user32" _
(ByVal bVk As Byte, ByVal bScan As Byte, _
ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
     

Private Sub CaptureScreen(ByVal sFileName As String)
    'To get the Entire Screen
    'Call keybd_event(vbKeySnapshot, 1, 0, 0)
     
    'To get the Active Window
    Call keybd_event(vbKeySnapshot, 0, 0, 0)
     
    SavePicture Clipboard.GetData(vbCFBitmap), sFileName
End Sub
'
'>>>>>> Form Code <<<<<<

Private Sub Command1_Click()
Call CaptureScreen("c:\My Documents\Form.bmp")
End Sub


0
 
CraigLazarAuthor Commented:
Perfect thanx allot
please answer the question :)

Craig
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
mark2150Commented:
Just use the "Accept Comment as answer" feature...

M
0
 
JuiletteCommented:
I have answered! You need to press accept.
Thanks
0
 
CraigLazarAuthor Commented:
Hi : Juilette
Sorry but i meant for : EDDYKT
to answer the question. He gave me the answer i needed before u proposed your answer, i also put my comment in before your answer. Thanx for the help anyway but i am going to have to reject your answer

Craig
0
 
CraigLazarAuthor Commented:
Thanx for the help

:)

Craig
0
 
JuiletteCommented:
No problem...One is free to use what suits our purposes at the moment.
Bye.
0
 
CraigLazarAuthor Commented:
thanc for your understanding

:)

Craig
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now