Microsoft KB Archive/829008

= BUG: A message does not appear in right-to-left reading order when you use the MsgBox function with the VbMsgBoxRtlReading constant in Access =

Article ID: 829008

Article Last Modified on 5/25/2007

-

APPLIES TO


 * Microsoft Office Access 2007
 * Microsoft Office Access 2003

-



This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
When you use the MsgBox function with the vbMsgBoxRtlReading constant, a message does not appear in right-to-left reading order.



RESOLUTION
To work around this problem, add a form instead of using the MsgBox function. Set the Orientation property of the form to right-to-left. Also, you can set the following properties of the form to make the form behave like a message box:



Steps to reproduce the behavior
 Create a blank database.  Create a new module, and then add the following test code to the new module: Sub Test Msgbox &quot;abcde&quot;, vbMsgBoxRtlReading + vbCritical End Sub  On the View menu, click Immediate Window. Type Test in the Immediate window, and then press the ENTER key.

The message does not appear in right-to-left reading order.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: vba ACC2007

Keywords: kbprogramming kbfunctions kbbug KB829008

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.