x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

How do I save the content of my PictureBox control to a file?

I dunk for bananas Page Icon Posted 2024-04-01 6:33 PM
#
Avatar image of I dunk for bananas
H/PC Elite

Posts:
707
Location:
Europe
Status:
In eVB, how do I save the contents of my eVB control to a bitmap file? Sadly the corresponding sample application that comes with eVB does not implement saving or loading files. Does someone know?
 Top of the page
stingraze Page Icon Posted 2024-04-02 12:43 AM
#
Avatar image of stingraze
Subscribers
H/PC Vanguard

Posts:
3,689
Location:
Japan
Status:
http://vbcity.com/forums/t/34086.aspx

It says it supports 256 color bitmaps.

https://www.homeandlearn.co.uk/extras/image/image-saving.html

has a VB sample (not eVB but)

Something like:
Dim savePath As String = saveFD.FileName Dim bmp As Bitmap = New Bitmap(PictureBox1.Image)

might work?

I think there might be another function name for eVB, but not too sure.

-stingraze

Edited by stingraze 2024-04-02 12:43 AM
 Top of the page
Jump to forum:
Seconds to generate: 0.156 - Cached queries : 60 - Executed queries : 8