How to download ole objects(MS Access) from ASP?

From: shel (shel_at_discussions.microsoft.com)
Date: 03/17/05


Date: Thu, 17 Mar 2005 00:25:02 -0800

Hi,

I have an Access Database with one of the field's data type as OLE Object.
The data can be image, MS powerpoint, MS word etc etc.

How can I use ASP to download the file?

I have tried :
response.contenttype = "application/msword"
response.binarywrite rs("fieldname")

But when I open the file, it is chunk in it.
Moreover I have hard coded the content type. How can I know the content type
too?

The user who input the data did not store contenttype or anything at all.

Thanks



Relevant Pages

  • How to download ole objects(MS Access) from ASP?
    ... I have an Access Database with one of the field's data type as OLE Object. ... The data can be image, MS powerpoint, MS word etc etc. ... The user who input the data did not store contenttype or anything at all. ...
    (microsoft.public.data.oledb)
  • Re: cannot insert object
    ... embedding an OLE object into Powerpoint. ... Completely uninstall Office - Office Erasers / Registry Cleaners ... Steve Rindsberg, PPT MVP ...
    (microsoft.public.powerpoint)
  • Re: PowerPoint Mac should convert Windows metafile objects to pictures
    ... > "converting metafile" alert boxes when viewing a PowerPoint for Windows file ... You'll need to run this on a PC before turning the PPT over to Mac users. ... > The biggest problem with this apprach is that every single OLE object needs ...
    (microsoft.public.powerpoint)
  • Vector PowerPoint OLE Items Display Poorly
    ... I've used PowerPoint slides in my Access databases to display relatively ... Displays the Identity, Text Description, and the OLE Object Frame. ... inches tall. ... set the size mode to zoom. ...
    (microsoft.public.access.reports)
  • Re: PowerPoint VBA
    ... I usually port mine to an Access database or send an e-mail upon completion. ... I have developed some slides in PowerPoint whereby I take user input. ... I am fairly new to this (Not PPT but VBA). ... > projects teachers can use with students and see how easy it is to collect ...
    (microsoft.public.powerpoint)