Microsoft KB Archive/140668

-

The information in this article applies to:


 * FastTips for Microsoft Visual Basic for Windows, version 4.0

-

INSTRUCTION
Microsoft FastTips is available 24 hours a day, 7 days a week, from a touch-tone telephone. To order items from this catalog, first select the items you want to receive, noting the five- to six-digit number of the Item ID shown below for each item, and then:


 * Dial the toll-free FastTips number (800) 936-4300.
 * When prompted, select Microsoft Visual Basic.
 * Press one (1) on your phone keypad to select Express Order Service.
 * When prompted, select the delivery method, fax.
 * When prompted, enter your three-digit area code and seven-digit fax number on your phone keypad.
 * When prompted, enter the number of the Item ID and press #, for up to five items.

When finished, simply hang up. If you have problems receiving a fax, please call (425) 635-3199.

ARTICLE LISTING
ITEM ID  ARTICLE TITLE                                               PAGES --- Q 118767 PRB: Custom Control or Library Not Working with VB 4.0          1 Q 127028 How to Bind Data Controls Across Multiple Forms in VB 4.0       2 Q 127029 PRB: Type Mismatch with Default Prop of VB4 Data Access Object  1 Q 129286 PRB: Clone Won't Support All ListFields & ListIndexes Methods   2 Q 129287 Differences Between Exclamation Mark (!) & Dot (.) Syntax       1

Q 129288 PRB: VB 4.0 EXEs Are Different When Compared Byte-by-Byte       1 Q 129388 How Null String Pointers Behave in Visual Basic 4.0             2 Q 129446 PRB: Can't Have Multiple Declare Statements for Same Function   1 Q 129447 PRB: Can't Watch Properties or Fields Used in a WITH Statement  1 Q 129448 PRB: Using Reserved Keywords as Types                           2

Q 129450 PRB: For Each" Behavior on Dynamically Changing Control Array"  2 Q 129514 PRB: Loading and Unloading DLLs in the Design Environment       1 Q 129634 Jet DB Engines Process 'Data Has Changed' Error Differently     2 Q 129635 User Defined Collections Are 1-Based Not 0-Based                1 Q 129636 PRB: Ambiguous name detected" Compile-Time Error in VB 4.0"     1

Q 129637 How to Exit Windows from a Visual Basic 4.0 Application         1 Q 129638 PRB: Visible Controls on MDIChild Report as Invisible           2 Q 129700 PRB: Compile Out of Memory If too Many Public Members in Class  1 Q 129705 How DBCS Characters Are Used Depends on the Operating System    1 Q 129709 PRB:Overflow Error at Run Time w/Byte Type Counter in For Loop  1

Q 129712 PRB: Capitalization in Visual Basic 4.0 Differs from 3.0        2 Q 129731 BUG: ODBC OrdinalPosition Differs with dbSQLPassThrough         2 Q 129732 Data Access Objects Have Properties Based on Database Type      2 Q 129733 VB 4.0 Calls the FreezeEvents Method to Inform OLE Controls     2 Q 129739 How to Determine If VB 4.0 App Was Launched as OLE Server       2

Q 129740 BUG: Grid FixedAlignment Prop Accepts Value for Non-Fixed Cell  1 Q 129741 PRB: Call List Takes Longer to Display                          1 Q 129743 BUG: Icon Distorted When Dragged in 16-Bit VB 4.0 Windows NT    1 Q 129793 BUG: Excel Displays Only First Column in Embedded Worksheet     1 Q 129795 PRB: Excel Doesn't Use Container's Name for Embedded Objects    1

Q 129796 How to Determine When a Shelled 32-bit Process Has Terminated   3 Q 129797 How to Launch a Win32 Application from Visual Basic             3 Q 129798 How to Display a Task Modal Dialog from a 32-Bit DLL            2 Q 129799 BUG: Data Control Errors Do Not Populate Error Object           2 Q 129800 PRB: VB & VB Apps Won't Run If Windows NT OLE Service Stopped   2

Q 129801 How to Create and Use a Minimal OLE Automation Server           2 Q 129802 PRB: Can't Have Fixed Length Strings >32K in 32-bit Windows     1 Q 129803 Variable Coercion Rules in Visual Basic Version 4.0             3 Q 129804 PRB: Accelerator Keys Don't Work with Disabled MDI Form         2 Q 129827 Use ByVal to Pass a Control as an Argument to a DLL or VBX      1

Q 129828 MODEL Structure is Read-Only in Visual Basic 4.0                1 Q 129836 PRB: Object Variable Not Set Error If Object Not Instantiated   1 Q 129837 Nested OLE Objects Are Destroyed When Parents Are Destroyed     1 Q 129838 BUG: GPF in Excel After Using Excel Spreadsheet in OLE Control  1 Q 129852 PRB: GetActiveWindow Behaves Differently Under Windows NT       2

Q 129853 PRB: Exceeded Limits on Array Sizes of User Defined Types       2 Q 129856 Use DAO GetRows Method to Fill Variant Arrays                   2 Q 129857 When to Use the New 3.0 DAO TypeLib in Visual Basic             2 Q 129867 How to Debug Typelib Shadowing                                  2 Q 129868 How to Pass a UDT to an OLE Automation Server in VB 4.0         2

Q 129869 Why GUIDs Change On Every Recompile Of OLE Automation Server    2 Q 129871 PRB: Object is not a Collection" as Try to Read Array Element"  2 Q 129872 PRB: Wrong Number of Arguments Error When Call Math Functions   2 Q 129873 Why Property Pages Might Be Missing On OLE Controls             1 Q 129876 Error Trapping Options in the Advanced Options Dialog           2

Q 129879 How to Import Relationships Using DAO in a VB 4.0 Program       3 Q 129880 PRB: No Error On Invalid SetDefaultWorkspace in VB 4.0          2 Q 129883 PRB: Dynaset, Snapshot, and Table Objects No Longer Available   2 Q 129884 PRB: HWNDs on OLE Controls Are Not Persistent                   1 Q 129885 PRB: OLE Server Terminate Not Fired If Client Uses 'End'        2

Q 129886 How to Optimize OLE Calls in Visual Basic 4.0                   2 Q 129887 Introducing the Powerful New Picture Object in VB 4.0           2 Q 129888 How to Customize the Setup Wizard in Visual Basic Version 4.0   2

Q 129895 PRB: OPTION PRIVATE Statement Has No Effect in Visual Basic     1 Q 129897 PRB: Procedure too Large Error When Compiling in VB 4.0         1 Q 129898 PRB: Naming Conflicts Between Variables and Objects             2 Q 129903 PRB: Setting Form to Nothing Does Not Unload Form               3 Q 129925 Requery method not available on PassThrough queries             2

Q 129927 How to Determine If a Table or Query Exists                     2 Q 129928 PRB: 'For Each' with 'Delete' Doesn't Work for DAO Collections  2 Q 129929 How to Respond to Auto-commit Feature of VB Data Control        3 Q 129930 PRB: Compile-Time Error Occurs Instead of Run-Time Error        1 Q 129931 Using For Each to Loop Through Arrays Is Not Recommended        3

Q 129933 PRB: Comparing Bookmarks Generates Type Mismatch Error          2 Q 129935 PRB: Non-Reserved Word w/ Colon Behaves Differently in VB 4.0   1 Q 129938 PRB: Moving Off 'Sub' Doesn't Create 'End Sub'                  2 Q 129939 PRB: Err.Raise Doesn't Always Generate Expected Error           3 Q 129940 PRB: Out of Stack Space Error Caused by Property Procedure      2

Q 129941 PRB:Unexpected Results When Raise Method Propogates OLE Errors  2 Q 129942 PRB: Using TypeOf as Part of an If Statement Fails              2 Q 129943 OLE Controls Must Be Registered                                 1 Q 129944 Do Not Define Functions in DLLs that Raise an Exception         2 Q 129945 PRB: hCtl May Be Invalidated by Visual Basic                    1

Q 129946 PRB: Object Instances Are Not Freed from Memory                 3 Q 129947 Win32 Replacement for the hmemcpy Function                      2 Q 129949 PRB: Empty Sub Procedures Are Not Persistent                    2 Q 130645 How to Use DAO to Assign or View Permissions                    2 Q 137023 PRB: Can't See Changed Data If Update VB 3.0 DB App to VB 4.0   2

Q 137024 PRB: Asterisks Don't Hide an RDC Password Set in Design Time    1 Q 137027 BUG: ScrollBars Don't Display on DBList Control                 2 Q 137028 BUG: Activating and Closing OLE Object Causes GP Fault          1 Q 137030 BUG:GPF Manipulating Microsoft Excel Spreadsheet w/OLE Control  1 Q 137031 PRB: OLE Servers Don't Unload When Last Object Set to Nothing   2

Q 189249 HOWTO: Determine Which 32-bit Operating System Is Being Used    2 Q 137034 PRB: GetTempFileName API Function May Fail on 32-bit Platforms  3 Q 137037 BUG: Cell Data Disappears in DBGrid with NumberFormat Set       2 Q 137038 How to Add Menu Controls to a Form from an Add-In               4 Q 137039 New Features in Microsoft Jet Version 3.0                       2

Q 137093 How to Get a Control Reference from the Control's hWnd          2 Q 137094 PRB: Early Binding Fails with Out-Of-Process OLE Servers        1 Q 137095 How to Provide Constants for Use with an OLE Server             2 Q 137096 PRB: Type Mismatch When Passing Variants to Word Using OLE      2

Q 137097 HOWTO: Implement a Real-Time Application Using OLE              2 Q 137623 PRB: Align Property Setting Causes Toolbar to Fill the Form     2 Q 137729 LenB Function Returns in-Memory Size of User-Defined Type       2 Q 137730 PRB: Cannot Pass Parameters as Float ByVal to VB 4.0 Events     1 Q 137898 PRB: Visual Basic 4.0 Can't Interpret SCODE Parameter           1

Q 138062 How to Specify the Base Address of a VB OLE Server DLL          1 Q 138063 Effect of DoEvents in Visual Basic OLE Server DLLs              1 Q 138064 Search Order for OLE Servers                                    1 Q 138065 How to Enforce Initialization of a VB OLE Class Object          2 Q 138066 How to Handle VB OLE Server Timeout and Synchronization         1

Q 138067 How to Hide the Automation Manager                              1 Q 138068 Explanation of the States in Which Forms Can Exist              2 Q 138069 How to Address the Master Object Called Global                  1 Q 138070 Protocol for Remote OLE Automation Depends on First Client      1 Q 138071 Strings Passed to DLLs in Variants Aren't Converted to ANSI     1

Q 138072 Tips to Improve Performance While Using OLE Servers             2 Q 138138 Three Types of Binding (Late, ID, & Early) Possible in VBA      2 Q 138139 Limitations of VB 3.0 as a Client When Calling a VB 4.0 Server  1 Q 138140 Untrapped Errors in VB OLE DLL Can Unload the Whole Process     1 Q 138141 Tips For Troubleshooting Remote OLE Automation Errors           1

Q 138142 How to Determine If a String Is UNICODE or ANSI                 2 Q 138517 Properties of Object Passed ByVal Can Be Modified               4 Q 138518 How to Pass a Point Structure to the Windows API by Value       2 Q 138519 PRB: Arguments Are Evaluated from Right to Left in Some Cases   3 Q 138520 How to Use an Ampersand (&) to Suppress Sign Extension          1

Q 138521 Program Still Compiles in Background w/ Compile On Demand Set   1 Q 138525 BUG: Setting the Caption of a Tab Control Results in GP Fault   2 Q 138526 PRB: Loading Controls from Array Gives Several Error Messages   1 Q 138527 PRB: Error loading from file" Error Message When Running .Exe"  1 Q 138529 PRB: Visual Basic 4.0 Does Not Support Color Cursor Files       2

Q 138532 PRB: VB Tab Control Picture Property Doesn't Support Metafiles  1

Q 138537 How to Print the Contents of an ImageList Control to a Form     1 Q 138798 How to Set the Formatting Rectangle of a Text Box               2

Q 138800 How to Manipulate Groups & Items in Program Manager Using DDE   4 Q 138802 How to Find Articles About Visual Basic Applications Edition    1 Q 138816 BUG: Error occurred while trying to rebuild" w/ Setup Wizard"   2 Q 138817 FIX: ODBC SDK May Overwrite Latest Version of Msvcrt20.dll      1 Q 138818 BUG: VB 4.0 32-bit Quits When Deleting a Menu at Design Time    1

Q 138819 Differences Among Form's Initialize, Load, and Activate Events  2 Q 138820 PRB: Button Image on the Toolbar Appears Incomplete             2 Q 139491 How to Use Functions in VERSION.DLL -- A 32-bit Sample App     10

End of listing.

Keywords         : kblist kbref VB4WIN Version          : 4.00 Platform         : WINDOWS Issue type       : kbinfo Last Reviewed: May 12, 1999