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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP -> Word templates

Status
Not open for further replies.

PaulSc

MIS
Aug 21, 2000
148
GB
Hi,
I'm after help again please...

I have an ASP generated Menu page which has links to various Word 97 Template (.dot files).
I have 2 problems with them and wonder if anybody can provide any assistance.

1/ the Word documents are linked via the <A Href tag to the .DOT file. If opened from a standard HTML page, it seems to behave like a Word template should, i.e creates a new document based on the template design. If opened from an ASp page it seems to be opening the .DOT itself (alsmots like right click,Open (rather than New). likewise when its saved, it saves a .dot template file? How can I make it open as new and save as a .doc file?

<td width=&quot;50%&quot;><li>
<A href=&quot;./documents/SimpAppUpdate.dot&quot;>Update Simple Application Request</a>
</td>

2/ On occassions (not everytime, which makes it more confusing), it seems to leave a winword.exe session active in the backround, meaning that any subsequent attempts to open a template lok the PC? Any ideas how to avoid this please.

Thanks in advance

PaulSc.
 
Are you sure it is actallu opening the file on the server rather than just a copy (which is what, I presume, you are after). I think you will find that it is a copy and thus really you dont need to worry, what happens if you make a change to the file that is opened (on a client machine) and try and save it?

Andy
 
Andy,
The document seems to be opening on the server (at least the hyperlink suggests so). It opens directly in IE.(I use 6 the clients 5.5)
If the form is updated it prompts the user to save it (rather than ovwerwrite the original) but it saves as a .dot and the Save as Type is greyed out (As a template)

If you open the file directly in Word it creats Document1 and save gfenerates a .doc save request.

Regards
PaulSc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top