Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi

 

i have a little winform-application which is supposed to open a webpage and read its content to a stream. but i'm getting an excepetion about missing permissions. so i tried working with system.net.webpermissions but without success.

 

can anybody point me into the right direction to get this problem solved?

 

best regards

 

 

 

Dim pClient As New System.Net.WebClient

Dim pStream As System.IO.Stream

pStream = pClient.OpenRead("http://www.cnn.com")

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...