Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECT() Command
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
CREATEOBJECT() Command
Miscellaneous
Thread ID:
00440743
Message ID:
00440743
Views:
61
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
www.epicsolutions.net
Next
Reply
Map
View

Click here to load this message in the networking platform