Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image control how do I direct it to a location on a webserver

Status
Not open for further replies.

Trowser

IS-IT--Management
Dec 16, 2002
125
GB
Basically I am using an SQL DB and in one of the fields I have the location of a file that has the picture of the item in the SQL database

Now when the user browses through I want this picture to load up into a image object

I am using

Image1 = Loadpicture ("http:\\Webserver.com\Image" & rec!Imagename)

But I keep getting errors that it cannot find the file

what am I doing wrong?
 
Nope that didn't work I changed the \ to / but the semi-collon gave me a syntax error

but it still doesn't work still get the same error

Run-Time error 75

File/Path Access Error
 
Run-Time error 75
File/Path Access Error

it just canna find the file yet if I type it into my browser its there
 
anyone know what I is doing wrong?
 
ok I think I have some of it figured out but I am still getting problems

Set Image1.datasource = Rec!Icon

Now how do I set up a pointer in the SQL database
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top