ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Visual Basic
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
what is differece b/w Module and class Modules in vb6?
thanks
 Question Submitted By :: Zeeshan
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is differece b/w Module and class Modules in vb6? thanks
Answer
# 1
standard module:

1)place for variable declarations,procedures etc.and we can 
access these procedures wherever needed in the project.

2)Available only for the existing modules where they are 
used.

class module:

1)Unlike standard module,members of class like object's 
properties,events can be accessed only whenever an instance 
of class is created.

2)We can make use of it whenever an object reference of the 
particular class is created for number of applications
 
Is This Answer Correct ?    9 Yes 3 No
Anonymous
 
  Re: what is differece b/w Module and class Modules in vb6? thanks
Answer
# 2
Module
Code  in VB is stored in modules.
Thereare three kind of modules, Class modules, Form modules 
and Stendard modules.
In VB there are common codes we want to execute in several 
forms. We do not want to duplicate the code in all forms, 
we create a separate module containing the procedure that 
implements the common code. This separate module should be 
Standard module.

Class Module
Class modules (.CLS extension) are foundation of object 
oriented programming in VB. We can write code in class 
modules to create new objects. These new objects can 
include our own customiaed properties and methods, although 
custom objects can not have their own events.
We can also use the keyword, New to create multiple copies 
of our objects.
 
Is This Answer Correct ?    8 Yes 1 No
Kumari Santosh
 
 
 

 
 
 
Other Visual Basic Interview Questions
 
  Question Asked @ Answers
 
What is Dll?  2
Record set types and Number available in Visual Basic?  1
How to check the condition in Msgbox?  3
Difference between Recordset and Querydef? 3i-Infotech1
what is the Need of zorder method?  1
what is the Default property of datacontrol ?  1
What is Dataware Control?  1
What is Static Variable?  3
Is there any Edit method in ADO Data Access method?  2
What is the purpose of the AutoRedraw property on a form or container?  2
Whats the advantages/disadvantages of using datacontrol vs DAO/ADO/RDO? Teledata1
List out the ADO objects?  2
What are the types of API Types?  1
What is a Component?  1
How can objects on different threads communicate with one another?  2
What is the Dll required for running the VB?  1
which property is used to lock a textbox to enter data?  2
What is the use of debug Window?  1
What is pivot table and how to create a pivot table  1
Can Redim be used to declare a new array ? Infosys8
 
For more Visual Basic Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com