Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-01-2005, 02:50 AM   #1
Member (8 bit)
 
Join Date: Apr 2004
Location: Phoenix
Posts: 223
vb6 array issues

I'm having a tough time with arrays. I'm kinda new to them in VB6, since I used to mess around it a few years back, stopped, and recently decided to pick it up again. Ironically, in the past I was able to figure out the answer to this problem but have totally forgotten it since then.

To the problem: I'm trying to set up an array of which length is based on a user input. The compiler, however, does not like the idea of a variable used as the length upon array declaration. I then tried declaring the array with a single element and using ReDim Preserve, but the compiler only says "Array already dimensioned." I remember years back that somehow I successfully set up the redim preserve declaration. Does anyone know of an easy way to solve this (by easy I mean a few lines, not 10 or over like some other sites show)? Thanks
__________________
"Advancement is answering the questions, discovery is questioning the answers."
dataDude is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2