It's very simple question, but I couldn't find a solution for it. My application on VB.NET for Windows Phone 7 need to open some web links when user clicks the buttons.
Button clicked -> Internet Explorer application with link opens.
But how to make it? :)
1) Add the following statement to your code.
Imports Microsoft.Phone.Tasks
2) Add the following code to your application wherever you need it, such as in a button click event.
Dim webBrowserTask as WebBrowserTask = new WebBrowserTask()
webBrowserTask.Uri = new Uri("http://www.google.com", UriKind.Absolute)
webBrowserTask.Show()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.