Article ID: 232632
Article Last Modified on 6/17/2002
APPLIES TO
- Microsoft Internet Explorer 5.0
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
This article was previously published under Q232632
SYMPTOMS
The Internet Transfer Control (ITC), which is shipped with Visual Basic, causes and Access Violation with Internet Explore 5 when both FTP and HTTP functionality is used.
The Access Violation is generally reported when the application is shut down.
CAUSE
This problem is caused by the bug in Wininet.dll, shipped with Internet Explorer 5, which is used by the control.
RESOLUTION
Use WinInet API directly from Visual Basic as an alternate solution that achieves similar functionality.
STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Internet Explorer 5.01. Internet Explorer 5.01 is available for download from http://www.microsoft.com/windows/ie/. Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
REFERENCES
For more information on WinInet API, see the MSDN Web Workshop's Win32 Internet Functions Overview page and the following article in the Microsoft Knowledge Base:
Q195653 Using FTP WinInet APIs in Visual Basic with SimpleFtp
For additional information regarding the WinInet API Codes please see the following article in the Microsoft Knowledge Base:
193625 WinInet Error Codes (12001 through 12156)
Please note that all constants and functions are declared in the WinInet.h file that ships with the Internet Client SDK and with Microsoft Visual C++ version 4.2 and later. This file does not come with Microsoft Visual Basic and all declarations are made in C.
For additional information about making WinInet API declarations in Visual Basic refer to the following Microsoft Knowledge Base article:
185519 FILE: Vbinet.exe WinInet API Declarations for Visual Basic
259100 SAMPLE: Vbhttp.exe Shows How to Use HTTP WinInet APIs in VB
Additional query words: Internet Transfer Control, Access Violation, Wininet.dll, IE 5.0 ITC
Keywords: kbbug kbfix kbitc kbhttp kbftp KB232632