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