what are the Differences between variables defined as
public in a standard module (.bas) file and a Class file?
Answers were Sorted based on User's Feedback
Answer / pratap557
In Module , global variables are declared, whereas in class
file unless one creates the class instance , cannot get the
variable declared in the public section of that class
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / jojo
i bas All the variable are public by default u can access
the variable throughtout the project.
In class u need the instance of the class called object to
access it
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the difference between a Sub and a Function?
How would you create properties by using class Builder Wizard?
DHTML Is used for what?
Is the Access Engine and Visual Basic Pro good enough for database work?
Explain Default cursor Type and LockEdits type in RDO?
What are the types of API Types?
Why we need a MDI form? How can we make a form as a mdichild form?
How can you read content from file?
what is the Difference between Tabletype and Snapshot?
What is the difference between a Property Let and Property Set procedure?
what you know about databases?
What is the difference between queryunload and unload in form?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)