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

List out controls which does not have events ?

1 Answers  


What areTypes of compatability in VB and their usage ?

4 Answers   MBT,


what are the differences between image and picture controls?

3 Answers  


How many ways we can access file using VB?

0 Answers  


What are the uses of List View Control?

0 Answers   Atul Auto,






which Property is used to count no. of items in a combobox?

1 Answers  


What is the use of Scalewidth and ScaleHeight Proeperty?

0 Answers  


How should dates be implemented so they work with other language and country formats?

0 Answers  


What is Tabstrip control? What is the starting Index value? How to locate it?

1 Answers  


What do you mean by provider?

0 Answers  


What is Database Connection pooling (relative to MTS)

1 Answers  


What is DBSqlPassThrough?

0 Answers  


Categories