Unknown exception on navigating to a Uri having a query string

  • Thread starter Thread starter Krupa
  • Start date Start date
K

Krupa

Hi All,

I am constructing a Uri with a query string attached and trying to
navigate to that Uri. But I get an unknown exception. However when I
directly place the uri in the browser's address bar and open it, it
works fine. Please find the line below where I get the exception.

webBrowser1.Navigate(new Uri(@"/Storage
Card/Flash/GPSRanger.html?GPSRanger%2Eswf"));

Can someone help?

I am writing this application on CF 2.0 in c# for a Windows CE 5.0
device.

Thanks,
Krupa
 
Hi Krupa,

I think using a dot (".") instead of "%2E" in the Uri may fix the problem.

regards

Eike Falkenberg
 
Back
Top