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                      
tip   SiteMap shows list of All Categories in this site.
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
 SharePoint interview questions  SharePoint 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 ?    23 Yes 5 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 ?    27 Yes 4 No
Kumari Santosh
 
 
 
  Re: what is differece b/w Module and class Modules in vb6? thanks
Answer
# 3
class module
    It is a user defined datatype.
    It have datamembers(methods and variables).
    It can be accesed by creating the instance called 
object if the class is not static. If the class is static 
then it can be acessed using classname.datamember when 
datamember is public.
    Protected datamember can be accesed only by the first 
inherited class.
    Private datamember can be accesed only inside the main 
class.
 
Is This Answer Correct ?    1 Yes 6 No
Jerald
 

 
 
 
Other Visual Basic Interview Questions
 
  Question Asked @ Answers
 
reading lines from a file by searching a word(instr) and copying to other textfile,but its only copying only one line but there are some other lines match criteria but not copying to the files  1
Difference between ByRef and ByVal?  1
What is the max size allowed for Msgbox Prompt and Input Box? IBM3
what are Collections?  1
How good are you in VB? Satyam1
What is OLE? Explain.  1
What is the purpose of the DoEvents command?  2
Different types of Passing Value?  1
In visual source safe if in middle of my program power was off and it was not save then wat will happen whether it will save or not? can any body tel me the answer for this. Wipro7
What is the difference between Object and Class?  2
What are the types of Error?  1
What is the use of debug Window?  1
what are the Control Categories?  1
How can you save and Get data from Clipboard?  1
which arguments will be used to run a executable program in shell function ?  1
Besides Standard Exe what are other types of projects in VB?  2
How many no of controls are there in form? Satyam1
What does the NewIndex property return?  1
what are the Differences between Modal and Modaless forms?  1
what is the Advantage of ActiveX Dll over Active Exe ?  1
 
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