Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Projects and ADD Object
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01266118
Message ID:
01266505
Views:
7
?? Cannot add MS Project Auto Server on form.
Not sure I understand, as in this instance using
THISFORM.box001.AddObject('oProjx','olecontrol', 'MSPROJECT.project.9')

I have the MS Projects in the form and can edit it accordingly.

I just wanted to pre-load a template MPT so as to save lines of code changing a clean Project File.
&& Clean MS Project File opened in the Container oProjx
&& Now add info from Table -
THISFORM.box001.oProjx.DoVerb (-1)
THISFORM.box001.oProjx.TASKS.ADD('HELLO')
THISFORM.box001.oProjx.TASKS.ADD('Goodbye!')

THISFORM.box001.oProjx.application.ActiveProject

Thisform.Show
RG
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform