You can create a form and code associated with it in the main project
file.
Make a serial # form and set it to not be autocreated at run time...
Do some checks for valid serial numbers already logged in and if valid,
don't bother to create the Serial # form, just go ahead to allow the
app to start normally..
If you do need to show the form, you can create the form inline at
that point and then show it. You don't need Tapplication to do that for
you. The form will return or set some property, like the (Tag) for
example, that will indicate the results, before you close it.
Jamie