Help and Support
 

powered byLive Search

INFO: What Language Features does VB have that VBCE and eVB Do Not

Article ID:184650
Last Review:March 21, 2005
Revision:1.1
This article was previously published under Q184650

SUMMARY

The following language features are available in Visual Basic 5.0 and 6.0, but are not available in Windows CE Toolkit for Visual Basic (VBCE) or eMbedded Visual Basic (eVB).
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
                 NOTE: (VBCE and eVB allow the use of Dim ... As ... only for Intellisense help in the design environment.)


Date/Time        Date statement,
                 Time statement,
                 Timer

DDE              All DDE Functions

Debugging        Debug.Assert,
                 Debug.Print,
                 End,
                 Stop

Declaration      Declare,
                 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

Statements       Beep


Statements with
a $ Character    Chr$,
                 Command$,
                 Date$,
                 Environ$,
                 Error$,
                 Format$,
                 InputBox$,
                 Lcase$,
                 Left$,
                 Ltrim$,
                 Mid$,
                 Right$,
                 Rtrim$,
                 Space$,
                 Str$,
                 String$,
                 Time$,
                 Trim$,
                 case$

Strings          Fixed-length strings,
                 LSet,
                 RSet,
                 Mid Statement,
                 StrConv

Using Objects    Collection access using !
				

REFERENCES

Windows CE Toolkit Help for Visual Basic 6.0

eMbedded Visual Basic Online Help

APPLIES TO
Microsoft Visual Basic 5.0 Professional Edition
Microsoft Visual Basic 6.0 Professional Edition
Microsoft Visual Basic 5.0 Enterprise Edition
Microsoft Visual Basic 6.0 Enterprise Edition
Microsoft Windows CE Toolkit for Visual Basic 6.0
Microsoft eMbedded Visual Basic 3.0

Back to the top

Keywords: 
kbinfo kbtoolkit KB184650

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.