MsgBox Style-Konstanten für Visual Basic 6.0-Benutzer

Aktualisiert: November 2007

In der folgenden Tabelle sind die MsgBox Style-Konstanten von Visual Basic 6.0 und deren Visual Basic 2008-Entsprechungen aufgeführt.

Hinweis:

Aus Gründen der Abwärtskompatibilität können die MsgBox Style-Konstanten von Visual Basic 6.0 in Visual Basic 2008-Code weiterhin verwendet werden. Weitere Informationen finden Sie unter MsgBoxStyle-Enumeration.

Visual Basic 6.0

Visual Basic 2008-Entsprechung

vbOKOnly

MsgBoxStyle.OKOnly

vbOKCancel

MsgBoxStyle.OKCancel

vbAbortRetryIgnore

MsgBoxStyle.AbortRetryIgnore

vbYesNoCancel

MsgBoxStyle.YesNoCancel

vbYesNo

MsgBoxStyle.YesNo

vbRetryCancel

MsgBoxStyle.RetryCancel

vbCritical

MsgBoxStyle.Critical

vbQuestion

MsgBoxStyle.Question

vbExclamation

MsgBoxStyle.Exclamation

vbInformation

MsgBoxStyle.Information

vbDefaultButton1

MsgBoxStyle.DefaultButton1

vbDefaultButton2

MsgBoxStyle.DefaultButton2

vbDefaultButton3

MsgBoxStyle.DefaultButton3

vbDefaultButton4

Keine Entsprechung

vbApplicationModal

MsgBoxStyle.ApplicationModal

vbSystemModal

MsgBoxStyle.SystemModal

vbMsgBoxHelpButton

MsgBoxStyle.MsgBoxHelp

vbMsgBoxRight

MsgBoxStyle.MsgBoxRight

vbMsgBoxRtlReading

MsgBoxStyle.MsgBoxRtlReading

vbMsgBoxSetForeground

MsgBoxStyle.MsgBoxSetForeground

Siehe auch

Referenz

MsgBoxStyle-Enumeration

Weitere Ressourcen

Konstantenentsprechungen für Visual Basic 6.0-Benutzer

Konstanten und Enumerationen in Visual Basic