LOL, thanks for the wake up call Phil.
I'm still fairly new with VB altogether and I was never sent to any classes,
just kind of thrown in the deep end. There was a consultant here who did
that all the time and when he left, I took over his code so since that was
the first 'reference' to real-world code, that's what I picked up on. It
looked clean and being the neive new guy, I figured that was the way to do
it.
Anyrate, I appreciate the feedback on this, and I guess I'll keep an eye out
on finding the better path.
-Rich
"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:bo**********@yarrow.open.ac.uk...
"Rich Wallace" <ri**********@minusthecannedmeat.jfsheadotcom> wrote in
message news:%2****************@TK2MSFTNGP11.phx.gbl...
. . . . . . add a module to . . . declare all of the variables I was going to
use throughout the entire application
Rich,
Please, /please/, *please* tell me you don't actually mean that!
<flashback type="scary" image=" DATA DIVISION">
Global variables in an application of any size almost inevitably leads
to problems, unwanted side-effects and some real run-time horror
stories. The very thought of having /everything/ as Global just gives
me the Heebie-Jeebies... ;-)
Regards,
Phill W.