What is the difference between Dim nCount as Integer vs Dim
nCount% and when would you use each?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

It possible to call OLEDB?s Features directly in VB without using any control?

1612


What is the use of Tabledef?

1562


What is ado in vb?

518


With in the form we want to check all the text box control are typed or not? How?

1546


How many File System Controls are there ? Explain.

1567






Write the Steps in Creating an ActiveX Control?

1528


How do I add a form in visual basic?

517


How do I tell when an application executed using the SHELL command is finished?

1097


What is ActiveX Document?

1679


Scope of API's can be of types, what are they?

1494


Explain OLE Drag and Drop?

2049


What are the rules which should be followed while naming a variable in VB?

550


What is the use of Active Control Property?

1468


Which type of object requires this object?

1587


How many ways we can access file using VB?

1614