runesmithie Posted April 28, 2005 Share Posted April 28, 2005 I'm trying to make a login form for a verrry basic app I am making in my Ind. Study time at school, but I can't seem to find the code to do the job. I've done it on VB 6, but have yet to see it in VB .NET The code I am looking for is the one that hides a form and shows another form. I have already tried the help feature and looked in my book (although, the book is more of a .NET programming book, and the function may be a VB specific one?) If you need any more details/want the program/source, just say so I just posted something! ^_^ to the terrorist...er... kirbybeam. Link to comment Share on other sites More sharing options...
Hannibal Posted April 28, 2005 Share Posted April 28, 2005 MyOtherForm.Hide() PassWordForm.Show() You mean like that? :) Then in the handling of a correct login, you can just do: PassWordForm.Close() MyOtherForm.Show() Link to comment Share on other sites More sharing options...
runesmithie Posted April 28, 2005 Author Share Posted April 28, 2005 MyOtherForm.Hide() PassWordForm.Show() You mean like that? :) Then in the handling of a correct login, you can just do: PassWordForm.Close() MyOtherForm.Show() I think I tried that already :? Ah well, can't hurt to try again I just posted something! ^_^ to the terrorist...er... kirbybeam. Link to comment Share on other sites More sharing options...
runesmithie Posted May 5, 2005 Author Share Posted May 5, 2005 Here, I ended up using this Dim passwordForm As New uiPasswordForm Me.ActiveForm.Hide() passwordForm.Show() Another problem was that my form files were in different projects, so I had to import one :P I just posted something! ^_^ to the terrorist...er... kirbybeam. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now