Or better: Make oApp private (the default)...it will be visible everywhere below the main program.
>>I suppose I can just make a global variable.
>>
>>Thanks for all the help guys.
>
>Or, it might be a good time to create an application class and add that as a property to the class. You could also maintain a variety of other session info, such as user login, etc. When you run the application, create the application object and assign it to a public variable. It's more oopy and will reduce the chance of collision with other variables.
>
> Jay
Steve Gibson