Opening .MPP in VBA.

S

Shyam

Hi all,

I want to create an application with MSproject Embedded in the form, (ie) i
hav used the Msproject component and placed it in the form and i should open
an MPP inside that embedded one. which shall i use an MS Project Component or
an OLE with MS Prject Embedded? Please help me out..

Thanks a lot..
Shyam
 
R

Rick Williams

One of the easiest ways to do this is to use a Webbrowser control on your
form and have it open your MPP file (using the "NavigateTo" method, I
think). The browser control will then handle opening Project. I have done
this successfully in the past.
Regards,
Rick Williams
 
S

Shyam

Hi Rick..

Very good Idea.. Thanks a lot.. it really worked great but it wont work for
my requirement i need to track/control certain features of MS Project. like
when its saved i want to maintain a copy in DB.. u hav any idea how to do
this?

Thanks in Advance..

Shyam
 
R

Rick Williams

Turn on the Macro Recorder in Project, then save your file to a database.
Stop the macro recorder and then go look at the code it generated. You can
then put a command button on your form with this code entered in the OnClick
event.
Rick
 

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