Ouverture fichier MS Project avec Delphi
Bonjour à tous,
J'essai d'ouvrir un fichier "Planning.mpp" dans MS Project à partir de Delphi.
Voici les lignes de commandes :
Code:
1 2 3 4 5
|
ProjectApplication1.Connect;
ProjectApplication1.Visible := True;
ProjectApplication1.FileOpenEx(ExtractFilePath(ParamStr(0))+'planning.mpp',
False,pjDoNotMerge,True, EmptyParam, EmptyParam, False, EmptyParam, EmptyParam, EmptyParam, EmptyParam, pjPromptPool, EmptyParam, EmptyParam, True, EmptyParam, True); |
L'ouverture de MS Project se passe bien, j'ai un message d'erreur sur l'appel de "FileOpenEx", un problème de valeur d'argument.
Si quelqu'un à une idée.
D'avance merci
Bruno