Guys
I've just revised an app from 2003/CF2 to 2008/CF3.5 with a target platform of Pocked PC 2003 Device.
Pre the revision the webrequest worked fine but now I'm getting an error:-
System.net.WebException:The remote server returned an error: (404) Not Found.
However the file definately exists and can be seen from IE
Buff contains:-http://tah.openstreetmap.org/Tiles/tile.php/14/8028/5513.pngHTML Code:Dim ThisUri As New Uri(Buff) Dim wr As HttpWebRequest = CType(WebRequest.Create(ThisUri), HttpWebRequest) Dim ws As HttpWebResponse = CType(wr.GetResponse(), HttpWebResponse) Dim str As Stream = ws.GetResponseStream()
The development platform is Vista


Reply With Quote