Microsoft
Software
Hardware
Network
Question : VB 2008 - Programmatically updating controls from an array
I have a user control that includes a collection of oval-shape controls. I want to update the fill color based on the content of an array of structure variables. I need a way to programmatically select the right oval-shape control based on it's name. Something like this (but works!)...
For x = 1 to 10
Control.Name("Well_A" & x).FillColor = array(x).groupcolor
Next x
Thanks for your help.
Answer : VB 2008 - Programmatically updating controls from an array
Yeah...if they were normal controls then the approach you originally posted (and Paul_Harris_Fusion tried to extend) would have worked.
Unfortunately, though, the ShapeControls are an oddity!... =O
Random Solutions
Scheduling script to run every 10 minuts
the system cannot end this program because it is waiting for a response from you
Sharepoint Designer 2010 install error "Microsoft Office 2010 does not support upgrading from a prerelease version of Microsoft Office 2010"
MSExchangeIS Event ID 9582 every hour - on Exchange 2003
How do I make a database that stores data from a form with sections that have an unknown number of entries
Javascript / JSP not working properly
Clearing a submit form once submitted
Office Communicator 2005 Web Access wont load
CentOS 5.3: install: booting off USB: misunderstanding....is there a way I can INSTALL linux from an USB drive?
I need to read a text file and map it to an Access Table