[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Clipboard and more

I have a program which for ever letter you type into a text box, it puts an image into a picture box using BitBlt. I dont know how to print, save or copy the Picture to a clipboard (So you can use it in other programs)

The picturebox is called: pixExport
And the menu for save is: mnuSave
" "Print is: mnuPrint
" "Copy is: mnuCopy

any help?
0
instant_new
Asked:
instant_new
1 Solution
 
deathman5Commented:
To Copy to clipoard:
Clipboard.Clear
Clipboard.SetData pixExport.Picture
To Save:
SavePicture Clipboard.GetData(vbCFBitmap),"C:\file.bmp"
that will save the clipboard photo to the address

SavePicture pixExport.Picture, "c:\file.bmp"
this to save pixExport to the file
0
 
instant_newAuthor Commented:
thx alot
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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