S
srini
Hi,
I am using Visual Studio 2008, .NET 3.5SP1 and Winforms VB.NET
Since VS 2003/2005 i have been using this code to open .mpp files created by
MS Project 2000
and still works with VS 2008 code.
In the References i have 'Interop.MSProject 9.0'
However, when i try to open mpp file created by MS Project 2003, i get this
error
---------------------------
Microsoft Visual Basic
---------------------------
File not found
---------------------------
OK Help
---------------------------
even though the file exists
On my system, i have only MS Project 2000 and i am trying to open mpp that
someone created using MSProject 2003 and sent me.
MSPrjApp = New MSProject.Application
MSPrjApp.FileOpen(tmpMpp, ReadOnly:=True)
MSPrjProject = MSPrjApp.ActiveProject()
It doesn't complain at the FileOpen line. Only when it goes to the
'ActiveProject' line does it throw 'File Not Found' dialog box and quits.
Can someone help me with this?
Thanks,
-srinivas yelamanchili
I am using Visual Studio 2008, .NET 3.5SP1 and Winforms VB.NET
Since VS 2003/2005 i have been using this code to open .mpp files created by
MS Project 2000
and still works with VS 2008 code.
In the References i have 'Interop.MSProject 9.0'
However, when i try to open mpp file created by MS Project 2003, i get this
error
---------------------------
Microsoft Visual Basic
---------------------------
File not found
---------------------------
OK Help
---------------------------
even though the file exists
On my system, i have only MS Project 2000 and i am trying to open mpp that
someone created using MSProject 2003 and sent me.
MSPrjApp = New MSProject.Application
MSPrjApp.FileOpen(tmpMpp, ReadOnly:=True)
MSPrjProject = MSPrjApp.ActiveProject()
It doesn't complain at the FileOpen line. Only when it goes to the
'ActiveProject' line does it throw 'File Not Found' dialog box and quits.
Can someone help me with this?
Thanks,
-srinivas yelamanchili