|
 |
asp_web_howto thread: Any Genius out there
Message #1 by =?iso-8859-1?q?jon=20matt?= <jonmath2000@y...> on Tue, 3 Dec 2002 11:43:52 +0000 (GMT)
|
|
Well, second time I'm gonna post the same question..
Com'on guys ..............Here we go .........
I have an ASP page that I built that is supposed to open up in Word using
the
Response.ContentType = "application/ms-word" command. It seems to work find
with
Word 2000. When a user with Word 97 opens that page...Word 97 opens up ok,
but all that is displayed in the document is my HTML code itself.
Any ideas as to what the problem is would be much
appreciated!
How we gonna solve this problem ?
Thanks
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Message #2 by kyle.b.willman@u... on Tue, 3 Dec 2002 07:35:00 -0600
|
|
Could you send me a bit more of the code? It is not that line that would
be causing your dilemma if Word was in fact opening.
Thanks.
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt <jonmath2000@y...>
12/03/2002 05:43 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo" <asp_web_howto@p...>
cc:
Subject: [asp_web_howto] Any Genius out there
Well, second time I'm gonna post the same question..
Com'on guys ..............Here we go .........
I have an ASP page that I built that is supposed to open up in Word using
the
Response.ContentType = "application/ms-word" command. It seems to work
find
with
Word 2000. When a user with Word 97 opens that page...Word 97 opens up ok,
but all that is displayed in the document is my HTML code itself.
Any ideas as to what the problem is would be much
appreciated!
How we gonna solve this problem ?
Thanks
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
Message #3 by "TomMallard" <mallard@s...> on Tue, 3 Dec 2002 05:51:13 -0800
|
|
Need more info, is this a binary write, do you return html as a word doc?
tom mallard
seattle
-----Original Message-----
From: kyle.b.willman@u...
[mailto:kyle.b.willman@u...]
Sent: Tuesday, December 03, 2002 5:35 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Any Genius out there
Could you send me a bit more of the code? It is not that line that would
be causing your dilemma if Word was in fact opening.
Thanks.
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt <jonmath2000@y...>
12/03/2002 05:43 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo" <asp_web_howto@p...>
cc:
Subject: [asp_web_howto] Any Genius out there
Well, second time I'm gonna post the same question..
Com'on guys ..............Here we go .........
I have an ASP page that I built that is supposed to open up in Word using
the
Response.ContentType = "application/ms-word" command. It seems to work
find
with
Word 2000. When a user with Word 97 opens that page...Word 97 opens up ok,
but all that is displayed in the document is my HTML code itself.
Any ideas as to what the problem is would be much
appreciated!
How we gonna solve this problem ?
Thanks
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
Message #4 by =?iso-8859-1?q?jon=20matt?= <jonmath2000@y...> on Tue, 3 Dec 2002 14:39:53 +0000 (GMT)
|
|
Here we go ..
<%@ Language=VBScript %>
<% Response.ContentType = "application/msword" %>
<html>
<head>
</head>
<body>
<table>
<tr>
<td>Name</td>
<td>Age</td>
<td>Rollno</td>
</tr>
<%
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
<tr>
<td>
<%=trim(rs("Name"))%>
</td>
<td>
<%=trim(rs("Age"))%>
<td>
<%=trim(rs("Rollno"))%>
</td>
</tr>
<%
rs.MoveNext
Loop
closeconnection // included file function
%>
<tr>
<td colspan=8 align=center>
<INPUT type="button" value="Back" id=btnBack name=btnBack LANGUAGE=javascript onclick="return btnBack_onclick()">
</td>
</tr>
</table>
</BODY>
</HTML>
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Message #5 by kyle.b.willman@u... on Tue, 3 Dec 2002 09:01:08 -0600
|
|
Have you tried encapsulating all of the HTML code into Response.Write
lines? Not sure if this would work, but it would be a quick test...
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt <jonmath2000@y...>
12/03/2002 08:39 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo" <asp_web_howto@p...>
cc:
Subject: [asp_web_howto] Re: Any Genius out there
Here we go ..
<%@ Language=VBScript %>
<% Response.ContentType = "application/msword" %>
<html>
<head>
</head>
<body>
<table>
<tr>
<td>Name</td>
<td>Age</td>
<td>Rollno</td>
</tr>
<%
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
<tr>
<td>
<%=trim(rs("Name"))%>
</td>
<td>
<%=trim(rs("Age"))%>
<td>
<%=trim(rs("Rollno"))%>
</td>
</tr>
<%
rs.MoveNext
Loop
closeconnection // included file function
%>
<tr>
<td colspan=8 align=center>
<INPUT type="button" value="Back" id=btnBack name=btnBack
LANGUAGE=javascript onclick="return btnBack_onclick()">
</td>
</tr>
</table>
</BODY>
</HTML>
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
Message #6 by =?iso-8859-1?q?jon=20matt?= <jonmath2000@y...> on Tue, 3 Dec 2002 15:17:53 +0000 (GMT)
|
|
Oh yes
Didn't work.
I am wondering why this works with word 2000 and not with word 97.
Thanks
Regards
kyle.b.willman@u... wrote:Have you tried encapsulating all of the HTML code into Response.Write
lines? Not sure if this would work, but it would be a quick test...
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt
12/03/2002 08:39 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo"
cc:
Subject: [asp_web_howto] Re: Any Genius out there
Here we go ..
Name
Age
Rollno
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
rs.MoveNext
Loop
closeconnection // included file function
%>
[input] LANGUAGE=javascript onclick="return btnBack_onclick()">
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
Message #7 by Sam Clohesy <sam@e...> on Tue, 3 Dec 2002 15:28:10 -0000
|
|
This is a silly question but is Word 2000 outputting a Word doc or a Word
doc with HTML in it? (A bit like the save as HTML option?)
Sam Clohesy
Project Manager
Tel: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.co.uk
-----Original Message-----
From: jon matt [mailto:jonmath2000@y...]
Sent: 03 December 2002 15:18
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Any Genius out there
Oh yes
Didn't work.
I am wondering why this works with word 2000 and not with word 97.
Thanks
Regards
kyle.b.willman@u... wrote:Have you tried encapsulating all of
the HTML code into Response.Write
lines? Not sure if this would work, but it would be a quick test...
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt
12/03/2002 08:39 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo"
cc:
Subject: [asp_web_howto] Re: Any Genius out there
Here we go ..
Name
Age
Rollno
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
rs.MoveNext
Loop
closeconnection // included file function
%>
[input] LANGUAGE=javascript onclick="return btnBack_onclick()">
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
Message #8 by "Alex Shiell, ITS, EB, SE" <alex.shiell@s...> on Tue, 3 Dec 2002 15:24:14 -0000
|
|
Because Word 2000 fully understands HTML and Word 97 doesn't... what is your
source document?
-----Original Message-----
From: jon matt [mailto:jonmath2000@y...]
Sent: 03 December 2002 15:18
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Any Genius out there
Oh yes
Didn't work.
I am wondering why this works with word 2000 and not with word 97.
Thanks
Regards
kyle.b.willman@u... wrote:Have you tried encapsulating all of
the HTML code into Response.Write
lines? Not sure if this would work, but it would be a quick test...
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt
12/03/2002 08:39 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo"
cc:
Subject: [asp_web_howto] Re: Any Genius out there
Here we go ..
Name
Age
Rollno
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
rs.MoveNext
Loop
closeconnection // included file function
%>
[input] LANGUAGE=javascript onclick="return btnBack_onclick()">
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
________________________________________________________________________
Scottish Enterprise Network
http://www.scottish-enterprise.com
Headquarters Address & Contact Numbers
150 Broomielaw
5 Atlantic Quay
Glasgow
G2 8LU.
Tel: +44 (0) 141 248 2700.
Fax: +44 (0)141 221 3217
This message is sent in confidence for the addressee only.
It may contain legally privileged information. The contents are not to
be disclosed to anyone other than the addressee. Unauthorised recipients
are requested to preserve this confidentiality and to advise the sender
immediately of any error in transmission.
Message #9 by "TomMallard" <mallard@s...> on Tue, 3 Dec 2002 07:27:16 -0800
|
|
Looks like word97 detects only html in the stream and then has a component
that displays it as text without using htmlencoding. This means you have to
detect the version on the client before they get to this page and know what
response to make to each.
Don't know any easy workarounds for this, using a VBA component on the
clients is an option, or sending html to a frame and have them save the file
on their local machine and then open it in 97 for editing...essentially what
the component would do.
tom mallard
seattle
-----Original Message-----
From: kyle.b.willman@u...
[mailto:kyle.b.willman@u...]
Sent: Tuesday, December 03, 2002 7:01 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Any Genius out there
Have you tried encapsulating all of the HTML code into Response.Write
lines? Not sure if this would work, but it would be a quick test...
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt <jonmath2000@y...>
12/03/2002 08:39 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo" <asp_web_howto@p...>
cc:
Subject: [asp_web_howto] Re: Any Genius out there
Here we go ..
<%@ Language=VBScript %>
<% Response.ContentType = "application/msword" %>
<html>
<head>
</head>
<body>
<table>
<tr>
<td>Name</td>
<td>Age</td>
<td>Rollno</td>
</tr>
<%
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
<tr>
<td>
<%=trim(rs("Name"))%>
</td>
<td>
<%=trim(rs("Age"))%>
<td>
<%=trim(rs("Rollno"))%>
</td>
</tr>
<%
rs.MoveNext
Loop
closeconnection // included file function
%>
<tr>
<td colspan=8 align=center>
<INPUT type="button" value="Back" id=btnBack name=btnBack
LANGUAGE=javascript onclick="return btnBack_onclick()">
</td>
</tr>
</table>
</BODY>
</HTML>
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
Message #10 by =?iso-8859-1?q?jon=20matt?= <jonmath2000@y...> on Tue, 3 Dec 2002 15:43:22 +0000 (GMT)
|
|
Word Doc
Sam Clohesy <sam@e...> wrote:This is a silly question but is Word 2000 outputting a Word doc or a Word
doc with HTML in it? (A bit like the save as HTML option?)
Sam Clohesy
Project Manager
Tel: 0208 772 3958
E: samc@e...
W: http://www.etypemedia.co.uk
-----Original Message-----
From: jon matt [mailto:jonmath2000@y...]
Sent: 03 December 2002 15:18
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Any Genius out there
Oh yes
Didn't work.
I am wondering why this works with word 2000 and not with word 97.
Thanks
Regards
kyle.b.willman@u... wrote:Have you tried encapsulating all of
the HTML code into Response.Write
lines? Not sure if this would work, but it would be a quick test...
Kyle B. Willman
PricewaterhouseCoopers LLP
Office: xxx.xxx.xxxx
Cell: xxx.xxx.xxxx
jon matt
12/03/2002 08:39 AM
Please respond to "ASP Web HowTo"
To: "ASP Web HowTo"
cc:
Subject: [asp_web_howto] Re: Any Genius out there
Here we go ..
Name
Age
Rollno
sql = ""
sql = sql & "Select * from table"
ConnectDb(sql) // included file function
Do until rs.EOF
%>
rs.MoveNext
Loop
closeconnection // included file function
%>
[input] LANGUAGE=javascript onclick="return btnBack_onclick()">
This works fine if document is open in word 2000.
But users using word 97 can't see other than html.
Regards
Jon
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
_________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from any computer.
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
|
|
 |