How to extract variable + its value from URL

J

Jozef Jarosciak

Thanks, but when I plug this to my code, line:

Dim w As New HttpRequest("", u.AbsoluteUri, Mid(u.Query, 2))

has a word HttpRequest underlined and saying:
"Type HttpRequest is not defined"

I made sure at the top it reads:
Imports System.Web

What is wrong?
Joe
 
H

Herfried K. Wagner [MVP]

Jozef Jarosciak said:
Thanks, but when I plug this to my code, line:

Dim w As New HttpRequest("", u.AbsoluteUri, Mid(u.Query, 2))

has a word HttpRequest underlined and saying:
"Type HttpRequest is not defined"

I made sure at the top it reads:
Imports System.Web

Make sure your project contains a reference to "System.Web.dll".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top