开发者

using web browser in visual studio 2008 for windows mobile

I used web browser component in my app for windows m开发者_如何学JAVAobile... I set the url as "www.google.com" but it shows

"page is unavailable,u need to adjust browser settings!!! cannot find server or DNS error"

Do I need to do any sort of coding from my end as I set the url from the property box of web browser component


I found the answser :

 private void webBrowser1_GotFocus(object sender, EventArgs e)
 {
     webBrowser1.Url = new Uri("http://www.google.com");
     webBrowser1.Navigate(new Uri("http://www.google.com"));
 }

When you sync your application the first time with WMDC, you must go ahead with setup partnership.

Check the checkbox for allow the connections and choose DMA

Also select :

The computer is connected to "The Internet"

and you are done!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜