Windows CE eMbedded Visual Basic Development (Part 3 of 4)
- Intrinsic and ActiveX Controls
- Exploring the IDE
eMbedded Visual Basic (eVB) is the second development tool in Microsoft's eMbedded Visual Tools suite. Like its C++ counterpart, it's very similar to the Visual Basic IDE and language that made VB the most popular programming language on the planet. Visual Basic developers getting started with Windows CE will have no problem adjusting to the eMbedded Visual Basic IDE, and will find that it offers many of the same features as the desktop version. In this article, I'll introduce the eMbedded Visual Basic IDE by reconstructing our StatCalc app (from my earlier article on eMbedded Visual C++) in Visual Basic. Before diving in, however, it's important to note that, unlike the C++ product, the actual eMbedded Visual Basic language differs from traditional Visual Basic. eMbedded Visual Basic only includes the variant datatype, and all eVB functions must return a variant. An eVB variant can contain the following values: Empty, Null, Boolean, Byte, Integer, Currency, Long, Single, Double, Date, String, Object, and Error. A number of conversion functions are provided to convert from one subtype to another. These functions include CBool, CByte, CCur, CDate, CDbl, CInt, CLng, CSng, and CStr.