I have written a nice ASP page that uses forms to gather user input and then
writes out a formated, static html page. That page uses FrontPage extensions
(file include) for the header and footer. How do I tell FrontPage from the
ASP file to import or check-in the file and process it. The only way I have
been able to do that is by opening and closing the file using the frontpage

Any hints out there? I have searched high and low.

The essential code I use is:

Dim fso, MyFile, MyFileTmp, FileRoot
Sub CreateAfile(strMyFile)
Dim strMyFileName
strMyFileName = (strMyFile)
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.CreateTextFile(strMyFileName, True)
End Sub

strMyFile = (FileRoot & "default.htm")
CreateAfile (strMyFileTmp)