Results 1 to 2 of 2

Thread: Image Control

  1. #1
    BassTeQ
    Guest

    Image Control

    Im using the standard Microsoft Image control in my web page.
    I'm adding them using Vbscript as follows

    ImageList1.ListImages.Add , "Picture1", LoadPicture("C:\Inetpub\wwwroot\green.gif")

    Now this works just fine when I look at the web page from my computer, but if I access it from another I get an error saying it cannot find the images. I think because this script is being run client side so its looking on the clients machine in c:\Inetpub\wwwroot for the image, which ofcourse doesnt exist,

    Now I've tried not using a path and just saying
    LoadPicture("green.gif")
    but that hasn't worked.
    I've also tried sharing my InetPub directory on my network and setting the path as
    LoadPicture("\\mymachine\inetpub\wwwroot\green.gif")

    Any ideas on what else I can do to fix this problem?
    Any help is greatly appreciated.

    Thank You

  2. #2
    BassTeQ
    Guest
    Come on, someone has to know!

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width