-
February 19th, 2010, 02:32 AM
#1
resize and save picture
hey, i have used the following code to browse & upload a picture durin runtime
Private Sub cmdBrowse_Click()
Me.CommonDialog1.InitDir = "D:"
Me.CommonDialog1.Filter = "Graphic Files (*.bmp;*.gif;*.jpg)| *.bmp;*.jpg"
Me.CommonDialog1.ShowOpen
If Me.CommonDialog1.FileName <> "" Then Me.Image1.Picture = LoadPicture _
(Me.CommonDialog1.FileName)
End Sub
do you have any sample code i can use to save the picture (image1) into an access database called "tblHrData" field name "Picture".
I would appreciate sample code to resize the picture to fit into the image box.thanks in advance
Regards
-
February 19th, 2010, 03:20 AM
#2
Re: resize and save picture
-
February 19th, 2010, 08:26 AM
#3
Re: resize and save picture
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
|