CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 ASP With Interbase

Print topic Send  topic

Author Message
Phoenyx
Posted: 01/25/2005, 9:19 AM

I am working with an Interbase Database and I am unable to format the Image (BLOB) field using ASP 3.0 W/Templates. Codecharge uses ccsMemo for this object but it does not display the picture. I need help! :-<
peterr


Posts: 5971
Posted: 01/25/2005, 11:46 AM

I think that CCS doesn't support BLOB images with any database.
You may need to create a small program that does just that, than call that program to display the image. Microsoft has an example of that at http://support.microsoft.com/kb/173308/EN-US/
Also see:
http://www.google.com/search?hl=en&q=asp+display+blob+images
http://www.google.com/search?hl=en&lr=&q=asp+display+blob+images+interbase
http://groups-beta.google.com/groups?q=asp%20display%20...lr=&sa=N&tab=wg
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
mrachow


Posts: 509
Posted: 01/26/2005, 4:08 AM

Here is an example solution for php which should work with some small changes for ASP too
http://forums.codecharge.com/posts.php?post_id=49663&s_keyword=image
_________________
Best regards,
Michael
View profile  Send private message
mrachow


Posts: 509
Posted: 01/26/2005, 4:17 AM

Even so I would recommend to use CCDLookUp I found this in my CodeCharge oldies:

Response.Expires = 0
Response.Buffer = TRUE
Response.Clear

Response.ContentType = "image/jpeg"

Dim rs : Set rs = cn.Execute("SELECT pic FROM AusPic WHERE AUS_ID=" & ToSql(Session("PicID"), "Number"))

Response.BinaryWrite rs("pic")
Response.End

cn.Close
Set cn = Nothing

_________________
Best regards,
Michael
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.