A
Anthony P.
Hello Everyone,
I'm pretty new to VB.NET and I've run into a snag that I'm not really
sure how to get around. I'm writing an application that shows a
splashscreen, then a license agreement. When the user clicks 'I
accept' to accept the license agreement, the form is supposed to load
the main application screen and close the license agreement screen. I
have the following code to accomplish this:
Private Sub btnAcceptEULA_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnAcceptEULA.Click
frmInstallationFormStep1.Show()
Me.Close()
End Sub
Now, when the user clicks on the EULA accept button (btnAcceptEULA)
the frmInstallationFormStep1 will correctly load but the
frmDisplayEULA screen (the one showing the license) doesn't close. If
I add a frmDisplayEULA.Close() call in my LOAD() sub of my
frmInstallationStep1 nothing happens OR the entire application closes
when the frmDisplayEULA is closed.
Can anyone tell me a sensible and correct way to accomplish this? I
KNOW it's simple but it's driving me batty!
Thanks,
Anthony
I'm pretty new to VB.NET and I've run into a snag that I'm not really
sure how to get around. I'm writing an application that shows a
splashscreen, then a license agreement. When the user clicks 'I
accept' to accept the license agreement, the form is supposed to load
the main application screen and close the license agreement screen. I
have the following code to accomplish this:
Private Sub btnAcceptEULA_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnAcceptEULA.Click
frmInstallationFormStep1.Show()
Me.Close()
End Sub
Now, when the user clicks on the EULA accept button (btnAcceptEULA)
the frmInstallationFormStep1 will correctly load but the
frmDisplayEULA screen (the one showing the license) doesn't close. If
I add a frmDisplayEULA.Close() call in my LOAD() sub of my
frmInstallationStep1 nothing happens OR the entire application closes
when the frmDisplayEULA is closed.
Can anyone tell me a sensible and correct way to accomplish this? I
KNOW it's simple but it's driving me batty!
Thanks,
Anthony