winform accessing web

ganders

Freshman
Joined
Nov 25, 2004
Messages
32
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")
 
Back
Top