October 25, 2001

DevX - Software Development Resource

Switch a Combo Box Sort from Alpha to Number

Don’t forget to turn off the .sorted property on the combo box before calling! ResortCboFromAlphaToNum cboAbcPublic Sub ResortCboFromAlphaToNum(cc As ComboBox) ‘resorts given combobox from alpha sort (usual) to numeric sort

DevX - Software Development Resource

A VB Code Generator

Sometimes you want to initialize arrays with values, but you can’t because you’d have to provide values explicitly. There is a way to generate these kinds of assignment statements.Say you

DevX - Software Development Resource

Lock Controls, Don’t Disable Them

You should lock controls (that have the .locked property) rather than setting .enabled = false.Why? Grey text in a disabled field is less readable. Also, blank fields give no indication