D
Dr. Hung
I dont really know the best way to go about this. I have a button
called "add Image" which opens up a browse window where the user can
pick out the photo he wants to upload. I need this photo file then to
be copied and pasted to a folder, "Spares Photo Folder", which is on
the same drive as the database is saved so that the photo can be viewed
from different computers.
This is the code i have at the moment, but it allows a link to be made
to a photo on some computers desktop and therefore this wouldn't be
able to be viewed by other users on the intranet.
"Pic1" is an ole object type.
Private Sub Add_Image_Click()
On Error GoTo Err_Add_Image_Click
Me.Pic1.SetFocus
SendKeys "%IO", False
SendKeys "%FB", True
Me.Done.SetFocus
Exit_Add_Image_Click:
Exit Sub
Err_Add_Image_Click:
MsgBox Err.Description
Resume Exit_Add_Image_Click
End Sub
called "add Image" which opens up a browse window where the user can
pick out the photo he wants to upload. I need this photo file then to
be copied and pasted to a folder, "Spares Photo Folder", which is on
the same drive as the database is saved so that the photo can be viewed
from different computers.
This is the code i have at the moment, but it allows a link to be made
to a photo on some computers desktop and therefore this wouldn't be
able to be viewed by other users on the intranet.
"Pic1" is an ole object type.
Private Sub Add_Image_Click()
On Error GoTo Err_Add_Image_Click
Me.Pic1.SetFocus
SendKeys "%IO", False
SendKeys "%FB", True
Me.Done.SetFocus
Exit_Add_Image_Click:
Exit Sub
Err_Add_Image_Click:
MsgBox Err.Description
Resume Exit_Add_Image_Click
End Sub