Show any type of image in IMAGE frame

domingsun

Registered User.
Local time
Today, 00:00
Joined
Jun 20, 2013
Messages
46
Hi all ,

I want to load and show an image in a form ,
i know this only will work when i select the image file path using vba application.filedialog ... but i don't know how to write this code , anyone can help me write this code please ?

Example :
I have form1 and report 1 ... inside the form i have an image frame , when i click on the button it will prompt out File Dialog to let me select my file ...
after select my picture , the Image Frame will load out the image ..
after that , I click Save , then the image will save to my table1 which is connected to form1 ...

after saving a record , i would like to open my report1 ...
report1 is linked to the record , so when i open report1 it will show the record's details and picture ...

can anyone teach me how to write this ?

thanks ~
 
You don't really want to save images into a database.

What would be better is to associate an Image using a ID (Unique) and rendering the image from an external file.

Simon
 

Users who are viewing this thread

Back
Top Bottom