Can Redim be used to declare a new array ?
Answer Posted / amy
Array's and strings are immutable..ie...the same array and
string cannot be increased or decreased but a new memory(a
new size can be declared here) is allocated and by using the
preserve keyword the old data is copied onto to the new array.
Now copying from old to new is lengthy procedure...though it
happens internally it will still have a major impact on the
performance of the program. To overcome this we can go for
Collections in Array's and String builder for strings.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Difference between Dynaset and Snapshot?
How many File System Controls are there ? Explain.
which method used to move a recordset pointer in nth position in DAG?
___ Property is used to count no. of items in a combobox.
What is the difference between c++ and visual basic?
what are the Differences between ActiveX Control and Standard Control?
It possible to call OLEDB?s Features directly in VB without using any control?
Why do I get "object not an array" when I try reference the fields of a global object variable which I have set to a table?
Difference between Class Module and Standard Module?
Data Control missing from toolbox when I use VB under NT3.5. Why?
Can you tell me the properties of the controls?
what are the Types of LockEdits in RDO?
Whether HTML supports multimedia: and document links?
by writing MACRO CODE,i want to retrive data from one spead sheet to another UI (workbook). control will search cell by cell for each row and load the data in another workbook(UI). ex: custdetails custname lastname locaton mobile pincode custdetails raj tony hyd 555555 521245 servcreqrd srvce# srvcename location srvcepincode servcreqrd 754 drilling hyd 521784 for the above example in the another workbook retrive data like this custname Raj srvce# 754 srvcepincode 521784. while retrieving data control will search cell by cell for each row.
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?