Results 1 to 7 of 7

Thread: [RESOLVED] Adding new item to array

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Flashbond's Avatar
    Join Date
    Jan 2013
    Location
    Istanbul
    Posts
    646

    Resolved [RESOLVED] Adding new item to array

    Hi Guys!

    .NET has pretty good functions to add new items to an array. Is there anyway to do it with vb6, too?
    Because, you know, "Redim Preserve" is a bit bulky. It is backing up the old keys in the memory, redimensioning the array and restoring the old keys. It is a huge waste of tme. Also you need one line more to load your key to the new dimension.
    I just want something like Array.Add = MyArray("3").

    Any suggestions?

    Thanks a lot!
    Last edited by Flashbond; Feb 22nd, 2013 at 08:08 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width