Writing values to a .mpp from Visual Basic

F

Finbarr

Hello, I've been asked to provide a simple interface to update simple values
in a .mpp file from a VB form. Can anyone give me a jump start on this?

regards,
F.
 
R

Rod Gill

Yep: can't be done!! However you can:
Open a project using automation (CreateObject("MSProject.Application")
provides an application object and Project help has all Objects, Methods and
property descriptions.
You could also save projects in any ODBC database and update the database.
See the projdb.htm file saved in one of Project's folders or the Project CD.
Read and follow that file VERY closely to get reliable results.

You can use Oledb to read data from .mpp files but not write to them.
 
D

dgmoore

You can also create a VB user form within Project and use that to
update values. Open Project's VB Editor and click Insert ... User
Form. Build your form using Project's objects, methods and properties.
This form is only available from within Project, however - you can't
call it externally.

HTH
Dave
 

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