"ERROR Microsoft VBScript Compilation error -Line: 1-Invalid Character CEVB" when attempting to run an eVB applicationCESD|200155Applies To
OverviewWhen attempting to run the Freeware edition of MobileCubed H-bomb or eMbedded Visual Basic application on a Handheld PC you receive the following error message ERROR Microsoft VBScript Compilation error - Line: 1-Invalid Character CEVB
The Visual Basic application fails to start and exits without warning. More InfoWhen you attempt to run a Microsoft embedded Visual Basic (eVB) executive on some Handheld PC's with bSQUARE bScript installed you may receive a runtime error message from the Run Time Library. A known conflict exists between manual installations of bSQUARE's bScript and the ROM embedded version of the Windows CE Visual Basic Run Time. Upon installing bScript, the installer attempts to update the Windows CE Visual Basic Script interpreter with a part of the bScript distribution package. In doing so the system file association registry settings are modified so that all Visual Basic applications are parsed by the bSquare Run Time, and not the system Run Time. How-to GuideTo resolve the VBScript issue you must reset the Runtime Library used on execution of the VB application to the ROM embedded Windows CE Visual Basic Run Time. WARNING: If you use a Registry Editor incorrectly, you may cause serious problems that may require you to hard reset your Handheld PC back to its factory installed configuration. Edit your Windows CE registry at your own risk.
The following steps require the use of a registry editor. For more information on obtaining a registry editor see CESD-S-0082.
When you attempt to launch the VB executive after the soft reset the application will be parsed successfully.
For bSQUARE bScript users, it is strongly recommended that all custom scripts be saved as .VBS files (the default) and not as .VB files. Doing so will ensure that the bScript files are processed by the bSQUARE Runtime and the eVB executives by the Visual Basic for Windows CE Runtime AcknowledgementsWith thanks to Paul Baldauf for assisting us with this article. |