What is the difference between Dim nCount as Integer vs Dim
nCount% and when would you use each?
Answers were Sorted based on User's Feedback
Answer / parmanand
Your answer is wrong "Priti Wankhede" .... % is one way to declare variables in VB there you need not to tell the type. % it self tells the type is integer :)
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / saravanapandian.p
% is anoter way to declare variables in VB there is no need
to tell the type. % it self tells the type is varient
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / priti wankhede
First variable datatype is Integer and Second variable
datatype is variant, because by default daya type in VB is
Variant, there is a difference.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / srikanth
% is anoter way to declare variables in VB there is no need
to tell the type. % it self tells the type is integer
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the use of command Object?What are the various types of variables?
How will you retain the values of existing elements in a dynamic array when you want to alter the array size?
1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report
what is different between edit and update?
What is the difference between Property Get, Set and Let.
What is the default property of datacontrol?
What is the use of progress Bar Control?
How good are you in VB?
How to get free file location in memory?
what are the types of cursors in DAO?
What do you know about chaining views.
what are the Controls which do not have events ?
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)