Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedding MS Project into FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00936261
Message ID:
00937042
Views:
13
Hope this can help. Here is a link to MS KB page for Microsoft Office Project Object Model

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/pjsdk/html/pjtocobjectmodelapplication.asp

>Hi Mark,
>
>You should be able to get back to the Application from the document. I'm not familiar with Project, but think that there's some way to get a reference back for sure. It might be via the Object and some digging in the project object model...
>
>Another option for what I've used in the past is hosting inside of Internet Explorer Browser control. If Project is an ActiveDoc host you can access it inside of IE, which often provides the cleanest UI integration. I've done this with hosting Word in applications and it works much better than using OleBoundControls and their funcky activation/deactivation schemes. From with IE you can access the application via its Document property. Not sure though whether you can host project that way.
>
>
>Regards,
>
>+++ Rick ---
>
>
>
>
>
>>Hi Al
>>
>>Thanks very much for this although what I was trying to do was to have the object embedded on a form rather than open MS Project. I needed to import and export data from the Project without adding an Add-In to MS Project. By adding the Microsoft Project Document control as an ActiveX control, I still didn't have any way of getting to the properties of Project. What I did was add an OleBoundControl to the form. Set the source to a general field of type "MSProject.Project" and was able to get at the properties and import and export data to the Project. I'm not sure if it's the best way of doing this though, so if you have any other ideas that would be great.
>>
>>Thanks
>>
>>>>I am trying to investigate the possibility of adding an MS Project object to a FoxPro form. I can add the object but I can't get them to communicate with each other (import and export data). Has anyone done something like this before and if so, any advise on how to do it ?
>>>
>>>This might get you started: Re: Automate MSPROJECT Thread #845658 Message #845687
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform