Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 26th, 2004, 04:10 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to display OLE image object from database

I have a database in microsoft access, one field of this database store image and this field of type OLE object.
I want to display this data in a webpage, I use ASP and VBScript, but i cant display the image.
i try response.binarywrite but it doesn't work and i don't have the contenttype in the database.
anybody can help me?

 
Old July 26th, 2004, 04:49 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Please check the following article:

http://www.codeproject.com/asp/Displ..._from_Data.asp



Om Prakash
 
Old July 27th, 2004, 07:39 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this article use response.binarywrite I try this before and it deos'nt work
the image in the database not store as long binary string
I have in the database this (Microsoft Photo Editor 3.0 Picture) store in the image field
any way thanks for replay.

 
Old July 27th, 2004, 02:06 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Then try this.

PULLING IMAGES FROM ACCESS DB

Hope that helps.
Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
The OLE object is empty leegweaver Access VBA 4 June 20th, 2008 07:59 AM
ole object insertion vinodkselpy Crystal Reports 0 March 1st, 2007 07:31 AM
display image from database fitchic77 .NET Framework 2.0 4 August 12th, 2004 07:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.