H
HMS Software
Hello all,
I am trying to use the Project.CheckIn (MS help text below) method in my
application, but no matter how I format the command with or without
parameters, I always get the following error " an unexpected error occurred
with the method".
Has anyone used this method successfully? I am basing my syntax on the
following VBA help in MS Project when you search for "Checkin"
Thanks
Steve
----------------------------------------------
Project Developer Reference
Project.CheckIn Method
Returns the working copy of the project from a local computer to the Windows
SharePoint Services server, and sets the local project to read-only so that
it cannot be edited locally. Calling this method will also close the project.
Syntax
expression.CheckIn(SaveChanges, Comment, MakePublic)
expression A variable that represents a Project object.
Parameters
Name Required/Optional Data Type Description
SaveChanges Optional Boolean True saves changes and checks in the document.
False returns the document to a checked-in status without saving revisions.
Comment Optional Variant .. Allows the user to enter check-in comments for
the revision of the project being checked in (applies only if SaveChanges
equals True).
MakePublic Optional Boolean True allows the user to publish the project
after it has been checked in. This submits the project for the approval
process, which can eventually result in a version of the project being
published to users with read-only rights to the project (applies only if
SaveChanges equals True).
© 2006 Microsoft Corporation. All rights reserved.
See Also
Project Object
Project Object Members
I am trying to use the Project.CheckIn (MS help text below) method in my
application, but no matter how I format the command with or without
parameters, I always get the following error " an unexpected error occurred
with the method".
Has anyone used this method successfully? I am basing my syntax on the
following VBA help in MS Project when you search for "Checkin"
Thanks
Steve
----------------------------------------------
Project Developer Reference
Project.CheckIn Method
Returns the working copy of the project from a local computer to the Windows
SharePoint Services server, and sets the local project to read-only so that
it cannot be edited locally. Calling this method will also close the project.
Syntax
expression.CheckIn(SaveChanges, Comment, MakePublic)
expression A variable that represents a Project object.
Parameters
Name Required/Optional Data Type Description
SaveChanges Optional Boolean True saves changes and checks in the document.
False returns the document to a checked-in status without saving revisions.
Comment Optional Variant .. Allows the user to enter check-in comments for
the revision of the project being checked in (applies only if SaveChanges
equals True).
MakePublic Optional Boolean True allows the user to publish the project
after it has been checked in. This submits the project for the approval
process, which can eventually result in a version of the project being
published to users with read-only rights to the project (applies only if
SaveChanges equals True).
© 2006 Microsoft Corporation. All rights reserved.
See Also
Project Object
Project Object Members