Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open xls file
Message
From
23/08/2007 10:35:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Open xls file
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249856
Message ID:
01249856
Views:
65
Hi,

I want to add a button to help user open a xls file.
Program as below : -

Mybutton.click
--------------
QQQ = "C:\TEST.XLS"
oShell = CREATEOBJECT('WScript.Shell')
oShell.Run( (QQQ) )


It can work
But i will get error when QQQ = "C:\MY FILE\TEST.XLS".
Is't there was spacing inside QQQ ??

Can you tell me how to do it ?
Next
Reply
Map
View

Click here to load this message in the networking platform