如何从Web浏览器获取URL? [英] How to get the URL from web browser ?

查看:184
本文介绍了如何从Web浏览器获取URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!


我会得到webbrowser控件的URL(Windows Phone 8中的VB.NET),但问题是我没有到达那里。我尝试:

 webbrowser.Source.AbsolutePath()


它不起作用。

你能解决这个问题吗?



谢谢!

解决方案

您应订阅此活动:


http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone .controls.webbrowser.navigating(v = vs.105).aspx



Hello !

I would get the URL of the webbrowser controls(VB.NET in Windows Phone 8) but the problem is that I do not arrive there. I try:

webbrowser.Source.AbsolutePath()

And it does not work.

Would you have a solution this problem ?

Thank you !

解决方案

You should subscribe to this event:

http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.controls.webbrowser.navigating(v=vs.105).aspx


这篇关于如何从Web浏览器获取URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆