|
-
Nov 10th, 1999, 12:28 PM
#1
Thread Starter
Hyperactive Member
Hi eveyone,
Dim filesys As New FileSystemObject
Dim file1 As TextStream
Dim fileobj As File
Set file1 = filesys.CreateTextFile("c:\test.bmp", True)
Clipboard.Clear
Clipboard.SetData PicFinal.Image, vbCFBitmap
file1.WriteLine Clipboard.GetData
file1.Close
**
I am trying to copy a file in the picture box to a bitmap file. It didnt work..can anyone please rectify this error.
Thanx in advance.
Venkat.
-
Nov 10th, 1999, 01:14 PM
#2
Addicted Member
Hi, venkatraman_r
Actually, you can use SavePicture command.
SavePicture imgObject.Picture, "c:\windows\desktop\a.bmp"
Does it help ?
Regards
-
Nov 10th, 1999, 01:17 PM
#3
Addicted Member
well to like take a picture from the clipboard to a picture box that easy just do this
Picture1.Picture = Clipboard.GetData
-
Nov 10th, 1999, 02:00 PM
#4
Thread Starter
Hyperactive Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|