Enterprise Project Management - Detecting a Server Connection

S

Scott Button

Hi, I'm Scott Button with Spherical Angle. We make Critical Chain add-Ins
for MS-Project.

Does anyone know how to
programmatically detect if MS-Project is connected to Project Server?
Or
alternatively, detect that it is not connected to Project Server?

Scott.
 
S

Scott Button

10K:
Thank you, that was very helpful. Thank you in particular for pointing me
towards the coursware. It turns out that I had the courseware on my
hardrive, just not smart enough to know to look there.

We will test this solution, my only reservation is that this may generate a
run-time error if the system is not connected to Server. I understand that
we can trap the error if necessary.

It turns out that in this particular instance, we can check the property of
a file to see if the file is saved to the server. If so, the filename starts
with "<>". So for this particular instance, we may be better off checking
for the "<>". There are going to be other occasions where we will not be
able to look at file names, and will need your solution.

Scott.
 
Top