|
-
Feb 28th, 2002, 04:47 AM
#1
Thread Starter
Addicted Member
What is a module?
Hi Everybody,
Can anyone please tell me what is a module? Why do we need it? And situations where we have to use a module. What is so special about the submain fundtion?
Regards
Samir
-
Feb 28th, 2002, 05:01 AM
#2
-= B u g S l a y e r =-
A module is where u put all the functions and subs that u want all the forms in u'r app to reach.
The Sub Main is special, because u can set u'r app to use this sub as the startup object.
-
Feb 28th, 2002, 05:03 AM
#3
hi,
modules are mainly use to define the public functions and variables There are class modules also.
why don't you have SEARCH on the forum, with module keyword, you can gather more information
Gary
-
Feb 28th, 2002, 05:05 AM
#4
Addicted Member
Standard modules (.BAS name extension) are used to stored procedures and declarations commonly accessed by other modules in the application. They can contain global (available to the whole application) or module-level declarations of variables, constants, types, external procedures, and global procedures. The code that you write in a standard module isn't necessarily tied to a particular application.A standard module can be reused in many different application
As for sub main () , sometimes when u start a application , you may want it to start without any form_load() events occuring initially
-
Feb 28th, 2002, 05:14 AM
#5
Thread Starter
Addicted Member
Thanx everybody
Hi,
Thanx everybody for ur information.
Regards,
Samir
-
Feb 28th, 2002, 05:22 AM
#6
Bouncy Member
Originally posted by champgary
...why don't you have SEARCH on the forum, with module keyword, you can gather more information
Gary
how many threads?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|