Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't this work? Scope? Non-VFP object inside a VF
Message
From
05/03/2001 12:48:38
 
 
To
05/03/2001 12:42:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00481943
Message ID:
00481947
Views:
12
I haven't tested your code, but I think what's happening here is that ExcelObject is a property of your Exobj object which will contain a reference to an Excel application object. You need to initialise your properties with :

Function init
this.ExcelObject=createObject("Excel.Application")
this.ExcelObject.Visible = .F.

Function show
this.ExcelObject.visible = .T.

Best wishes,
Neil
Previous
Reply
Map
View

Click here to load this message in the networking platform