Results 1 to 3 of 3

Thread: Way to get Query String in open URL???

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    316

    Way to get Query String in open URL???

    I have an ActiveX control on my website that I would like to make a little more active.

    I think I could do this if I could access the Query string portion of the url, which is everything after the ? such as:

    http://www.mysite.com/index.asp?this...erything=After


    Can anyone help me find a way to do this??
    Using VS 6 Enterprise w/ SP5 & Windows 2000 Professional

  2. #2
    PowerPoster Arc's Avatar
    Join Date
    Sep 2000
    Location
    Under my rock
    Posts
    2,336
    Like this?

    VB Code:
    1. sstring = "http://www.mysite.com/index.asp?thi...verything=After"
    2. a = Split(sstring, "?")
    3. MsgBox a(1)
    -We have enough youth. How about a fountain of "Smart"?
    -If you can read this, thank a teacher....and since it's in English, thank a soldier.


  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    316
    Holy crap, could you make it any easier.

    =)

    j/k that works great!
    Using VS 6 Enterprise w/ SP5 & Windows 2000 Professional

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