Results 1 to 4 of 4

Thread: WebBrowser control - design mode - relative paths

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2004
    Location
    Essex, UK
    Posts
    774

    WebBrowser control - design mode - relative paths

    Is there any way to get the WebBrowser control (in design mode) to show images which are referenced with a relative path, such as this:

    HTML Code:
    <IMG src='page1_files/image1.jpg'>
    If I use an absolute path it works fine:

    HTML Code:
    <IMG src='file:///C:/Users/Paul/AppData/Local/Web_Editor/page1_files/image1.jpg'>
    Is it possible to tell the WebBrowser the "starting location" when using relative paths?

    (I have just about finished converting all src locations by manipulating strings, but it just occurred to me I might have missed an easier way!)
    Last edited by paulg4ije; Jan 1st, 2013 at 07:32 AM.

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