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 type of multi-threading does VB6 implement?
Is it possible to set a shortcut key for label?
What is view Port?
what are the Differences between variables defined as public in a standard module (.bas) file and a Class file?
Maximum Control Names length?
What are the Technologies for Accessing Database from Visual Basic?
What is the default model of the form?
What is the use of Active Control Property?
What is the difference between Msgbox Statement and MsgboxQ function?
In which areas the Error occurs?
What is DSN?
Is it possible to call backend procedures with ADO 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)