S
Shahid
hi,
i m trying to access html from a website using vb.net. i wrote following
code to access html of a website. it works fine but whenever i try this code
from network (behind proxy server) , it gives me error " The underlying
connection was closed: Unable to connect to the remote server". i don't know
how to implement proxy class with in WebClient Class.
any kind of help would be greatly appricated
Dim objWC As New System.Net.WebClient
Return New System.Text.UTF8Encoding().GetString( _
objWC.DownloadData("http://www.myweb.com"))
Regards
Shahid
i m trying to access html from a website using vb.net. i wrote following
code to access html of a website. it works fine but whenever i try this code
from network (behind proxy server) , it gives me error " The underlying
connection was closed: Unable to connect to the remote server". i don't know
how to implement proxy class with in WebClient Class.
any kind of help would be greatly appricated
Dim objWC As New System.Net.WebClient
Return New System.Text.UTF8Encoding().GetString( _
objWC.DownloadData("http://www.myweb.com"))
Regards
Shahid