"Zytan" <(E-Mail Removed)> schrieb:
>> Any recommendations?
>
>>From an MVP (Cor):
> http://groups.google.com/group/micro...fa6556bc656471
> "There is never a reason to use a module execpt if you have that
> already in
> your VB6 converted program."
>
> Exactly what I thought. Good enough.
Well, I have to disagree.
Personally, I do /not/ use modules to store variables and program state. I
use modules only in very few cases: The project's main entry point is
placed in a module 'Program'. In addition, common functions are placed in
modules if their use makes sense throughout the project, similar to
"Microsoft.VisualBasic.dll" and its modules. In this case modules are used
to structure a huge set of functions, but make them easily accessible in
IntelliSense everywhere.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>