strange behavior

S

SpaceCamel

I am getting some strange behavior. msp2003

-----------------------
Project Saved as "my Project.mpp"
I want to set the File Properties Title to be "my Project" to be shown on
reports.
Title defaults to "my Project.mpp", change to "my Project". Close. It
reverts back to "my Project.mpp". It apprears that you are not allowed to
title your project with the same name as the file name. Why?

-----
Sub ProjNametest()
ThisProject = ActiveProject.name
MsgBox ThisProject

MsgBox ActiveProject.name
End Sub

First Msgbox "Global.mpt"
Second Msgbox <projectfilename>
Why?

-----

ThisProject = ActiveProject.name
x = OrganizerMoveItem(pjModules, ThisProject, "Global.mpt", <modulename>

This bombs if the user has "Hide extentions for known file types" turned on.

------------------
 
J

Jan De Messemaeker

Hi,

I don't think the people who actually developped the software read in here
so nobody can tell you why they did this.
 
S

SpaceCamel

Maybe they should. I guess that is why there are so many problems with msp.

Jan De Messemaeker said:
Hi,

I don't think the people who actually developped the software read in here
so nobody can tell you why they did this.
 
J

Jan De Messemaeker

Hi,

Didn't read the first post fully, maybe your final bit was a question.
I avoid using .name for that very reason, best is to use .fullname or to
test on the presence of .mpp in the .name

HTH
 
Top