Hi Patrick,
It's not a top level form but I do have to have it as modeless. I'm trying to have it work in such a way that the Main form for the application is opened after the logon when the app starts. It's the form where the user(s) will be doing most of their work. But I also want to be able to close it without closing the app to be able to do some maintenance work without having to worry about tables in use. With it being modeless, they can open other modal forms while the main form stays open.
Arriyel
>i was under the impression that your top level form had to be
>a modeless form. i've never been able to have it work any other
>way either.
>
>FWIW. and i haven't tried this ... but if the form really MUST
>be modal for some reason, instead of calling the form from a main
>program, where the main program is the MAIN object of your project,
>set the form to be the MAIN object of your project and call your
>code (your "main program") from within the Load event or Init event
>of the form.
Speak using soft and sweet words in case you have to eat them later.