Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. 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 Databases 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 April 28th, 2010, 02:49 AM
Registered User
 
Join Date: Apr 2010
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default TIF FILE NOT OPENING

Query is

select drawings.date_recd,drawings.date_revd,drawings.dty pe,sectors.sect_area,sectors.sect_count,drawings.n ame name from
drawings,sectors where drawings.name=sectors.name order by sect_area

following coding not opening the tif file why ?
when click the name link it give error message that

" the document connot be opened, the document format is invalid or
not supported"


Response.Write("<td>")
Response.Write("<font face=arial size=2><a href=" & server.URLEncode(rs("name")) & ">" & rs("name") & "</a></font>")
Response.Write("</td>")

TIF file available respective folder,
what is the problem ?
what code will use that open the TIF (image) file.
we are using intranet.

Regards
 
Old April 28th, 2010, 01:43 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

IE has no support to display tiff image, so you need to convert tiff to jpg and display the same.

Following are few conversion examples you could probably tweak:

http://aspalliance.com/articleViewer.aspx?aId=140

http://codebetter.com/blogs/eric.wis.../15/63236.aspx

http://msdn.microsoft.com/library/de...iffTopic .asp

Also there are plug-ins available to display but not sure they are free.
Example:
AlternaTIFF TIFF Plug-in (www.alternatiff.com/)
__________________
Om Prakash Pant
Click the "Thanks" button if this post helped you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display .tif file, .pdf file and .jpg file phuong171 ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2007 07:29 AM
Base64binary to TIF aveekb Pro VB 6 0 February 13th, 2007 07:23 AM
TIF Files kilika Classic ASP Professional 3 July 28th, 2004 04:10 PM
Display tif kkaminaris PHP How-To 1 June 8th, 2004 06:08 PM





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