|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Sending screenshot to recipient as email
Hi,
I have program that takes screenshot from active window and saves it to directory. Is it possible to send Screenshot as an email to recipient with the same click-event and how you do it? Public Function Capture_Desktop As Boolean DoEvents Call Keybd(vbKeySnapshot, 1, 0, 0) DoEvents SavePicture Clipboard.GetData(vbCFBitmap), Destination$ Capture_Desktop = True Exit Function errl: MsgBox "no form selected" Capture_desktop = False End Function Private Sub Command1_Click() On error Resume Next Capture_Desktop App.Path & "\Form " + Text1.Text + ".jpg" Me.caption = Text10.Text Thanks Drivenn |
|
#2
|
|||
|
|||
|
Once you know where the jpg file is located, you can email using cdosys or some other email component. There are numerous tutorials on using email from vb, try a google search.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Sending screenshot to recipient as email |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|