R
Ryan Moore
Hello all,
I am trying to add a function to the project guide. This like will insert an
xml template into the currently open project. I have tested this in both
VB.net and in Project VBA. When I attempt this in Jscript I get nothing but
errors.
Here is the .Net code:
Dim objProj As New Microsoft.Office.Interop.MSProject.Application
objProj.FileOpen("c:\TestTemplate.xml", False,
PjMergeType.pjMerge, , , , , , , "MSProject.XML")
The VBA Code:
FileOpen Name:="C:\TestTemplate.xml", ReadOnly:=False, Merge:=1,
FormatID:="MSProject.XML"
Any ideas on what will make this work in jscript?
Thanks for your help,
Ryan
I am trying to add a function to the project guide. This like will insert an
xml template into the currently open project. I have tested this in both
VB.net and in Project VBA. When I attempt this in Jscript I get nothing but
errors.
Here is the .Net code:
Dim objProj As New Microsoft.Office.Interop.MSProject.Application
objProj.FileOpen("c:\TestTemplate.xml", False,
PjMergeType.pjMerge, , , , , , , "MSProject.XML")
The VBA Code:
FileOpen Name:="C:\TestTemplate.xml", ReadOnly:=False, Merge:=1,
FormatID:="MSProject.XML"
Any ideas on what will make this work in jscript?
Thanks for your help,
Ryan