Good afternoon.
I would very much appreciate some assistance in constructing a custom array in VB.NET (not C#). I've recently made the switch from VBA to VB.NET and must admit I'm loving it! However, I've now come across a problem and evidently a large gap in my programming knowledge.
Essentailly, I need to create a custom array, compiled from custom arrays, that details a construction site.
The array at the top level will be buildings, within each building entry will be an array of floors, and then within each floor entry will be the zones of the floor. At each level there will also need to be another array for names (so building names, then floor names, but not zones names as this is all that needs to be stored at the bottom level).
The number of buildings on the site, floors in each building and zones in each floor in each building can all be different from job to job. And this where I'm stuck.
Back in my VBA days I would have just declared a few Public Types for zones, levels and buildings, and would have stacked them as undefined arrays within each other, but that's not an option in VB.NET (and probably a bodge anyway!)
So would very much appreciate any and all assistance with this. I've had a look at Structures, but don't think that's the way forward. I've included a rough diagram of what I'm trying to acheive, in case it helps.
Thanks very much
Graham
