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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message box caption

Status
Not open for further replies.

heprox

IS-IT--Management
Dec 16, 2002
178
US
Stupid question, but I'm drawing a blank, how do you change a message box's caption?

Code:
If txtDSN.Text = "" Then
        MsgBox "DSN name cannot be Empty", vbInformation
        txtDSN.SetFocus
        Exit Sub
End If
 
Oh I remembered after all...

Code:
MsgBox "DSN name cannot be Empty", vbInformation, "Error..."

...I'm definately getting dumber with age.
 
Many of these simple things easy to find if you type into the code window directly. The Intellisence and popup's will show the nessessary arguments.

________________________________________
Zameer Abdulla
Visit Me
There is only one perfect child in this world. Every mother has it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top