Export Data to Microsoft Project

S

Srini

Hi,

I want to Export Tasks info from my webpage to Microsoft Project using
visual basic / VB Script.

I.e. I have ASP webpage where user will input all the tasks info and Dates
and clicks on "Export" button. I need to save these info into a project file
(.mpp)

Could you please suggest me how to proceed? any sample code
 
R

Rod Gill

There are only two ways:
1) Use Automation to Open a copy of Project and then add tasks as required
2) save data to a database in MSProject structure. Save a project as a .mpd
file format which is Access compatible. projdb.htm gives structure: it's on
your Project CD or in one of Project's program folders
 
S

Srini

Thank you so much Rod.
Using Microsoft Project OLE DB Provider we can only read the project db. How
do we write into the project DB? any other providers ?? Any sample code..

Thanks in Advance,

Regards,
Srinivas
 
R

Rod Gill

You can only read directly from .mpp files, but if all schedules are saved
to a database, you can use ODBC or oledb to read/write to the database. Do
so VERY carefully and THOROUGHLY digest the projdb.htm file on Project's CD
or one of its program folders.
 

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