Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedding MS Project into FoxPro
Message
 
À
26/08/2004 10:05:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00936261
Message ID:
00936749
Vues:
12
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
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform