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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 the difference between procedure and functions in VB?
 Question Submitted By :: Honeysukumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between procedure and functions in VB?
Answer
# 1
A procedure is a set of code that does the work but does 
not return a value whereas a function accepts parameters 
and does the calculation and does return a value back.

Thanks!

Check out: Free computer eBooks download!
http://ebooksfree.brinkster.net
 
Is This Answer Correct ?    28 Yes 4 No
Aftab
 
  Re: What is the difference between procedure and functions in VB?
Answer
# 2
Funcion returns the value and proocedeur does not return 
the value
 
Is This Answer Correct ?    19 Yes 3 No
Prahant
 
 
 
  Re: What is the difference between procedure and functions in VB?
Answer
# 3
1.Procedure accept input output parameter But function  
accept only input parameter.
2. Function return the value but procuder not return the 
value.
3.Some Condition procedure return the value like text, 
ntext,timestemp data type value but function not return 
text,ntext,timestemp value
 
Is This Answer Correct ?    16 Yes 6 No
Javed Isa
 
  Re: What is the difference between procedure and functions in VB?
Answer
# 4
Procedure is a bundle of code it does not have return type
Function Have return type and take only input Parameater
 
Is This Answer Correct ?    15 Yes 3 No
Anjani K Singh
 
  Re: What is the difference between procedure and functions in VB?
Answer
# 5
procedure is block of statement that doesnot return 
value,function is accept parameters and return output
 
Is This Answer Correct ?    9 Yes 2 No
Vipin Tp
 
  Re: What is the difference between procedure and functions in VB?
Answer
# 6
What is deffrent between Procedure and Fuction ?
ans.1	A procedure is a set of code that does the work but 
does 
	not return a value whereas a function accepts 
parameters 
	and does the calculation and does return a value 
back.

 	Funcion returns the value and proocedeur does not 
return 
	the value
	1.Procedure accept input output parameter But 
function  
	accept only input parameter.
	2. Function return the value but procuder not 
return the 
	value.
	3.Some Condition procedure return the value like 
text, 
	ntext,timestemp data type value but function not 
return 
	text,ntext,timestemp value
	Procedure is a bundle of code it does not have 
return type
	Function Have return type and take only input 
Parameater
	procedure is block of statement that doesnot return 
	value,function is accept parameters and return 
output
 
Is This Answer Correct ?    4 Yes 0 No
Ramani Ghanshyam P
 

 
 
 
Other Visual Basic Interview Questions
 
  Question Asked @ Answers
 
What are the different compatibility types when we create a COM component?  1
List out the ADO objects?  2
What are the Style properties of List Box?  2
HTML stands for What? Use of HTML ?  1
How can we call Stored procedure of Back End in RDO and ADO ?  1
what is the Default property of datacontrol ?  2
How many types of ActiveX Components are there in Visual Basic and what are they?  2
which arguments will be used to run a executable program in shell function ?  1
how many no of controls in form? Airex-Logistics15
WHAT IS DIFFERENCE BETWEEN Message box and image box  8
What is the need of z-order method?  1
What is ODBC?  1
What is OLE and DDE? Explain?  1
List out controls which does not have events ?  1
I want to develop a stand alone application which can communicate with the existing applications in the system. On which this application should be based on: Standard Exe, Active-X Exe, Active-X Dll.  2
How many MDI(multiple document interface) forms can include in one project(especially in visual basic)? Satyam2
Which tool is used to configure the port range and protocols for DCOM communications?  1
How would you define and use a Boolean in VB? Microsoft1
CONNECTIVITY OF SQL 2000 + VB USING ODBC. steps i Follow- 1) Go to Control panel-->Admintrative Tools-->Double -click Data sources(ODBC)-->click Add button-->I choose SQL server (last option), Is it right or wrong option for connecting to SQL 2000.Then a new screen appears Create a New dataSource-->in name textbox,we can write anyname--Right or wrong. suppose i enter sonia, & my server name is .,so I enter . in server & click next button-->On the Next screen i have checked the option With Sql server authentication-- >Login Id-sa, Password-->Blank-->Click next button-->Next-- >Finish-->Then I click on button Test Data source-->Mesage Comes TESTS COMPLETED SUCCESSFULLY-->OK-->OK-->Ok. These steps we have to do or not for Connectivity using ODBC. If yes,then what after these steps we have to do??Plz reply me early ??Thx in advance.  6
How do you clear the current selected item from a drop down combo box?  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