Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Projects and ADD Object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01266118
Message ID:
01266505
Vues:
8
?? 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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform