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 |
Explain about form creation in Visual Basic?
Types of LockEdits in DAO?
what is different between edit and update?
To find the current recordposition in data control.
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
How do I dial a phone number without using the MSCOMM VBX?
How to control the file?
How would you access objects created in ActiveX Exe and ActiveX Dll
How would you create properties in ActiveX Control?
Can We create CGI scripts in VB?
How would you declare and raise custom events in a class?
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