Re: right way to call a form?
From: MP (nospam_at_Thanks.com)
Date: 11/16/04
- Next message: Ralph: "Re: DLL control + VB6 + VB.NET"
- Previous message: Ralph: "Re: VBA for VB developers?"
- In reply to: Randy Birch: "Re: right way to call a form?"
- Next in thread: Randy Birch: "Re: right way to call a form?"
- Reply: Randy Birch: "Re: right way to call a form?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 02:48:20 GMT
Awesome!
Thanks for the quick response.
"Randy Birch" <rgb_removethis@mvps.org> wrote in message
news:egQ9h23yEHA.3976@TK2MSFTNGP09.phx.gbl...
> Personally, for such a simple app, I'd move all the code from the bas
module
> into the form, change the declares from Public to Private, then add your
> interface controls and call your main routine from the command button.
<snip>
>initialize anything required later by the form (eg application
>defaults defined in the bas module
with that thought in mind, are api calls/constants special in any way that
makes it preferrable to have them in a bas module? I seem to see that
format where the constants and declares are in a bas module and the calls
are in a form. Or is it just that the samples I've seen are set up that
way? Or can they all be in the form like the other subs you mention above?
If you routinely
> found you used three of thirty methods of the class, then yes, make a new
> class with just those three methods.
cool, thanks again.
Mark
ps thanks for all your generosity of teaching. A huge percentage of the
tiny bit that I know about vb comes from the great samples generously
provided by you on your web site and here.
thanks
- Next message: Ralph: "Re: DLL control + VB6 + VB.NET"
- Previous message: Ralph: "Re: VBA for VB developers?"
- In reply to: Randy Birch: "Re: right way to call a form?"
- Next in thread: Randy Birch: "Re: right way to call a form?"
- Reply: Randy Birch: "Re: right way to call a form?"
- Messages sorted by: [ date ] [ thread ]