Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run Excel in VFP9 in different version of Win OS?
Message
 
To
27/06/2007 21:51:04
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01235914
Message ID:
01236199
Views:
13
>Hi,
>I just key in your code in my program.
>
>
>
>TRY
>  oExcel = CREATEOBJECT([Excel.Application])
>CATCH
>   MessageBox([There is no EXCEL installed])
>ENDTRY
>oExcel.visuable = .t.
>
TRY
  oExcel = CREATEOBJECT([Excel.Application])
  oExcel.WorkBooks.ADD()
  oExcel.Visible = .t.
CATCH
   MessageBox([There is no EXCEL installed])
ENDTRY
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform