Switch Between Project Server accounts

J

James Coulter

Hi,

Does anyone know of a way of programmatically switching between project
server accounts, without having to close down and restart MS Project. I've
looked in the VBA object model and discovered that there's no
connect/disconnect methods exposed.

Has anyone tried this before?

James
 
E

Ed Morrison

Project cannot be connected to multiple accounts simultaneously. The only
way to close an account is to shut down project. It would be a very handy
feature if you could switch between accounts without logging out. Even
better - be logged into multiple accounts at the same time (subtle hint to
Microsoft for the next version)
 
J

James Coulter

Hi Ed,

Thanks for the reply.

I tried using VBA to open a second instance of Project, using SendKeys to
select the appropriate ProjectServer account, then quitting the current
instance, but it seens that you can't have more than one instance of Project
open at the same time.

Any ideas why this is?

James
 
E

Ed Morrison

Unfortunately this is the way Microsoft designed Project Pro. If you need
to switch between accounts, you'll need to create a separate program (in VB,
C#, etc.). From this program you can open Project against one instance,
then close it and open it against another instance.


--
Ed Morrison
msProjectExperts
"We wrote the books on Project Server"
http://www.msprojectexperts.com
FAQ - http://www.projectserverexperts.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top