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 |
Difference Types of Procedures in VB?
How to down load image properties.
Is there a way to break long lines in VB code?
Types of DBCombo boxes
Data Control missing from toolbox when I use VB under NT3.5. Why?
How can you get selected file from file system Control?
What is the use of Immediate, Local Window?
What is the difference between early binding and late binding?
What is binding? What are types of binding?
what is Type Library and what it's purpose?
To set the command button for ESC, Which property needs to be changed?
What is Dll?
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)