how to reset the existing password(topsecret)with a new password by using the "replace" keyword
in the below code shown
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
System.Diagnostics.Process.Start("chrome.exe")
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
If TextBox1.Text = "topsecret" Then
Form2.ShowDialog()
End If
Catch ex As Exception
MsgBox("Invalid Password", MsgBoxStyle.OkOnly, "Ok")
End Try
End Sub