标题:[求助]问一个极其低级的问题!
只看楼主
zjblove
Rank: 1
等 级:新手上路
帖 子:44
专家分:0
注 册:2006-3-12
 问题点数:0 回复次数:3 
[求助]问一个极其低级的问题!

我刚下了个VB 想学一下

现在用到
要在VB的的一个框子里显示网页的内容

谁能告诉我以下 在VB中显示网页内容的代码是什么

比如说 网页的地址是 http://www.jymetin.com/gonggao.htm

请会的帮忙发一下代码!谢谢了!

搜索更多相关主题的帖子: 网页 想学 
2006-10-05 21:41
盛崖余
Rank: 1
等 级:新手上路
帖 子:54
专家分:0
注 册:2006-8-30
得分:0 
加一个浏览器的控件或者直接加WEB窗体

不让生活磨灭我们的梦想!
2006-10-06 14:30
chenwind17
Rank: 1
等 级:新手上路
帖 子:28
专家分:0
注 册:2006-9-25
得分:0 

Option Explicit
Private Sub Command1_Click() 'connect the required website
Dim b() As Byte
Inet1.Cancel
Inet1.Protocol = icHTTP
Inet1.URL = Text1.Text 'input the website
b() = Inet1.OpenURL(, icByteArray)
Open "文件存放位置如:c:\1.txt" For Binary Access Write As #1
Put #1, , b()
Close #1
End Sub

2006-10-06 14:59
chenwind17
Rank: 1
等 级:新手上路
帖 子:28
专家分:0
注 册:2006-9-25
得分:0 

I am sorry for omitting the component.
The componet I added is "Microsoft Internet Transfer Control 6.0".

2006-10-06 15:01



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-94397-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.069943 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved