Click to See Complete Forum and Search --> : Querystring


drifter2
September 7th, 2007, 03:46 AM
Hi guys (and girls)

I am constructing a website and trying to convert some webpages to pdf files.
Although i found a way to do that, my problem is in another point of my project. Lets say that i am surfing to the internet to the page:

http://www.somepage.com/some.aspx?id=1

How on earth am i supposed to get the above string in a string variable?

All i want to do is something like this:

---------------------------------------------------------
dim a as string
and give the value "http://www.somepage.com/some.aspx?id=1" to variable a.

Any ideas how?

Thanks!

jasonli
September 7th, 2007, 10:52 AM
Do you wanna get URL or get Querystring from given URL? If you have URL, split the URL string to get querystring.