DOCUMENT:Q184650 27-APR-1998 [vbwin] TITLE :INFO: What Does Visual Basic 5.0 Have That VBCE Doesn't Have? PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:1.0,5.0 OPER/SYS:WINDOWS KEYWORDS:kbnokeyword ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Windows CE Toolkit for Visual Basic 5.0, version 1.0 - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 5.0 --------------------------------------------------------------------- SUMMARY ======= The following language features are available in Visual Basic 5.0, but are not available in Windows CE Toolkit for Visual Basic 5.0 (VBCE), version 1.0. Category Omitted Feature/Keyword and Notes -------------------------------------------------- Array Handling Option Base, Declaring arrays with lower bound <> 0 Collection Add, Count, Item, Remove, Access to collections using ! character (for example, MyCollection!Item) Conditional Compilation #Const, #If...Then...#Else, Most uses of the # character, including file access using #filenum (#date# is okay) Control Flow DoEvents, GoSub...Return, GoTo, On Error GoTo, On...GoSub, On...GoTo, line numbers, Line labels, With...End With, End, Stop NOTE: Use App.End to end your program. On Error Resume Next is provided for error handling. Conversion CVar, CVDate, Str, Val Data Types All intrinsic data types except Variant, Type...End Type, As keyword Date/Time Date statement, Time statement, Timer DDE All DDE Functions Debugging Debug.Assert, Debug.Print, End, Stop Declaration Declare (for declaring DLLs; there is no way to call an API function directly from VBCE), New, Optional, ParamArray, Property Get, Property Let, Property Set, Static Error Handling Erl, Error, On Error...Resume, Resume File Input/Output All traditional Basic file I/O (use Windows CE ActiveX controls for file I/O) Financial All financial functions (use Windows CE ActiveX controls for financial functions) Object Manipulation TypeOf Operators Like Options Deftype, Option Base, Option Compare, Option Private Module Select Case Expressions containing Is keyword or any comparison operators, Expressions containing a range of values using the To keyword Strings Fixed-length strings, LSet, RSet, Mid Statement, StrConv Using Objects Collection access using ! Statements with a $ Character Chr$, Command$, Date$, Environ$, Error$, Format$, InputBox$, Lcase$, Left$, Ltrim$, Mid$, Right$, Rtrim$, Space$, Str$, String$, Time$, Trim$, case$ REFERENCES ========== Windows CE Toolkit for Visual Basic 5.0 Books Online Additional query words: VBCE ====================================================================== Keywords : kbnokeyword Version : WINDOWS:1.0,5.0 Platform : WINDOWS Issue type : kbinfo ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.