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!

Using Image1 to load a jpg from a webserver (I canna do it captain) 1

Status
Not open for further replies.

Trowser

IS-IT--Management
Dec 16, 2002
125
GB
I have a SQL 2000 server

I have lots of images in my program (resource file) but I want to move them out to make my exe smaller

Now the SQL server is on the Web and I also have web space on the web

so I have moved all my images to the webserver.

Now I want to use an Image control to show these icons but I am unable to do so

In the DB in the Icon column I have just normal test with the full adress in it
IE Type 2 lvl 5.jpg

Now I try to use the following

Set Image1.picture = loadpicture( Type 2 lvl 5.jpg)

No luck :(
so Tried

Image1.datasource= Rec!Icons

no luck either

As for the program it runs on users machines the Webserver is differant than the SQL server the Web server holds the images the SQL server holds the DB and the user holds the front end

User asks DB for info DB gives it program looks at data and is supposed to go to webserver to retirve parts of it that bit aint working

"Now I have spoken to broadbent in the SQL forum and he doesn't think its an SQL probem I dunno if I need an internet control ? or if I am missing something else so posting here first before moving on trying to rule things out using process of elimination"

(help needed desperately 12hours to go)
 
LoadPicture doesn't understand URLs.

I gave an example of one method of doing this about 18 months ago...yes, here we are: thread222-93819
 
Thanks alot Strongm thats dandy :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top