Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Projects
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00541721
Message ID:
00541727
Views:
14
Hi!

Did you tried to open it using the CREATEOBJECT() function? Something like

oMSProj = CreateObject('MSProject.Applciation')
oMSProj.Visible = .T.

Explore the OOP model (objects properties and methods) of the MS Project then and find what method to call to open the project file.

HTH.

>Once upon a time my Application could open MS Projects ( Ver4 etc ) with the following code:
>
>open_proj=DDEINITIATE("WinProj","System")
>=DDEEXECUTE(open_proj, 'FileOpen Name:="Table Name", Merge:=0. TaskInformation:=True, Table:=Ëntry"')
>
>Those were the good old days !!!
>
>I now have to run MS Projects 2000 XP
>
>This code will not run....
>
>I have checked out MS Projects Help, Web until I am blue in the face.
>
>Does anyone know a command line to open the new MS Projects within VFP6 SP3
>with a file?
>
>Lost in France
>
>Daniel
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform