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 |
How would you create your application in DHTML?
How do I create a new form in visual basic?
___ is a property to resize a label control according to your caption.
What is database vb?
Why doesn't "my string" & Chr$(13) do what I want?
What is controls in vb?
Explain the differences between ActiveX Dll and ActiveX Exe?
What is the difference between early binding and late binding?
Explain the working with task in Gantt chart view.
what are the Types of LockEdits in RDO?
What are the tools available for Debuggiu in VB?
How can I access a record by record number?
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)