.net cf 3.5 webbrowser控件在wince 5.0上不起作用 [英] .net cf 3.5 webbrowser control doesn't work on wince 5.0
问题描述
您好,
我试图在根目录\test.html
下加载一个简单的html文件但是, C#(智能设备)中的webbrowser控件 windows窗体应用程序没有显示任何内容。
在VS2008调试模式下,它输出
" A System.dll中出现'System.UriFormatException'类型的第一次机会异常"
我使用的代码是
webBrowser1.Navigate(new Uri(" \\test.html"));
我确认test.html存在于WinCE 5.0设备的根目录下。
<有人可以给我一些想法吗?
谢谢。
kody
试试" /的test.html"
Hello,
I tried to load a simple html file under the root directory \test.html
however, the webbrowser control in C# (smart device) windows form application shows nothing.
in VS2008 debug mode, it outputs
"A first chance exception of type 'System.UriFormatException' occurred in System.dll"
the code that I used is
webBrowser1.Navigate(new Uri("\\test.html"));
I confirmed test.html exists under WinCE 5.0 device's root directory.
Can someone give me some ideas?
Thanks.
kody
Try "/test.html"
这篇关于.net cf 3.5 webbrowser控件在wince 5.0上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!