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



what are the Differences between variables defined as public in a standard module (.bas) file and ..

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

what are the Differences between variables defined as public in a standard module (.bas) file and ..

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

Post New Answer

More Visual Basic Interview Questions

What is dao in vba?

0 Answers  


How would you attach an ActiveX control in Your Application?

0 Answers  


what are the Differences between Recordset and Resultsets?

0 Answers   IBS, Lava International,


Explain about creating VB applications in excel?

0 Answers  


How many ways we can access file using VB?

0 Answers  






How would you create your application in DHTML?

0 Answers  


What is vbs file?

0 Answers  


what is the difference between procedures,attributes and functions?

1 Answers   Microsoft, Patni,


How many system controls are available ?

3 Answers   HCL,


How would you define and use a Boolean in VB?

2 Answers   Asteroid Software Services, Microsoft,


what are the Types of Resultsets?

0 Answers  


It is possible to access Text (x.txt) files? Explain.

1 Answers   TCS,


Categories