Hiya Doug,
Generally speaking, in my apps I use oApp to hold properties that are global in scope (like the old PUBLIC memvars) and methods that are also global (like generating primary keys). I instance other global "application" objects by function. Anything calling external COM servers gets it's own management object.
But, my friend, sometimes I just get lazy and throw everything into poor, old oApp. On small to medium applications, there is no compelling reason not to. Now the OOP snobs will have my butt with that one :-)
>At the risk of starting another range war *g* I was wondering what the
general thought was regarding where to find the best Application Object example is?
>
>Essentially, I'd like to get a little feedback regarding how various folks implement and create Application Objects.
>
>Form Managers, Security managers, etc.
>
>I'm building one of my own now and was looking for ideas and 'gotchas'.
>
>Thanks!
>
>DD
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05