Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a Word doc in asp
Message
De
18/10/2001 09:19:42
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Opening a Word doc in asp
Divers
Thread ID:
00570198
Message ID:
00570198
Vues:
48
Hi,
I've got a proplem: I want to open a word doc in my browser that comes from a server.
My code is:

serverside script begins
response.ContenType = "application/msword"
response.Addheader "content-disposition", "inline; filename=test.doc"
response.buffer = true
serverside script ends
serverside script begins
teststring = long string>
response.binarywrite teststring
serverside script ends

It works ok, except word can't open the file....
It's logical because the characterset the file is saved in puts a character after each one I save (that's what I think).

How can I set the characterset so that my file can be opened in word directly?

TIA ET
Répondre
Fil
Voir

Click here to load this message in the networking platform