Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Opening
Message
De
03/10/2001 18:51:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00563431
Message ID:
00563934
Vues:
20
>Still having problems opening a specific MSProject File.
>
>Current code is simple, however, cannot find the syntax:
>==========================================================
>
>public oMSProject1
>
>oMSProject1 = GetObject('', 'MSPROJECT.project.9')
>
>oMSProject1.application.visible = .t.
>
>oMSProject1.application.fileopen.name='project2.mpp'
>=========================================================

In some cases, when using outside elements (like automation servers or API functions), they wouldn't open a file unless given a full filename, so try:

oMSProject1.application.fileopen.name=FullPath('project2.mpp')

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform