I just finished the program im working on. Now im working on making an opening screen that pops up before the main program can run.

I created the register form after the main program. I need to find a way to have the main program check to see if its been registered (by looking for a file it creates on setup). If it is still in trial version, the main program needs to open up the register window BEFORE it loads anything.

So...

User clicks "main program"

Before main form loads everything(buttons, labels ...ect) it opens the register form. so all the user can do is interact with the register form. If they enter the key it will load the main form fully. If the user does not enter a register key the register form closes and so does the main form.

Make sence?

I need to know how to make the main form show the register form, without letting any of the main form be used.