我想以Vb格式打开HTML页面 [英] I Want to open HTML page in Vb form
本文介绍了我想以Vb格式打开HTML页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好..
我想在我的Windows窗体中打开一个Html文件...而且那个html表单包含一些我希望自动填充的文本框...
请帮帮我...
Hello..
I want to open a Html file in my Windows Form... and that html Form contains Some Textbox I want to fill that automatically...
Please help me...
推荐答案
使用Web浏览器工具
和使用代码
webbrowsertool1 .navigate(http://www.google.com)
use th "Webbrowser Tool"
anduse code
webbrowsertool1.navigate ("http://www.google.com")
添加 WebBrowser控件 [ ^ ]并将Url属性设置为file:///加上html文件的路径通过创建新的Uri
实例。
Add a WebBrowser control[^] and set the Url property to "file:///" plus the path to your html file by creating a new Uri
instance.
这篇关于我想以Vb格式打开HTML页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文