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 recordset in visual basic?

0 Answers  


What are the new events in textbox that has been included in VB6.0

1 Answers  


Q1. A. Discuss the various types of variables. B. How to control the file? Q2. A. How the image application? B. Write short notes on trees structures work. Q3. A. How to load and unload child forms. B. When should we use recursive programming Q4. A. Write short notes on "The ole control's shortcut menu" B. How to test the AX stat class Q5. A. How to use advanced data-bound controls. B. Write notes on manipulating the recordset object Q6. A. What is script control? B. How to down load image properties. C. What is meant by building a recordset.

1 Answers   Infotech,


how to make unlimited id(1rimjim,2rimjim,3rimjim....etc) login grp chat pogram for jabber?

0 Answers  


what are the Differences between ActiveX Control and Standard Control?

0 Answers   Wipro,






Explain about manipulating the recordset object

0 Answers  


What are the types of Error? In which areas the Error occurs?

0 Answers  


Parts of ODBC?

0 Answers  


how can i connect the samble database that comes with vb-6 (biblio.mdb) to a datagrid using code? ie what code i have to put in load event

1 Answers  


Whether HTML supports multimedia: and document links?

0 Answers  


Explain about trees structures work.

0 Answers  


Explain what is Visual basic?

0 Answers  


Categories