Hi
Hat Claudius mal in Codeschnipsel gepostet.
Musst halt im ContentType "application/x-msaccess" einf�gen. bzw. Pfad und
Endungen �ndern. Hab das mal mit Powerpoint gemacht. Funktioniert gut.
<%
Response.ContentType = "image/jpg"
Response.AddHeader _
"content-disposition","attachment;filename=daImage.jpg"
strFilePath = "C:\files\file.jpg"
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = 1 'adTypeBinary
objStream.LoadFromFile strFilePath
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
%>
Gr��e, Gudula
----- Original Message -----
From: "Thomas Beckert" <[EMAIL PROTECTED]>
To: "AspGerman Kaffeehaus" <[EMAIL PROTECTED]>
Sent: Friday, July 18, 2003 10:44 AM
Subject: [Coffeehouse] datei downloaden
ich m�chte einen link auf eine access-datenbank machen, will aber nicht,
dass diese direkt vom office ge�ffnet wird, sondern dass das dateifenster
speichern unter kommt.
das ist doch bestimmt mit javascript zu realisieren. hat jemand eine idee
???
gruss-
Thomas Beckert - SitePoint GbR
Vorstadtstr.57
66117 Saarbr�cken
Tel.: 0681 / 9 47 26 27
Fax: 0681 / 9 47 26 28
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse