hello guys just wanna ask why i it gives me an error of type expected although i import the namespace of the required class..

this is my code

Code:
 dim request as HttpWebRequest = Directcast(WebRequest.Create(url),HttpWebRequest)
why it gives me an error in HttpWebRequest it said that type expected eventhough i Import System.net
i always need to complete the HttpWebRequest to this System.net.HttpWebRequest
I also try to add the System.net Reference using the taskbar.