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 can you Implement windows functionality in VB?
What do you mean by ADO?
How does the following statements work? On Error Goto 0
Advantage of ActiveX Dll over Active Exe.
Wat is multithreading in VB?
Clear property is available in hich control?
What is the default workspace?
Can you create a tabletype of recordset in Jet connected ODBC dbengine.
Types of Modal windows in VB.
what are the Types of DBCombo boxes?
How should dates be implemented so they work with other language and country formats?
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)