简单问题将网站querystring值传递给Windows应用程序webbrowser url属性. [英] Simple Problem pass website querystring value to windows application webbrowser url property.

查看:140
本文介绍了简单问题将网站querystring值传递给Windows应用程序webbrowser url属性.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为该URL的Windows应用程序的WebBrowserControl分配一个URL,该URL看起来像

http://asd.xyt.com?ip=122&mac=macaddr [^ ]

但无法这样做,当我尝试将此值分配给url属性时,它给我错误

简而言之,我想以任何方式在Windows应用程序的后台打开此url.

I want to assign one url to WebBrowserControl of windows application that url seems like

http://asd.xyt.com?ip=122&mac=macaddr[^]

But not able to do so it gives me error when i''m trying to assign this value to url property

In short i want to open this url in background of my windows application any how.

推荐答案

因此请在您的网络浏览器中使用它:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.url.aspx [ ^ ]

并执行以下操作:
http://pietschsoft.com/post/2008/07/C- Generate-WebPage-Thumbmail-Screenshot-Image.aspx [ ^ ]
So use this in you webbrowser:
http://msdn.microsoft.com/en-us/library/system.windows.forms.webbrowser.url.aspx[^]

and do this:
http://pietschsoft.com/post/2008/07/C-Generate-WebPage-Thumbmail-Screenshot-Image.aspx[^]


这篇关于简单问题将网站querystring值传递给Windows应用程序webbrowser url属性.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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