Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Opening
Message
From
03/10/2001 18:51:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00563431
Message ID:
00563934
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform