Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open a image(*.tif) located on the server...

Status
Not open for further replies.

prover

Programmer
Joined
Sep 12, 2001
Messages
54
Location
US
We have applications that get scanned and the information from that application populates a database. What I'd like to do is be able to recall the .tif image for a particular application. I have no problem finding the file (using FSO):

<%
'test code
myfile = &quot;ZCK9JE0001.tif&quot;
Set FSO = Server.CreateObject(&quot;Scripting.FileSystemObject&quot;)
If FSO.FileExists(( &quot;E:\TeleformISD\Electrical\&quot; & myfile )) Then
Response.Write &quot;Yes. Its there!&quot;
Else
Response.Write &quot;No!&quot;
End If
%>

FSO has an .OpenTextFile but I'm using an .tif file(grrr).

How can I open that file so a user can actually view the image. Please note the directory is located somewhere else on the server. Not in web directory

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top