OK, I thought taking a Beginner VB class couldn't be bad. So far its been ok. I am currently getting my butt kicked by a simple take home assignment on constructing and using arrays.
Software: Visual Basic 6 Working Model Edition - NO HELP many features are stripped out / greyed out / disabled.
Text: Programming in VB 6.0 by: J.C. Bradley & A.C. Millspaugh
Project is to set up an Array of seven properties, sort through the array and cull qualified properties to a Text Box. The data is a fixed list of properties: their Address, Price, and defined Area.
The upper portion of the Prog Window uses two Option Buttons for selecting one of two Areas, a Combo Box for selecting and loading which of three defined price ranges, and a Command Button to execute the "cmd_Click()" sort loop through the arrays of Price, Area, and Addresses, using "Case Select" and then list the qualified properties to a Text Box in the lower portion of the form.
I have the Form, as well as a nice Splash screen, but the Dim and Array portion of this is kicking my butt up and down the street.
My problem is primarily in Array / Form Load, and Dim area. Ya, I know - that's everything. : ) At least, right now it is.
Any help on methodology for defining address, price, and area, and assembling this with syntax into array construction would be appreciated and welcome.
I have already invested a quite a fair amount of time wandering aimlessly through the woods, after dark, with a blindfold, trying to get this done.
Thanks & cheers, Freeman
Software: Visual Basic 6 Working Model Edition - NO HELP many features are stripped out / greyed out / disabled.
Text: Programming in VB 6.0 by: J.C. Bradley & A.C. Millspaugh
Project is to set up an Array of seven properties, sort through the array and cull qualified properties to a Text Box. The data is a fixed list of properties: their Address, Price, and defined Area.
The upper portion of the Prog Window uses two Option Buttons for selecting one of two Areas, a Combo Box for selecting and loading which of three defined price ranges, and a Command Button to execute the "cmd_Click()" sort loop through the arrays of Price, Area, and Addresses, using "Case Select" and then list the qualified properties to a Text Box in the lower portion of the form.
I have the Form, as well as a nice Splash screen, but the Dim and Array portion of this is kicking my butt up and down the street.
My problem is primarily in Array / Form Load, and Dim area. Ya, I know - that's everything. : ) At least, right now it is.
Any help on methodology for defining address, price, and area, and assembling this with syntax into array construction would be appreciated and welcome.
I have already invested a quite a fair amount of time wandering aimlessly through the woods, after dark, with a blindfold, trying to get this done.
Thanks & cheers, Freeman