what is the difference between name property and caption
property in visual basic?
Answers were Sorted based on User's Feedback
Answer / pradeep kushwaha
caption property used for showing the lable of the control
and the name property is used as a identity of control in a
programm.name property is participate in process of excute
to event of specific control in a program
| Is This Answer Correct ? | 45 Yes | 13 No |
Answer / shreya sondur
name property is used to identify the objects or controls
placed on the form and the caption property is used to
display some label on that control.
| Is This Answer Correct ? | 39 Yes | 9 No |
Answer / pratibha soni
caption property is used for showing lable of control to user...and name property is used for system for identify the control.
| Is This Answer Correct ? | 18 Yes | 4 No |
Answer / bhart
name property tells about the form name with vich it is stored under the current project...where as cation is used for the the form vich is in front of us on vich we r working on...
| Is This Answer Correct ? | 28 Yes | 15 No |
Answer / yuvaraja sengodan
Main difference between 'Name' property and 'Caption'
property is, the 'Name' property value can not be changed
at run-time and the 'Caption' property value can be changed
at run-time.
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / vamshi
caption of a control is the one which is displayed on the
control but name is the property by which events of that
control can be called in coding window
| Is This Answer Correct ? | 13 Yes | 7 No |
Answer / sarhang
Answer 1: Name property tells about the visual basic tool used while caption property display the user input type/name.
Answer 2: Name property tells about the form name with vich it is stored under the current project…where as cation is used for the the form vich is in front of us on vich we r working on…
Answer 3: Caption property used for showing the lable of the control and the name property is used as a identity of control in a programm.name property is participate in process of excute to event of specific control in a program
Answer 4: Name property is used to identify the objects or controls placed on the form and the caption property is used to display some label on that control.
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / saurav
'Name' property tells about the form name while
'Caption' property display the user input type.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rohit parbat
in the name : you. Give the name that thode you.use In the project at the time of coding of project.
and caption is use for the display the use text .
like label having name and cation property .
you use the caption is user name.
and name is uname.
than caption is name is display the user name for . label and name this property is use like .
uname.caption="this label"
by using this code use chand the label text.
| Is This Answer Correct ? | 3 Yes | 5 No |
Is it possible to change menu runtime using API? If yes? Specify the function names.
How to find the current record position in data control?
What is diff between the Generic Variable and Specific Variable?
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.
How do I implement an incremental search in list/dir/combo/file boxes?
Name and define the logical tiers in a traditional 3-tiered architecture?
what are the three main differences between flexgrid control and dbgrid(Data bound Grid) control
What is the difference between Msgbox Statement and MsgboxQ function?
I belive VB6 is a powerful and matured tool that any other front end tool, why is it outdated? is it because of lack of awareness or because of difficult to use?
How would you attach pictures in column headers of List View Control?
Explain OLE Drag and Drop?
How can you get selected file from file system Control?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)