Welcome to Dream.In.Code
Become a VB Expert!

Join 137,230 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,886 people online right now. Registration is fast and FREE... Join Now!




clipboard

 
Reply to this topicStart new topic

clipboard

eukim82
25 Feb, 2007 - 11:43 PM
Post #1

New D.I.C Head
*

Joined: 5 Feb, 2007
Posts: 7


My Contributions
i tried to save my drawing on picturebox as clipboard.
how could i obtain and display the drawing in ms word file?


User is offlineProfile CardPM
+Quote Post

NickDMax
RE: Clipboard
26 Feb, 2007 - 09:43 PM
Post #2

2B||!2B
Group Icon

Joined: 18 Feb, 2007
Posts: 2,859



Thanked: 50 times
Dream Kudos: 550
My Contributions
Well are you in VB6 or VB.net. In VB.net you can use My.Computer.Clipboard.setImage(). If in VB6:

CODE

Private Sub mnuCopy_Click ()
   Clipboard.Clear
   Clipboard.SetData Picture1.Picture
End Sub

will put the current image into the clipboard. Then a paste should work. Then other thing you can do is to save the image as a bitmap and then load it once in Word.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/4/08 03:14PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month