VB Code:
  1. Private Sub cmdclear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdclear.Click
  2.         MsgBox("Are you sure you want to clear the PASSWORD box?", MsgBoxStyle.YesNo)
  3.         txtpass.Text = ""
  4.     End Sub

well its prob easy for all u lot as ur genious for me its difficult lol

i want it so if yes is pressed then the txtpass will clear if no then nutin will happen :/

i fort it mite b

if msgbox = yes then
txtpass.text = ""

but nope ;/

n e help please or link for article

thank you your all gr8