C
Cladsam
Hi,
I'm trying to developp an application using PIA2003.
What I would like to do is declare an application class object
retrieve information from projects on Project Server with that objec
in order to send them to my own application.
On the computer runing my application , there is Project Professiona
with 2 profiles in
Microsoft project server office accounts. First is the one create b
the project installtion with the name: "mon ordinateur", the second
the default one , I named 'Server" is the one I would like to use in m
.Net source code.
If i try this:
Dim appli As New MS.ApplicationClass
MSgbox(appli.Profiles.activeProfile.name & " "
appli.profiles.defaultProfile.name)
2 differents cases:
- if project isn't runing on the comp, the message is " mon ordinateu
Server' that means, the applicationclass object activated 'mo
ordinateur' insteed of the default profile 'Server'
- if project is runing , it's ok activeprofile= defaultprofile
So , I would like to know how to use the default profiel as an activ
profile in all cases.
One other thing when it's ok ( when active profile is the good one),
would like to know retrieve data of project that are on project serve
but that are not open in MS Project ( cause I dont want the user t
open each project he want my appli to treat )
Thank
I'm trying to developp an application using PIA2003.
What I would like to do is declare an application class object
retrieve information from projects on Project Server with that objec
in order to send them to my own application.
On the computer runing my application , there is Project Professiona
with 2 profiles in
Microsoft project server office accounts. First is the one create b
the project installtion with the name: "mon ordinateur", the second
the default one , I named 'Server" is the one I would like to use in m
.Net source code.
If i try this:
Dim appli As New MS.ApplicationClass
MSgbox(appli.Profiles.activeProfile.name & " "
appli.profiles.defaultProfile.name)
2 differents cases:
- if project isn't runing on the comp, the message is " mon ordinateu
Server' that means, the applicationclass object activated 'mo
ordinateur' insteed of the default profile 'Server'
- if project is runing , it's ok activeprofile= defaultprofile
So , I would like to know how to use the default profiel as an activ
profile in all cases.
One other thing when it's ok ( when active profile is the good one),
would like to know retrieve data of project that are on project serve
but that are not open in MS Project ( cause I dont want the user t
open each project he want my appli to treat )
Thank