J
John Beschler
Hi all.
I am stuck. I have spent 5 hours researching this and cannot find an answer.
I am trying to create a C# windows App that can open an existing project
file and make some changes.
I have code that I wrote using VBA within project itself to do what I need
to do, but that code used direct databse calls to our SQL server. We have
since moved our servers and our users can no longer access the DB directly
(through project). I have already coded the WebServices for my application
to call to get the data, but I cannot figure out how to open a project file
within C#.
I've gotten far enough to add teh resources to the VS Project, and I have
verified that I can launch MSProject. However, I cannot find the method to
open the project file and establish a connection object to the active project
in that file.
Any help would be appreciated.
Thanks,
John
I am stuck. I have spent 5 hours researching this and cannot find an answer.
I am trying to create a C# windows App that can open an existing project
file and make some changes.
I have code that I wrote using VBA within project itself to do what I need
to do, but that code used direct databse calls to our SQL server. We have
since moved our servers and our users can no longer access the DB directly
(through project). I have already coded the WebServices for my application
to call to get the data, but I cannot figure out how to open a project file
within C#.
I've gotten far enough to add teh resources to the VS Project, and I have
verified that I can launch MSProject. However, I cannot find the method to
open the project file and establish a connection object to the active project
in that file.
Any help would be appreciated.
Thanks,
John