>I'm trying to create a ProgressBar with this command:
>Thisform.AddObject('progress', 'mscomctllib.progctrl.2')
>
>But when I try to do it (from init event) I get the following error message:
>Object class is invalid for this container.
>
>What do I have to do to get this to work?
>
>/Mårten Törnquist
In VFP 6:
oForm.AddObject("oleProgress", "olecontrol", "MSComctlLib.ProgCtrl.2")
Mark McCasland
Midlothian, TX USA