How to open and save the project in silent mode

S

Smugliy

Hi ,

i need to save some published project on hard disk.I want that it will be
invisible to the user .
So I am doing following: first I need to open it,then to save it and close
it.

This code:
applicationObject.ScreenUpdating = false;

applicationObject.FileOpen(name, false, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
"MSProject.mpp.9", Type.Missing, MSProject.PjPoolOpen.pjPromptPool,
Type.Missing, Type.Missing, Type.Missing, Type.Missing);

//Save it and close it also here ...
applicationObject.ScreenUpdating = true;


But ,though,its insivisble ,the user can see how the project is added and
closed in the taskbar .

Maybe somebody know what the better way to do this ?

Thanks a lot
 

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