Cannot change project name from add-in

A

Alex

I create new project inside MS Project add-in. New project gets something
like "Project2" name which is displayed within MS Project App title
as"Microsoft Project - Project2".

If I try to change name - nothing happening:

MSProject app = ...

ProjectClass newProject = app.Projects.Add(false, null, false) as
ProjectClass;
newProject.Name = projectName;

Does anybody knows how to change project name and get it reflection in MS
Project app Title withowt saving project file?

Thanks
 
Top