|
-
May 8th, 2005, 04:46 PM
#1
Thread Starter
Addicted Member
General Question about Array Lists [Resolved]
Hey guys,
Can an array list be multidimensional? I doubt it can be if it can't can you create a hashtable that has more then one value to each key?
Last edited by Porsche944; May 9th, 2005 at 08:02 AM.
-
May 8th, 2005, 05:05 PM
#2
Re: General Question about Array Lists
I dont think it can be multi-dimentional. I double checked and I couldnt find anything stating otherwise. Besides the .CopyTo method
can only be used to copy elements to another one dimensional array.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 8th, 2005, 05:54 PM
#3
yay gay
Re: General Question about Array Lists
Well, if you code it well you can instantiate an arraylist object for each object of the main arraylist, thus creating a virtual multidimensional arraylist
\m/  \m/
-
May 8th, 2005, 06:02 PM
#4
Re: General Question about Array Lists
True, like a collection of collections.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
May 8th, 2005, 06:53 PM
#5
Thread Starter
Addicted Member
Re: General Question about Array Lists
thats a lot of coding when I just need two values for each item in the array or key.
I could have swore there was something that worked with keys that could have two values.
-
May 8th, 2005, 07:18 PM
#6
Re: General Question about Array Lists
Create your own class that holds all the required fields, keep adding those objects to an arraylist.
-
May 9th, 2005, 08:02 AM
#7
Thread Starter
Addicted Member
Re: General Question about Array Lists
 Originally Posted by mendhak
Create your own class that holds all the required fields, keep adding those objects to an arraylist.
Good idea that's what I'm talking about
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|