开发者

VS 2010 Silverlight Application 4 (VB or C#) - How do i use the webbrowser?

I need some help with the WebBrowser object in VS (C# or VB) (Silverlight Application 4). My problem is that the WebBrowser object only shows this: -

开发者_开发知识库

VS 2010 Silverlight Application 4 (VB or C#) - How do i use the webbrowser?

How do i make it work/remove that text ? All i want to do is this:

C# :
MainWebBrowser.Navigate(new Uri("URL HERE"));
VB :
MainWebBrowser.Navigate("URL HERE")


You should take a look at this: http://silverlight-outofbrowser.com/


As the error message indicates, the WebBrowser control doesn't work when Silverlight is hosted in a browser. In order to use the control, you need to be running your app outside of the browser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜