Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fill Excel range with XML?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00849641
Message ID:
01076691
Vues:
26
Hello, I am using to open an HTML file, and once again I'm getting an
css file air. I tried to use the same code as previously, namely:

StrToFile('','c:\scc.css')

However, FoxPro seems to be having a problem "seeing" this file. There's no doubt
that the file is there. If I go into Windows Explorer, it looks like this:

scc.css 0 bytes.

But, if, in FoxPro, I issue an: delete file(c:\'scc.css'), then FoxPro says
that the file does not exist. And if I manually, delete the file, and then
automate FoxPro to use Excel to open the HTML file, I still get the error
missing css file 'c:\css\zcom.css'.

Does anyone know a way around all of this?

Here's the code that I am trying to use:

HtmFile = "c:\d\zacks\zackpoint.htm"
** tries to remove the css file
StrToFile('','c:\scc.css')
StrToFile('','c:\css\zcom.css')
StrToFile('','c:\css\zcom.css')
StrToFile('','c:\css\scc.css')
o = CREATEOBJECT('excel.application')
o.Visible= .T.
o.Application.Workbooks.Open(HtmFile)

Thanks Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform