1
Add a class to your project
declare the folowing
Global GblName As String
Global GblPssw As String
Now in your Registration Form you set the code under your button
if txtUser <>"" then
GblName =txtUser.text
else
msgbox "Please enter name",vbokonly +vbinformation
endif
if txtpssw <>"" then
GblPssw =txtpssw.text
else
msgbox "Please enter Password",vbokonly + vbinformation
endif
Now if thats done in you secondform Login Form
in the form load you set
me.txtuser =GblUser
me.txtPassw = GblPssw
2
i see that u hide the first form so you can allways call the controls on that form
So if Registration Form is the first 1 and you hide it and you want to put info off the first into the 2nd
all you have to do is in the form load of the 2nd form
Form2.txtName.text = Form1.txtName.text
Form2.txtPssw.text = Form1.txtPssw.text
Note where I write Form1 and Form2 write the actual name of the Form so i think frmRegistration.txtName.text =frmLogin.txtName.text

Good luck