VB如何用API方式实现 inet控件类似的功能

来源:百度知道 编辑:UC知道 时间:2024/05/29 17:28:41
如何用VB调用API或者其他更稳定的方式实现Inet1.Execute 和Inet1.OpenURL的功能?

因为用Inet控件访问中文YAHOO等部分网站会出现只返回1024个字节长度,不能完整获取完整的网页内容。
谢谢回答。

能不能写一个例子?

InternetOpen Function

--------------------------------------------------------------------------------

Initializes an application's use of the Microsoft® Win32® Internet functions.

Syntax

HINTERNET InternetOpen( LPCTSTR lpszAgent,
DWORD dwAccessType,
LPCTSTR lpszProxyName,
LPCTSTR lpszProxyBypass,
DWORD dwFlags
);

Introduction to the Microsoft Win32 Internet Functions

--------------------------------------------------------------------------------

The following sections contain an overview of the Microsoft® Win32® Internet (WinInet) functions, which provide you with a set of functions to interact with Gopher, FTP, and HTTP protocols. As the standards evolve, the Win32 Internet functions will handle the changes in underlying protocols, allowing the functions to maintain a consistent behavior. This overview describes how to use these fu