Can Redim be used to declare a new array ?

Answer Posted / padma

M. chitramala is right. Redim is to resize the exiting
array variable.

sample:
Dim myarray() as string

Redim myarray(10)

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about form creation in Visual Basic?

579


What is the use of parameters collection?

1561


How do I program the Novell NetWare API from VB?

975


What is the use of Hyperlink control for DHTML applications?

1938


How would you Create a Query Builder and Explain its uses ?

1630






How do I force a file dialogue box to reread the currect disk?

962


Is visual basic c#?

515


what are the different Types of Recordsets.

1550


Is a foo VBX/DLL available as shareware/freeware?

1187


____ is the difference between Listindex and Tab index.

1321


What is the use of Visual Basic Document file?

1489


I get a "file not found" error on the IIF function when I distribute by program. Why?

1057


What is shortcut menu and explain "The ole control's shortcut menu".

567


Are there any examples of commercial applications built using Visual Basic?

1261


What is the difference between adodc and adodb in vb?

505