Access Runtime Problems

G

Guest

Good Day

I have a report in Access 2002 program that goes and gets
the hyperlinks with in a form and past the photos into the
report. I do this with the following code "On Page" and
all works well. When I generate a runtime version and put
it on a client computer the photos and hyperlinks will not
show up. In other words the program does not work in Run
Time. Any idea what DLL might be the problem.
Thanks
Wayne

Here is the code I am using

Dim hyp1 As String
Dim hyp2 As String
Dim hyp3 As String
Dim hyp4 As String
Dim hyp5 As String
On Error Resume Next
hyp1 = Photo.HyperLink.Address
Image42.Picture = hyp1
On Error Resume Next
hyp2 = Photo2.HyperLink.Address
Image43.Picture = hyp2
On Error Resume Next
hyp3 = Photo3.HyperLink.Address
Image44.Picture = hyp3
On Error Resume Next
hyp4 = Photo4.HyperLink.Address
Image45.Picture = hyp4
On Error Resume Next
hyp5 = Photo5.HyperLink.Address
Image46.Picture = hyp5
 
N

NIKOS KOROMILAS

Try and use the function LoadPicture.
If u want to load a picture in a picture box , or an image control, the best
way is to try the LoadPicture function.
-NK-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top