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

Explain about form creation in Visual Basic?

0 Answers  


Types of LockEdits in DAO?

0 Answers  


what is different between edit and update?

5 Answers   Wipro,


To find the current recordposition in data control.

0 Answers  


To validate a range of values for a property whenever the property values changes,which type of property procedure you use?

1 Answers  






How do I dial a phone number without using the MSCOMM VBX?

0 Answers  


How to control the file?

0 Answers  


How would you access objects created in ActiveX Exe and ActiveX Dll

0 Answers  


How would you create properties in ActiveX Control?

0 Answers  


Can We create CGI scripts in VB?

1 Answers  


How would you declare and raise custom events in a class?

1 Answers  


how to validate the pop up window Example :assume there is an webpage in that webpage we had a button to browser or file to upload . how to validate this button if we click on that botton window should appear else back to the page i need in VB Script Code since i am using QTP for testing

1 Answers   Sapient,


Categories