Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fill Excel range with XML?
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00849641
Message ID:
01076700
Views:
25
Is the "page" that includes the CSS "running" when foxpro looks for it? It seems almost like a process is protecting the CSS. Is there anything unusual running in your taskmanager's process dialog?

>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
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform