• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

object tag and csv file

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello !
I try to embed excel displaying a csv sheet in ie 5 with the <OBJECT> tag, but it won't work.
I tried to use the tag <OBJECT> to embed my CSV sheet in my page, but nothing happens with this code, as if there was no code at all... ?
<OBJECT ID="tdcStaff" CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" codebase="test.csv">
<PARAM NAME="DataURL" VALUE="test.csv">
<PARAM NAME="UseHeader" VALUE="True">
<PARAM NAME="TextQualifier" VALUE=",">
</OBJECT>
Is it good syntax ?
Is there another way to embed a csv file in excel in ie ?
Thanks,
Gaelle.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At first I would make sure the csv file exsists!!
If it does, then try the following wo suggestions. I lack a great deal of knowledge in this area, but I thought I would give you some ideas.
<OBJECT ID="tdcStaff" CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83" codebase="test.csv">
<PARAM NAME="DataURL" VALUE="http://whereitis.com/test.csv">
<PARAM NAME="UseHeader" VALUE="True">
<PARAM NAME="TextQualifier" VALUE=",">
</OBJECT>
it would be http:// or file:// depening if online/offline. Sometimes it is picky, and you may happen to have it ina different folder and did not realize it.
if that does not work I would just goto the basic form of it and try this:
<OBJECT ID="tdcStaff" CLASSID="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
<PARAM NAME="DataURL" VALUE="test.csv">
</OBJECT>

And see if that works. If not, then I just wasted some of your time!
Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic