Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MsgBox VB6 language problem

Status
Not open for further replies.

ibmunck

Technical User
Jun 5, 2003
3
DK
When I run this button event:

Private Sub Command1_Click()
Dim x
x = MsgBox("test", vbYesNoCancel)
End Sub

I get messages in the message box in Danish instead of English (yes, no, cancel). The same with other MsgBox arguments (vbRetryCancel ...). My operating system is Windows XP Danish. No effect in changing language in control panel.
Problem:
I want the messages in English regardless of the operating system.
 
You can always create a form that will act as your message box. You will then have more control over everything.

There are several examples posted at

Thanks and Good Luck!

zemp
 
I thing that the write expression for Msessage Box in VB is:

MsgBox ("Your message"), vbYesNoCancel, "The title"

try it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top