Home > Software engineering >  VB dialog
VB dialog

Time:09-20

In vb, MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

CodePudding user response:

refer to the original poster qq_25297157 response: ,
vb in MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

This cannot be controlled by you, determined by the system language,
Put the system to run the program to English, nature is displayed in English,


If you want to "full control", oneself do a form, to simulate the appearance of the message box,

CodePudding user response:

reference 1st floor Chen8013 response:
Quote: refer to the original poster qq_25297157 response:

In vb, MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

This cannot be controlled by you, determined by the system language,
Put the system to run the program to English, nature is displayed in English,


If you want to "full control", oneself do a form, to simulate the appearance of the message box,


Or, Hook?
Forms to establish, button handle, modify text?

CodePudding user response:

refer to the second floor VBAHZ response:
Quote: refer to 1st floor Chen8013 response:

The
Quote: refer to the original poster qq_25297157 response:

In vb, MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

This cannot be controlled by you, determined by the system language,
Put the system to run the program to English, nature is displayed in English,


If you want to "full control", oneself do a form, to simulate the appearance of the message box,


Or, Hook?
Forms to establish, button handle, modify text?

Should be able to, you give it a try,

CodePudding user response:

reference Chen8013 reply: 3/f
Quote: refer to the second floor VBAHZ response:

Quote: refer to 1st floor Chen8013 response:

The
Quote: refer to the original poster qq_25297157 response:

In vb, MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

This cannot be controlled by you, determined by the system language,
Put the system to run the program to English, nature is displayed in English,


If you want to "full control", oneself do a form, to simulate the appearance of the message box,


Or, Hook?
Forms to establish, button handle, modify text?

Should be able to, you give it a try,


I Hook keyboard Hook is with not done yet, now also don't have the energy to study other Hook

CodePudding user response:

reference 4 floor VBAHZ response:
Quote: reference Chen8013 reply: 3/f

Quote: refer to the second floor VBAHZ response:

Quote: refer to 1st floor Chen8013 response:

The
Quote: refer to the original poster qq_25297157 response:

In vb, MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

This cannot be controlled by you, determined by the system language,
Put the system to run the program to English, nature is displayed in English,


If you want to "full control", oneself do a form, to simulate the appearance of the message box,


Or, Hook?
Forms to establish, button handle, modify text?

Should be able to, you give it a try,


I Hook keyboard Hook is with not done yet, now also don't have the energy to study other Hook

The HOOK is easy, also won't appear the problem of "panic", (unless you have a problem of the code )
My "automatically shut down" MsgBox is through the HOOK in the message box handle,

CodePudding user response:

Write an implementation, which is operating system decision, English version is in English,

CodePudding user response:

reference 5 floor Chen8013 reply:
Quote: refer to 4th floor VBAHZ response:

Quote: refer to the third floor Chen8013 response:

Quote: refer to the second floor VBAHZ response:

Quote: refer to 1st floor Chen8013 response:

The
Quote: refer to the original poster qq_25297157 response:

In vb, MsgBox vbOKCancel determine cancel button name is in Chinese, how to let it show in English?

This cannot be controlled by you, determined by the system language,
Put the system to run the program to English, nature is displayed in English,


If you want to "full control", oneself do a form, to simulate the appearance of the message box,


Or, Hook?
Forms to establish, button handle, modify text?

Should be able to, you give it a try,


I Hook keyboard Hook is with not done yet, now also don't have the energy to study other Hook

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related