|
by: Tom |
last post by:
I have tried three ways of opening word documents on my win95 machines.
(Yes, my client still has some win95 machine)
#1-With Response.AddHeader "Content-Disposition", "attachment;
filename=yourfilenamehere.doc"
#2-With Response.AddHeader "Content-Disposition", "inline;
filename=yourfilenamehere.doc"
#3 without the content-Disposition header.
#1 is not good because it forces the user through two dialogs.
#2,#3 seem good because they...
|
by: VRAyer |
last post by:
Ive got this piece of asp.net code that works in some machines running
win 2003 but not in certain others. Any idea what could be the problem
string strPath = Server.MapPath("/mypdf/test.pdf");
FileInfo fileInfo = new FileInfo(strPath);
Response.Clear();
Response.AddHeader("Content-Length", fileInfo.Length.ToString());
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=" +
strPath);
|
by: gluggi |
last post by:
Hi,
I have a small problem when I try to save a file. In an ASPX page in
the Page_Load method I do something like that: (VB)
Response.ClearHeaders()
Response.AddHeader("Content-Disposition", "attachment;
filename=foo.jpg")
Response.Clear()
Response.ContentType = "application/octlet-stream"
Response.BinaryWrite( some data I got elsewhere )
|
by: brian |
last post by:
I have a aspx page that creates a binary file and response.binarywrites
it to the browser. To force the file to be saved or opened I use the
"Content-Disposition" header.
All works fine in Firefox but I have some strange issues with IE where
I get the error:
"Internet Explorer was not able to open the Internet Site"
from the "file download" dialog box, but before Im given the choice to
|
by: Trapulo |
last post by:
I've this statement in my output's creation:
Response.Clear()
Response.ContentType = "application/vnd.google-earth.kml+xml kml"
Response.AddHeader("Content-Disposition", "inline; filename=Log_" &
activityLogID & ".kml")
The strage is that on my development server all works (IE try to open the
|
|
by: Cloud |
last post by:
Hi all,
I have a parent page(parent.aspx) which will open different new windows
depending on the user input.
for example,
the new windows are opened using the following code :
window.open('child.aspx', document.userinput.value)
In the child.aspx, the result is rendered as Excel, Word, PDF, etc...
|
by: hobbson |
last post by:
I have a basic crosstab queries that counts the models of each type of server device in a data center. What I'm trying to do is restrict the crosstab query from returning counts for devices that are less than a specifc number....say 100 for exampe.
So I want my query to display server models where there are 101 or more.
Here is SQL statement.
TRANSFORM Count(DEVICE_SPECS.DEVID) AS CountOfDEVID
SELECT DEVICE_SPECS.MFR,...
|
by: Dave H. |
last post by:
Please redirect me if this message is posted to the wrong group.
Given the intention of delivering content to an HTTP user agent (such
as Internet Explorer) which is to be immediately opened by an
associated application, there are the Content-Disposition type options
of "inline" or "extension-token". Specifically as regards Internet
Explorer, I've tried both inline and the specific filename extension
(xls,csv,pdf,doc,...) and the...
|
by: MDANH2002 |
last post by:
Hi
From VB.NET I want to simulate the POST request of the following HTML form
<html>
<title>HTTP Post Testing</title>
<body>
<form action=http://www.example.com/postdata
enctype="multipart/form-data" method="post" name="testform">
|
by: foekall |
last post by:
Dear all
I would like to know how to write download mp3 file without open with media play.
No in my project i when i click a link window media player will also appear. So, may i want to know how to give down load mp3 file without play with any media software. Plz give me some code. Thz all.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|