By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,676 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

Multi Form in VB.net

P: n/a
Hi,

I want to show the LoginFrm Form when user click the Login
Button, I'm using below code, when the LoginFrm appear, it
is Blank! I can't see the button, label, Text Box in
LoginForm. May I know why? Isn't my code wrong?
Please advise.
Private Sub btnStart_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnStart.Click
Dim MyLoginForm As New LoginFrm

MyLoginForm.Show()

End Sub
End Class
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
It seams to me that code if perfectly OK.

Have to checked the visibility properties of the controls in the Login form.

If it is hidden that it will not display.

Partha
"Cathy" <an*******@discussions.microsoft.com> wrote in message
news:40****************************@phx.gbl...
Hi,

I want to show the LoginFrm Form when user click the Login
Button, I'm using below code, when the LoginFrm appear, it
is Blank! I can't see the button, label, Text Box in
LoginForm. May I know why? Isn't my code wrong?
Please advise.
Private Sub btnStart_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnStart.Click
Dim MyLoginForm As New LoginFrm

MyLoginForm.Show()

End Sub
End Class

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.