Service Pack 4 addresses and corrects several issues in Microsoft® Visual Basic® 6.0
Microsoft Embedded Pavilionk 4 addresses and corrects several issues in Microsoft® Visual Basic® 6.0. The Microsoft Embedded Pavilionk solves problems with Visual Basic Controls, and the Package and Deployment Wizard. Microsoft Embedded Pavilionk 4 also corrects several of the miscellaneous problems that cause page fault, data errors, and excessive resource usage in the Visual Basic environment.
Visual Basic Microsoft Embedded Pavilionk 4 Fixes:
Microsoft Agent 2.0
Visual Studio Installer
Controls Issues
Package and Deployment Wizard Issues
Miscellaneous Fixes
Microsoft Agent 2.0
Microsoft Agent, which shipped with Visual Studio 6.0 and Visual Basic 6.0, has a new release on the Internet. You can download Agent 2.0 royalty-free from the Microsoft Agent Web site, where you will also find the updated Agent SDK, including documentation, HTML and code samples, and licensing information.
Visual Studio Installer
Visual Studio Installer is an add-in for Visual Studio 6 that allows you to create Windows Installers (also known as Setup programs) for your Visual Basic applications. It can be used to create installers for Windows 9x, Window NT 4.0, and it is the preferred method for Windows 2000. You can download the latest version of Visual Studio Installer royalty-free from the Microsoft Visual Studio Web site.
Controls Issues
The following control issues have been fixed:
Q168824: Setting the Text property in the Click event of a ComboBox control causes the text field to be blank.
Q257516: Buttons removed from a ToolBar control no longer appear in the Customize dialog.
Q257530: Changing the order of buttons in a ToolBar control causes duplicate images.
Q257792: NodeClick events in a TreeView control are triggered even though the CausesValidation and HideSelection properties are True and another control losing focus returns "Cancel = True" from its Validate event.
Q232194: The OpenURL method of the Internet Transfer Control truncates downloaded files.
Q224181: Setting the Checkboxes property to True in the ListView and TreeView controls causes excessive resource usage.
Q245159: Using the SendData method of multiple Winsock controls may block all but the most recently established connection and may cause loss of data.
Q257630: Calling the End statement in the Unload event of a form containing a Coolbar control caused an "Invalid Page Fault".
Q199722: Setting the ControlSource property of the RichText control in Access results in a "Property cannot be set" message when entering preview mode.
Q239943: Negotiated menus in UserControls caused excessive resource usage.
Q257686: Calling the Unload method in the DoubleClick event of a ListBox control caused an "Invalid Page Fault."
Q257692: The IMEMode property of the TextBox and ComboBox controls caused excessive resource usage in compiled applications on the Japanese version of Windows 98.
Q257710: The PointSelected event of the Chart control returned an incorrect DataPoint.
In the KeyDown event of a PictureBox control sited on a UserControl, no KeyCode was returned for the HOME, END, PAGE UP, and PAGE DOWN keys.
Q257661: Double-clicking a modal form shown from as SSTab control caused a MouseDown event to be fired on the SSTab control.
Attempting to enter text into a ListView control with IME set to a double-byte input option can cause an "Invalid Page Fault." This occurs with Japanese Visual Basic on Japanese Windows 98.
Q182068: A ListView control can't read the SubItemIndex property of a ListView control in a Visual Basic 4 executable file.
Q257780: The Data control reported an "unrecognized DB format" error when attempting to bind to an Access 2000 database.
Q246233: Selecting the DataSource property of a TextBox control on a nested UserControl could cause an "Invalid Page Fault."
Q240946: The ListView control failed to recognize mouse events when the MultiSelect property was set to True.
Q257784: Cells in a DataGrid control containing double-byte characters could not be accessed using ARROW keys on Japanese systems.
Q257788: Navigating through a DataGrid control by clicking on rows doesn't submit updates.
Q257741: The Validate event of an intrinsic control sited on a UserControl causes an Access Violation in Italian Visual Basic.
Q257495: ListView controls generate the ItemClick event twice when the LabelEdit property is set to Manual. Creating and populating a control array of ListView controls could cause an "Invalid Page Fault."
Q257635: The wrong row had focus in a DataGrid control after repeatedly canceling the addition of new records.
Q248416: Clicking on a node of a TreeView control with the SingleSel property set to True caused the wrong node to expand.
Q212733: The contents of a RichText control couldn't be viewed in a report.
A TextBox bound to a RDC control failed to update when the CursorDriver property was set to UseClientBatch.
Updates to a DataGrid control could fail when using a Jet 4.0 OLEDB provider.
Calling unload from a CheckBox control could cause a General Protection Fault in Visual Basic on Windows 98.
Q257523: Displaying a Windows Metafile (.wmf) in a PictureBox could cause excessive resource usage.
Q251225: The EditMode property of an ADO Recordset was not set properly when bound to a DataCombo control.
Changing the RowSource property on a DataCombo or DataSource control caused an incorrect reference in the BoundColumn property.
Unloading a DBGrid control from a control array caused a General Protection Fault on NT 4.
The FieldChangeComplete event failed to fire for a TextBox contained in a UserControl.
Repeatedly loading and unloading a WinSock control at causes a memory leak. This has been fixed when running in the IDE, but not at run-time.
The current row in a DataGrid control changed each time a DataAdapter was re-bound to an OLE Simple Provider DataSource.
Changing the Name of a control in the Properties window could cause an "Invalid Page Fault" in Visual Basic under certain circumstances.
The size of a DateTimePicker control changes between design time and run time when placed on an Outlook form.
Winsock control stops responding when receiving UDP packets with a 0-byte length.
Setting the DataSource property of an ADOData control programmatically cause excessive resource usage.
The RichText control failed to instantiate on a Web page when Internet Explorer is installed after Visual Basic 6 is installed.
Repeatedly loading and unloading a form containing a Hierarchical FlexGrid control caused excessive resource usage.
Using a comma as a decimal separator caused an incorrect value in the DataGrid control in Danish Visual Basic.
Setting the PalletteMode property to UseZOrder on a form containing a Hierarchical FlexGrid control caused an "Invalid Page Fault."
Setting properties of a TextBox control in the Initialize event of a UserControl caused data binding to fail.
Package and Deployment Wizard Issues
The following Package and Deployment Wizard issues have been fixed:
190493: Nested CAB file that refers to files in other CABs results in Locate File dialog box.
Q257572:
Q221604: When distributing an Internet Explorer 5 & Page Designer Application with the Package and Deployment Wizard, a warning indicating "There is no dependency information for MSHTML.tlb" was displayed.
Q224185: UserControls that contained a User Defined Type array as a parameter failed to register during deployment.
A necessary registration file for Oleaut32.dll wasn't included for packages installed on Traditional Chinese Windows, resulting in incorrect date/time functions.
Packages created on a Windows 2000 system caused an endless reboot when installed on other operating systems.
Missing CLSID in packages generated from ActiveX Document .Exe project.
Deploying applications created in German, French, Italian, or Spanish versions of Visual Basic caused a Type Mismatch error when installing to a U.S. English machine.
Adding code to log files copied during a reboot caused Setup to terminate abnormally.
Setup packages that contained more than 64 files in a single .Cab file could cause an infinite reboot cycle.
The CAB file for the Microsoft Scripting Runtime Library failed to download.
Setup packages could cause an infinite reboot loop when attempting to update bootstrap files.
Miscellaneous Fixes
The following miscellaneous issues have been fixed:
Q242483: The Printform method ignores the Printer.Orientation property when the current printer is set to Portrait.
Q183979: Nested UserControls fail to print in Internet Explorer.
Q257543: Displaying a modal form in the Validate event of a control or UserControl caused the MouseDown event to fire for the control with focus on the modal form. This could be avoided by setting Cancel = True in the Validate event.
Q257621: Displaying a modal form from an ActiveX .Exe for extended periods of time caused excessive resource usage.
Q249607: User Controls created in Visual Basic 6 didn't print in Excel 97.
Q257657: Updates for text columns in a SQL Server database failed when using RDO and ODBC CursorDriver.
Q257641: The listbox for the DataSource property was slow to load in projects that contained a large number of forms.
Q234317: HTML Page Truncated with Visual Studio SP3 WebClass Run Time when Running in the VB IDE.
Q234771: Disabling SessionState on a Web server caused WebClasses to fail to load.
Q257695: Reordering commands in the DataEnvironment could cause an "Invalid Page Fault."
Q238672: Mouse events on the title bar of a form failed to fire when a UserControl was added to the form.
Q237175: ATL .Dll files created in Visual C++ failed to register properly when added to a Visual Basic project.
Q257660: Setting the Printer object to Nothing could cause an "Invalid Page Fault."
Q257664: Creating an object on a new thread in a .Dll from a standard .Exe disables the ability to show modal dialog boxes on all threads.
Registering a Visual Basic 6 COM component in Microsoft Transaction Server that references another non-MTS Visual Basic 6 GlobalMultiUse COM component causes an access violation.
Q257777: Setting the Height property of the Printer object causes excess paper to be ejected on some dot-matrix printers.
Closing multiple MDI child forms in rapid succession can cause an "Invalid Page Fault."
Q253555: Exporting a report from the Report Writer to HTML causes a "Report width is larger than paper width" error when the orientation property is set to Landscape.
Q257779: When printing a DataReport with the Orientation set to Landscape, the Print dialog box always defaulted to Portrait.
Q257783: Using a line number in code following a function that returns a Double data type causes an Access Violation when attempting to compile an executable file.
Q246919: Setting the DataSource property of a UserControl in the ActiveX Control Interface Wizard without first adding a reference to the DataSource object caused an "Invalid Page Fault."
Closing an Internet Explorer window after viewing a DHTML page caused an Access Violation in Internet Explorer 5.
Q257786: Showing a DataReport after displaying a modal form can cause an Access Violation.
Q257787: A UserControl containing a reference to an ADOData control on another UserControl causes an "Invalid Page Fault" when exiting a program.
Q257790: Validation of data still occurs when calling the CancelUpdate method of an ADO Recordset.
An RDO UserConnection in an ActiveX .Dll can cause excessive resource usage.
Q248418: WebClass projects couldn't be run on Windows 2000 Advanced Server.
Q257531: When using late binding and the Currency data type with large values, incorrect results were returned.
Q257730: The PrintForm method of a form containing a UserControl caused an "Invalid Page Fault" on Windows 98.
Setting the MaskPicture property of a UserControl with the Backstyle property set to Transparent caused excessive resource usage.
Q257714: The Data Environment and the ADOData control caused a "Type mismatch" error with versions of ADO later than 2.0.
Q257550: An Invalid Page Fault could occur when showing a modal form in a project that contains a Data Report.
Event monitoring stopped when an expression service was started.
Performing a lengthy operation without calling DoEvents caused excessive resource usage.
After performing a BatchUpdate from an rdoResultSet to SQL Server 7.0 the BatchCollisionCount property returned an incorrect result.
Attempting to compile a .dll project containing a reference to Microsoft Repository caused a General Protection Fault.
Loading multiple instances of a multithreaded .dll could cause a General Protection Fault.
Attempting to use ASP to create a .dll in the Visual Basic IDE failed on Windows 2000.
RDO didn't correctly recognize SQL_BIG_INT values in a SQL Server 7.0 database.
Q257421: Compiling a UserControl that contained a MFC control caused a General Protection Fault when exiting Visual Basic.
Q257496: Comparisons of floating point numbers gave incorrect results when using optimized code.
Q257501: An error message was generated when exporting a DataReport to a HTML file.
The VB6 runtime CAB file (vbrun60sp3.exe) couldn't be run in silent mode.
Q257731: A "Rows must be released" error occurred when using ADO and the OLEDB Provider for SQL Server.
Multiple VB6 .dll's in a MTS Library package could cause a General Protection Fault on shutdown of a client application.
Setting a Printer object to Nothing caused an Invalid Page Fault on Windows 9x.
Q257688: The Printer object failed to track the default printer after changing the Orientation property.
Q257691: A dynamically loaded UserControl failed to update a DataSource for bound TextBox controls.
The behavior of the ExitFocus for a UserControl embedded in another UserControl was inconsistent.
Q257712: A "duplicate column name" occurred accessing an Access 97 database through ADO when using a double-byte character set.
"Limited Virtual Memory" Error Message When You Start Your Computer.
Q245124: Access Violation in Remote Automation Manager
Repeatedly loading and unloading from NT services a .Dll created by Visual Basic could cause an "Invalid Page Fault" when RetainInMemory is set to False.
Threads in a Remote Automation server can become deadlocked after abnormal termination of a client.
Inserting a new record into a view that includes a chunk field fails when using RDO with Client-batch cursors.
Windowless UserControls didn't paint properly with multiple UserControls on a form.
Windowless UserControls containing Shape controls didn't paint properly when the BackStyle property was set to Transparent.
Calling the PropertyChanged method of a data-bound UserControl failed to update the underlying data source.
Attempting to compile a project containing a reference to Project 98 caused an "Invalid Page Fault" in Visual Basic 6 with Microsoft Embedded Pavilionk 3.
Using a #If conditional compilation constant caused an "Invalid Page Fault" in Visual Basic.
The DataForm Wizard didn't recognize Access 2000 databases using DAO version 3.6.
Values entered in the Page Range fields in the Export dialog box for a DataReport were ignored on Windows 2000. A query containing a Like clause that includes a single underscore wildcard character returns incorrect results when using DBCS Japanese Kana characters.
User-defined types containing fixed strings didn't convert properly from Unicode to ANSI character sets.
The orientation of a DataReport couldn't be set programmatically.
Passing an array of objects to an out-of-process server could cause excessive resource usage. UserControls that display bitmaps could cause excessive usage of GDI resources.
Variant conversion functions on DBCS characters yield different results on Windows 2000.
The date stamp for the file eula.txt was incorrect.
The date stamp for the file redist.txt was incorrect.
The Rename command for a DataLink in the DataEnvironment couldn't be accessed.
<%=company%>, One Microsoft Way, Redmond WA 98052-6399, Tel: 425-936-0318, Fax: 425-936-7329