Results 1 to 2 of 2

Thread: Path to Url?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    Atlanta
    Posts
    104

    Question

    Is there an easy way to convert a path to a url?

    Just trying to save myself the trouble of actually having to do it via multiple string functions.

    Thanks.

  2. #2
    Guest
    Use the Replace function.

    Code:
    urlstring = "C:\file.exe"
    urlpath = Replace(urlstring, "C:\file.exe", "file://C:\file.exe")
    'I forgot the file://..don't know how many /'s you put
    'I am in skool and cannot find out, but you get the idea

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