View Full Version : Setting project properties is inconsistent


Steph
02-21-2006, 09:21 PM
All,

I am using MS Project 2000 - and I'm trying to set the file properties via
code - see below:

ActiveProject.BuiltinDocumentProperties("Title") = title
ActiveProject.BuiltinDocumentProperties("Subject") = subject
ActiveProject.BuiltinDocumentProperties("Comments") = comments
ActiveProject.BuiltinDocumentProperties("Author") = handle
ActiveProject.BuiltinDocumentProperties("Manager") = handle

When I set a breakpoint and step-through this code, the properties get set.
When I run the code, the properties do not get set. Anyone have any ideas?
This is perplexing.

Jan De Messemaeker
02-22-2006, 08:40 AM
I've never seen this happen.

--
Jan De Messemaeker, Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
For FAQs: http://www.mvps.org/project/faqs.htm
"Steph" <ss@nospam.com> schreef in bericht
news:eDhIRzyNGHA.3924@TK2MSFTNGP14.phx.gbl...
> All,
>
> I am using MS Project 2000 - and I'm trying to set the file properties via
> code - see below:
>
> ActiveProject.BuiltinDocumentProperties("Title") = title
> ActiveProject.BuiltinDocumentProperties("Subject") = subject
> ActiveProject.BuiltinDocumentProperties("Comments") = comments
> ActiveProject.BuiltinDocumentProperties("Author") = handle
> ActiveProject.BuiltinDocumentProperties("Manager") = handle
>
> When I set a breakpoint and step-through this code, the properties get
set.
> When I run the code, the properties do not get set. Anyone have any ideas?
> This is perplexing.
>
>

Steph
02-22-2006, 04:53 PM
Well, it seems to be happening to me.

"Jan De Messemaeker" <jandemes at prom hyphen ade dot be> wrote in message
news:eFcD1u4NGHA.2992@tk2msftngp13.phx.gbl...
> I've never seen this happen.
>
> --
> Jan De Messemaeker, Microsoft Project Most Valuable Professional
> http://users.online.be/prom-ade/
> For FAQs: http://www.mvps.org/project/faqs.htm
> "Steph" <ss@nospam.com> schreef in bericht
> news:eDhIRzyNGHA.3924@TK2MSFTNGP14.phx.gbl...
> > All,
> >
> > I am using MS Project 2000 - and I'm trying to set the file properties
via
> > code - see below:
> >
> > ActiveProject.BuiltinDocumentProperties("Title") = title
> > ActiveProject.BuiltinDocumentProperties("Subject") = subject
> > ActiveProject.BuiltinDocumentProperties("Comments") = comments
> > ActiveProject.BuiltinDocumentProperties("Author") = handle
> > ActiveProject.BuiltinDocumentProperties("Manager") = handle
> >
> > When I set a breakpoint and step-through this code, the properties get
> set.
> > When I run the code, the properties do not get set. Anyone have any
ideas?
> > This is perplexing.
> >
> >
>
>

Jan De Messemaeker
02-22-2006, 06:41 PM
In all files?
What is macro security set to?
This is pure guesswork so far...

--
Jan De Messemaeker, Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
For FAQs: http://www.mvps.org/project/faqs.htm
"Steph" <ss@nospam.com> schreef in bericht
news:eJg4WC9NGHA.648@TK2MSFTNGP14.phx.gbl...
> Well, it seems to be happening to me.
>
> "Jan De Messemaeker" <jandemes at prom hyphen ade dot be> wrote in message
> news:eFcD1u4NGHA.2992@tk2msftngp13.phx.gbl...
> > I've never seen this happen.
> >
> > --
> > Jan De Messemaeker, Microsoft Project Most Valuable Professional
> > http://users.online.be/prom-ade/
> > For FAQs: http://www.mvps.org/project/faqs.htm
> > "Steph" <ss@nospam.com> schreef in bericht
> > news:eDhIRzyNGHA.3924@TK2MSFTNGP14.phx.gbl...
> > > All,
> > >
> > > I am using MS Project 2000 - and I'm trying to set the file properties
> via
> > > code - see below:
> > >
> > > ActiveProject.BuiltinDocumentProperties("Title") = title
> > > ActiveProject.BuiltinDocumentProperties("Subject") = subject
> > > ActiveProject.BuiltinDocumentProperties("Comments") = comments
> > > ActiveProject.BuiltinDocumentProperties("Author") = handle
> > > ActiveProject.BuiltinDocumentProperties("Manager") = handle
> > >
> > > When I set a breakpoint and step-through this code, the properties get
> > set.
> > > When I run the code, the properties do not get set. Anyone have any
> ideas?
> > > This is perplexing.
> > >
> > >
> >
> >
>
>