Kupoling-Katana
Member
- Joined
- Mar 13, 2006
- Messages
- 12
- Programming Experience
- Beginner
Okay, for my application, I was working on a basic flow chart that would open the splash page, then read a text file to see if this is the first time the user has opened the application. However, I couldn't get the timer working (at all), so I decided to make it so that the user has to click the form to proceed. And then I ran into some trouble getting the splash page to close and the login/wizard page to open right after. Here's what I did. (Note: I changed clicking the form to clicking a button to simplify.
Pretty simple, just declarations.
Insert the Click Event.
And here's the problem. See, it seems to close the application, and not just the form. I even tried to reverse the two, but it still doesn't work. So I tried this.
And I still get the same problem, So, I use my sense and try this.
And now, it doesn't do ANYTHING! And, then I end the sub
If anyone has any help to give, please give it. I'm new to application development, so please don't flame me for not being a computer expert.
EDIT: I'm also just making a Windows Form application, and not a Web Application. Being a web guy, I use the term "page" a lot.
VB.NET:
Public Shared stform As New startup
Public Shared splashform As New splash
VB.NET:
Private Sub butClick_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles butClick.Click
VB.NET:
Close()
stform.Show()
VB.NET:
Me.Close()
stform.Show()
VB.NET:
splashform.Close()
stform.Show()
VB.NET:
End Sub
EDIT: I'm also just making a Windows Form application, and not a Web Application. Being a web guy, I use the term "page" a lot.