How Do I Reliably Open A Project File Using VB.NET?

C

Chris Molland

Hello,

This should be very simple but I am experiencing a frustrating problem. I am
developing an application in VB.NET which enables the user to open a Project
file.

If Project (2007 Pro) is not running and I programatically launch the
application and then display the OpenFileDialog allowing the user to select a
Project file and then open the selected file everything works OK.

However if after performing the steps above I close the Project file (not
the application) and then repeat the steps the Project file fails to open.

I check if Project is running before launching the application so I don't
have 2 instances of the application. Could it be that the file has opened but
is not visible? I seem to remember that after launching the MS Project I had
to make the application visible.

If anyone can suggest a reliable method for opening a .mpp file I would be
very grateful.

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top