Reputation: 9877
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: -
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")
Upvotes: 0
Views: 261
Reputation: 28406
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.
Upvotes: 1
Reputation: 314
You should take a look at this: http://silverlight-outofbrowser.com/
Upvotes: 1