Hi Elgin
I think you need to put MY_Form.Show() and READ EVENTS in the form or in the .prg
HTH
Ariel Gimenez
>Why is it I can type frm=CREATEOBJECT("Form") in the VFP command window and >have an object created, but when I put it in a PRG file and run it the object >doesn't get created?
>
>What I'm trying to do in a startup.prg file is:
>
>SET CLASSLIB TO lcontainers
>frmSysParms=CREATEOBJECT("frmSys")
>
>Shouldn't that create an object named "frmSysParms" based on the >class "frmSys" located in the lcontainers Class Library?
>
>frustrated.
>
>Thank you for your help.
>
>Elgin
>Elgin Rogers
>Epic Solutions
Ariel Gimenez
our power is our knowledge