translation needed

C

campbellbrian2001

I'm a VB.net newbie looking to migrate this password protected form
opening event into vb.net. any help would be appreciated. This is VB
running behind MS-Access. Thanks! Brian

Private Sub TranxFormOpenButton_Click()
If Forms!frm_password!PassBox = "Christy" Then
DoCmd.OpenForm "TranxForm"
DoCmd.Close acForm, "frm_password"
Else
MsgBox "Incorrect Password!", vbExclamation
DoCmd.Close acForm, "frm_password"
End If
End Sub

Private Sub Form_Load()
DoCmd.MoveSize 2000, 2400, 8000, 3000
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top