在Windows窗体中调用网页 [英] calling a web page in windows forms

查看:55
本文介绍了在Windows窗体中调用网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Windows窗体。我也在网站上登录。从Windows窗体,我需要登录到网站,并能够运行报告并将结果提取到Windows窗体。有可能吗?请指教。

I have a Windows Form. I also have a login in a website. From windows forms, I need to login to the web site and be able to run a report and fetch the results to the windows forms. Is there any possibility? Please advise.

推荐答案

您可以使用httpwebrequest或者您可以声明一个webbrowser



< - 示例 - >

将浏览器调整为新的webbrowser

browser.navigate(您的网站)

< - end-- >

这不会出现在你的表格上。



我希望能给你一个想法。
You can use httpwebrequest or you can declare a webbrowser

<--example-->
dim browser as new webbrowser
browser.navigate("Your site")
<--end-->
This doesn't appear on your form.

I hope that gives you an idea.


这篇关于在Windows窗体中调用网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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