Hi, I am using Visual Basic 5 Learner's edition on a HP envy laptop running Windows 7.
I have written some fairly unsophisticated , but quite useful routines for my personal analysis of the UK 6 from 49 lottery.
For my purposes I have created a 7x7 "grid" consisting of an array of labels (i.e. label1(0) to Label1(48) and have written code to analyse various properties of the patterns generated in each game.
I am only looking at the main numbers, which I visualise on the grid by assigning a vbred backcolor property to each of the selected numbers. (see attachment)
I had thought that counting the number and size of the "blocks" ie highlighted numbers adjacent, in this case, only 2 Blocks, 1 of 5 squares and 1 of 1, would be fairly straightforward , but I am completely stymied.
I have used grids with arrays and without arrays, with extended arrays and with many types of sub-routines utilizing the backcolor property,and invoking other properties, and then analysing the surrounding squares of each selected number, but in the end I have been unable to differentiate between the separate blocks.
I only end up drawing flow diagrams which when coded, work fine to a degree, but ultimately fail to differentiate one block from another. Any help would be greatly appreciated.
I have written some fairly unsophisticated , but quite useful routines for my personal analysis of the UK 6 from 49 lottery.
For my purposes I have created a 7x7 "grid" consisting of an array of labels (i.e. label1(0) to Label1(48) and have written code to analyse various properties of the patterns generated in each game.
I am only looking at the main numbers, which I visualise on the grid by assigning a vbred backcolor property to each of the selected numbers. (see attachment)
I had thought that counting the number and size of the "blocks" ie highlighted numbers adjacent, in this case, only 2 Blocks, 1 of 5 squares and 1 of 1, would be fairly straightforward , but I am completely stymied.
I have used grids with arrays and without arrays, with extended arrays and with many types of sub-routines utilizing the backcolor property,and invoking other properties, and then analysing the surrounding squares of each selected number, but in the end I have been unable to differentiate between the separate blocks.
I only end up drawing flow diagrams which when coded, work fine to a degree, but ultimately fail to differentiate one block from another. Any help would be greatly appreciated.
Comment