FIX: Error message when you call the SendData method several times: "Run-time error '10014': Invalid argument"

Article translations Article translations
Article ID: 972877 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

Consider the following scenario:
  • You have installed Microsoft Visual Basic 6.0 Service Pack 6 (SP6) on a computer.
  • You install the security update MS08-070 that is described in Microsoft Knowledge Base (KB) article 926857 or VB6 cumulative update rollup that is described in KB article 957924.
  • The version of the Microsoft Winsock control (mswinsck.ocx) is in the range from 6.01.9812 to 6.01.9816.
In this scenario, when you call the SendData method several times, you receive the following error message:
Run-time error '10014': Invalid argument

RESOLUTION

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have Microsoft Visual Basic 6.0 Service Pack 6 (SP6) installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you install the hotfix if no relative instance is in use.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Comct232.cabNot Applicable86,31024-Mar-200904:58Not Applicable
Comct332.cabNot Applicable142,14724-Mar-200904:58Not Applicable
Comctl32.cabNot Applicable237,88724-Mar-200904:58Not Applicable
Comdlg32.cabNot Applicable70,38224-Mar-200904:58Not Applicable
Dbadapt.cabNot Applicable26,70724-Mar-200904:58Not Applicable
Dbgrid32.cabNot Applicable257,48924-Mar-200904:58Not Applicable
Dblist32.cabNot Applicable104,47724-Mar-200904:58Not Applicable
Mci32.cabNot Applicable92,36024-Mar-200904:58Not Applicable
Msaddndr.cabNot Applicable49,42524-Mar-200904:58Not Applicable
Msadodc.cabNot Applicable64,03824-Mar-200904:58Not Applicable
Msbind.cabNot Applicable41,56424-Mar-200904:58Not Applicable
Mscdrun.cabNot Applicable28,46524-Mar-200904:57Not Applicable
Mschrt20.cabNot Applicable452,63424-Mar-200904:58Not Applicable
Mscomct2.cabNot Applicable335,32524-Mar-200904:58Not Applicable
Mscomctl.cabNot Applicable479,05624-Mar-200904:58Not Applicable
Mscomm32.cabNot Applicable59,26424-Mar-200904:58Not Applicable
Msdatgrd.cabNot Applicable133,16824-Mar-200904:58Not Applicable
Msdatlst.cabNot Applicable117,46524-Mar-200904:58Not Applicable
Msdatrep.cabNot Applicable100,02324-Mar-200904:58Not Applicable
Msdbrpt.cabNot Applicable146,94424-Mar-200904:58Not Applicable
Msdbrptr.cabNot Applicable148,22224-Mar-200904:58Not Applicable
Msflxgrd.cabNot Applicable112,05324-Mar-200904:58Not Applicable
Mshflxgd.cabNot Applicable207,71324-Mar-200904:58Not Applicable
Mshtmpgd.cabNot Applicable105,82824-Mar-200904:58Not Applicable
Mshtmpgr.cabNot Applicable44,11924-Mar-200904:57Not Applicable
Msinet.cabNot Applicable66,92224-Mar-200904:58Not Applicable
Msmapi32.cabNot Applicable70,31524-Mar-200904:58Not Applicable
Msmask32.cabNot Applicable89,92824-Mar-200904:58Not Applicable
Msrdc20.cabNot Applicable89,58124-Mar-200904:58Not Applicable
Msrdo20.cabNot Applicable190,95024-Mar-200904:58Not Applicable
Msstdfmt.cabNot Applicable66,36624-Mar-200904:58Not Applicable
Msstkprp.cabNot Applicable50,02424-Mar-200904:57Not Applicable
Mswcrun.cabNot Applicable112,78224-Mar-200904:58Not Applicable
Mswinsck.cabNot Applicable61,96020-Jul-200905:28Not Applicable
Picclp32.cabNot Applicable50,63124-Mar-200904:58Not Applicable
Richtx32.cabNot Applicable100,42124-Mar-200904:58Not Applicable
Sysinfo.cabNot Applicable41,91124-Mar-200904:57Not Applicable
Tabctl32.cabNot Applicable109,94424-Mar-200904:58Not Applicable
Wbclsdsr.cabNot Applicable159,12624-Mar-200904:58Not Applicable
Msaddndr.depNot Applicable2,48614-Jul-200906:11Not Applicable
Msaddndr.dll6.1.98.1699,13624-Mar-200904:52x86
Mscdrun.depNot Applicable2,54314-Jul-200905:59Not Applicable
Mscdrun.dll6.1.98.1657,15224-Mar-200904:52x86
Mshtmpgd.dll6.1.98.16245,58424-Mar-200904:52x86
Mshtmpgr.depNot Applicable2,48614-Jul-200905:58Not Applicable
Mshtmpgr.dll6.1.98.16117,58424-Mar-200904:52x86
Mswcrun.depNot Applicable2,47414-Jul-200906:09Not Applicable
Mswcrun.dll6.1.98.16310,59224-Mar-200904:52x86
Wbclsdsr.ocx6.1.98.16334,67224-Mar-200904:52x86
Comct232.depNot Applicable2,49508-Jul-200906:36Not Applicable
Comct232.ocx6.0.98.16170,08024-Mar-200904:52x86
Comct332.depNot Applicable3,02618-May-200900:28Not Applicable
Comct332.ocx6.7.0.9816415,55224-Mar-200904:52x86
Comctl32.depNot Applicable2,49508-Jul-200906:35Not Applicable
Comctl32.ocx6.0.98.16614,99224-Mar-200904:52x86
Comdlg32.depNot Applicable2,49414-Jul-200905:59Not Applicable
Comdlg32.ocx6.1.98.16155,98424-Mar-200904:52x86
Dbadapt.depNot Applicable2,50114-Jul-200906:04Not Applicable
Dbadapt.dll6.1.98.1657,16824-Mar-200904:52x86
Dbgrid32.depNot Applicable2,38718-May-200900:29Not Applicable
Dbgrid32.ocx5.1.98.13567,10424-Mar-200904:52x86
Dblist32.depNot Applicable2,49414-Jul-200906:08Not Applicable
Dblist32.ocx6.1.98.16222,52824-Mar-200904:52x86
Mci32.depNot Applicable2,39414-Jul-200906:00Not Applicable
Mci32.ocx6.1.98.16215,88024-Mar-200904:52x86
Msadodc.depNot Applicable2,50214-Jul-200906:02Not Applicable
Msadodc.ocx6.1.98.16134,97624-Mar-200904:52x86
Msbind.depNot Applicable49214-Jul-200906:02Not Applicable
Msbind.dll6.1.98.1684,80824-Mar-200904:52x86
Mschrt20.depNot Applicable2,49414-Jul-200906:04Not Applicable
Mschrt20.ocx6.1.98.161,029,96824-Mar-200904:52x86
Mscomct2.depNot Applicable2,49414-Jul-200906:00Not Applicable
Mscomct2.ocx6.1.98.16659,26424-Mar-200904:52x86
Mscomctl.depNot Applicable2,49414-Jul-200906:00Not Applicable
Mscomctl.ocx6.1.98.161,069,37624-Mar-200904:52x86
Mscomm32.depNot Applicable2,49414-Jul-200906:02Not Applicable
Mscomm32.ocx6.1.98.16119,61624-Mar-200904:52x86
Mscsfdbg.dll6.1.98.1669,44024-Mar-200904:52x86
Msdatgrd.depNot Applicable2,51414-Jul-200906:04Not Applicable
Msdatgrd.ocx6.1.98.16278,35224-Mar-200904:52x86
Msdatlst.depNot Applicable2,49414-Jul-200906:09Not Applicable
Msdatlst.ocx6.1.98.16252,24024-Mar-200904:52x86
Msdatrep.depNot Applicable2,50714-Jul-200906:04Not Applicable
Msdatrep.ocx6.1.98.16206,16024-Mar-200904:52x86
Msdbrpt.dll6.1.98.16340,80024-Mar-200904:52x86
Msdbrptr.depNot Applicable2,54514-Jul-200906:05Not Applicable
Msdbrptr.dll6.1.98.16328,51224-Mar-200904:52x86
Msflxgrd.depNot Applicable2,49418-May-200900:29Not Applicable
Msflxgrd.ocx6.1.98.14258,88024-Mar-200904:52x86
Mshflxgd.depNot Applicable2,52414-Jul-200906:12Not Applicable
Mshflxgd.ocx6.1.98.16443,48824-Mar-200904:52x86
Msinet.depNot Applicable2,40514-Jul-200906:02Not Applicable
Msinet.ocx6.1.98.16136,00824-Mar-200904:52x86
Msmapi32.depNot Applicable2,49414-Jul-200906:00Not Applicable
Msmapi32.ocx6.1.98.16151,37624-Mar-200904:52x86
Msmask32.depNot Applicable2,49414-Jul-200906:00Not Applicable
Msmask32.ocx6.1.98.16178,51224-Mar-200904:52x86
Msrdc20.depNot Applicable2,49314-Jul-200906:01Not Applicable
Msrdc20.ocx6.1.98.16190,80024-Mar-200904:52x86
Msrdo20.depNot Applicable2,67014-Jul-200905:59Not Applicable
Msrdo20.dll6.1.98.16449,87224-Mar-200904:52x86
Msstdfmt.dll6.1.98.16129,87224-Mar-200904:52x86
Msstkprp.dll6.1.98.16107,84024-Mar-200904:52x86
Mswinsck.depNot Applicable2,46314-Jul-200906:02Not Applicable
Mswinsck.ocx6.1.98.17126,80020-Jul-200905:25x86
Picclp32.depNot Applicable2,49414-Jul-200906:01Not Applicable
Picclp32.ocx6.1.98.16100,16024-Mar-200904:52x86
Richtx32.depNot Applicable3,00814-Jul-200906:01Not Applicable
Richtx32.ocx6.1.98.16218,43224-Mar-200904:52x86
Sysinfo.depNot Applicable2,48114-Jul-200906:01Not Applicable
Sysinfo.ocx6.1.98.1680,20824-Mar-200904:52x86
Tabctl32.depNot Applicable2,49414-Jul-200906:01Not Applicable
Tabctl32.ocx6.1.98.16221,50424-Mar-200904:52x86

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about security update 926857, click the following article number to view the article in the Microsoft Knowledge Base:
926857 MS08-070: Description of the security update for Microsoft Visual Basic 6.0 Service Pack 6 Runtime Extended Files: December 9, 2008
For more informationabout VB6 cumulative update rollup, click the following article number to view the article in the Microsoft Knowledge Base:
957924 Description of the cumulative update rollup for the Visual Basic 6.0 Service Pack 6 Runtime Extended Files

Properties

Article ID: 972877 - Last Review: October 7, 2011 - Revision: 3.0
APPLIES TO
  • Microsoft Visual Basic 6.0 Standard Edition
Keywords: 
kbexpertiseadvanced kbsurveynew kbqfe KB972877

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com