Free video Tutorials
Updating every hour!
45624 online video tutorials and counting.
Video Tutorials

Advanced Message Box - Visual Basic 6 tutorial


Code:
Dim warning As Integer
warning = MsgBox(”Do you really want to remove the evil virus?”, vbCritical + vbYesNo, “WARNING!!!”)
If warning = vbYes Then
Text1.Text = “The virus has been removed”
Else
Text1.Text = “The virus is still harming your computer!!!”
End If

__
http://TechZed.webs.com