VBScript MsgBox Function Does Not Work

Exonerare de răspundere pentru conținutul retras din baza de cunoștințe

Acest articol a fost scris despre produsele pentru care Microsoft nu mai oferă asistență. Prin urmare, acest articol este oferit „ca atare” și nu mai va fi actualizat.

Symptoms

When you use the Microsoft Visual Basic Scripting Edition (VBScript) language, and you call the MsgBox function, this operation does not work. If the display of script errors is enabled, you receive an error message similar to the following:

Error: Object doesn't support this action: 'msgbox'

Resolution

A supported fix is now available from Microsoft as Windows CE 4.0 Core OS QFE Q329678. To resolve this problem immediately, search for the keyword "QFE" on the following Microsoft Web site:The English version of this package has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.


Date Time Version Size File name
------------------------------------------------------------------------
04-Oct-2002 22:08 4.0.2.1004 3,152,480 021004_armv4i_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,132,000 021004_armv4t_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,144,288 021004_armv4_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 2,984,544 021004_mips16_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,172,960 021004_mipsii_fp_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,172,960 021004_mipsii_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,234,400 021004_mipsiv_fp_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,234,400 021004_mipsiv_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,062,368 021004_sh3_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 3,058,272 021004_sh4_wce40-q329678.exe
04-Oct-2002 22:08 4.0.2.1004 2,808,416 021004_x86_wce40-q329678.exe
The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.


Date Time Version Size File name
-----------------------------------------------------------

Path: Public\Script\Oak\Lib\Armv4\Debug
01-Oct-2002 00:57 4,677,946 Vbscript.lib
01-Oct-2002 00:57 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Armv4\Retail
01-Oct-2002 00:54 3,705,752 Vbscript.lib
01-Oct-2002 00:54 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Armv4i\Debug
01-Oct-2002 01:09 4,686,326 Vbscript.lib
01-Oct-2002 01:09 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Armv4i\Retail
01-Oct-2002 01:06 3,712,294 Vbscript.lib
01-Oct-2002 01:06 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Armv4t\Debug
01-Oct-2002 01:03 4,502,012 Vbscript.lib
01-Oct-2002 01:03 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Armv4t\Retail
01-Oct-2002 01:00 3,687,348 Vbscript.lib
01-Oct-2002 01:00 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mips16\Debug
01-Oct-2002 01:27 4,299,596 Vbscript.lib
01-Oct-2002 01:27 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mips16\Retail
01-Oct-2002 01:24 3,317,818 Vbscript.lib
01-Oct-2002 01:24 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mipsii\Debug
01-Oct-2002 01:15 4,760,162 Vbscript.lib
01-Oct-2002 01:15 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mipsii\Retail
01-Oct-2002 01:12 3,852,816 Vbscript.lib
01-Oct-2002 01:12 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\MipsII_fp\Debug
01-Oct-2002 01:33 4,756,846 Vbscript.lib
01-Oct-2002 01:33 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\MipsII_fp\Retail
01-Oct-2002 01:30 3,851,864 Vbscript.lib
01-Oct-2002 01:30 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mipsiv\Debug
01-Oct-2002 01:21 4,816,936 Vbscript.lib
01-Oct-2002 01:21 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mipsiv\Retail
01-Oct-2002 01:18 3,934,292 Vbscript.lib
01-Oct-2002 01:18 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mipsiv_fp\Debug
01-Oct-2002 01:39 4,812,998 Vbscript.lib
01-Oct-2002 01:39 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Mipsiv_fp\Retail
01-Oct-2002 01:36 3,929,250 Vbscript.lib
01-Oct-2002 01:36 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Sh3\Debug
01-Oct-2002 00:45 4,301,098 Vbscript.lib
01-Oct-2002 00:45 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Sh3\Retail
01-Oct-2002 00:42 3,539,070 Vbscript.lib
01-Oct-2002 00:42 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Sh4\Debug
01-Oct-2002 00:51 4,296,628 Vbscript.lib
01-Oct-2002 00:51 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\Sh4\Retail
01-Oct-2002 00:48 3,533,268 Vbscript.lib
01-Oct-2002 00:48 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\X86\Debug
01-Oct-2002 00:38 4,028,842 Vbscript.lib
01-Oct-2002 00:38 217,088 Vbscript.pdb

Path: Public\Script\Oak\Lib\X86\Retail
01-Oct-2002 00:36 3,247,850 Vbscript.lib
01-Oct-2002 00:36 217,088 Vbscript.pdb

Workaround

If you can modify the VBScript application code, use the alert() method of the Microsoft Internet Explorer window object.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Proprietăți

ID articol: 329678 - Ultima examinare: 19 iun. 2014 - Revizie: 1

Feedback