>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')