Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 17th, 2003, 09:38 AM
Registered User
 
Join Date: Jun 2003
Location: Thunder Bay, Ontario, Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Launching an MS-Word template with user input form

We have MS-Word 97 templates with user input forms that automatically
load when you double click on the .dot template file. Recently we decided to access these templates on our intranet site via Internet Explorer (IE) 5.5 and ASP. When we launch an MS-Word template document (via IE 5.5 / ASP) the template opens up as a regular Word document without the user form launching first. Does anyone know how to get these user input forms to load? Ideally the solution will not involve any registry changes to the workstations.

Below is the ASP code used on our website, and below that is the VB
code used in the actual Word template which should launch the
 user input form.


ASP
function openwindow()
{
path=document.reportform.LetterFolder.value;
strletter=document.reportform.LetterName.value;
fullpath=path+strletter;
window.open(fullpath);
}

VB
Private Sub Document_New()
Load UserFrom
UserForm.Show
End Sub


franko


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get user input during form processing echovue PHP How-To 3 June 10th, 2006 11:54 PM
Read XML file into a MS Word Template avivit XSLT 1 November 2nd, 2005 03:35 AM
Read XML file into a MS Word Template avivit XML 0 October 29th, 2005 09:15 AM
creating a form in ms word kaly VB How-To 13 August 7th, 2005 09:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.