Hi Peter, Thanks for that advice. What we are actually doing is creating our own base class, inherited from Form, and having all the applications inherit from the base class. This allows us to put various bits of communication, database and security plumbing into the base class where it is hidden from the developer. One of the standards is that the container program only calls methods on the base class.
In the frenzy of testing I thought I tried casting the ProgObj as our form base class type, but it didn't work. I'll go back and have another go. Regards, Jay Ayliff Stalis Ltd You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.