
Avoiding load of 32-bit custom control using 16-bit Visual Basic 4.0
Dear VB guru,
I'd like to avoid having two different versions (32-bit and 16-bit) of the
same form. I'm using the comctl32.ocx's ProgressBar control in my 32-bit
VB4 program. There is no 16-bit version. Unfortunately, I still must
support 16-bit users.
I haven't found a way to get VB4 to avoid trying to load the control when
running in 16-bit mode. The #if win32 doesn't work (causes a failure to
load the form) in the "begin end" blocks in a ".frm" file.
One idea is to load the control "dynamically" at run time when the form is
loaded but I don't know if this is possible.
Thanks for your help.
George