Opening Project from local cache using VBscript

D

Deva

I have written vbscript to open a project from local cache as bellow

objPrjapp.FileOpenEx "<>\" & projectName,False,,,,,,,,,,,,,,,True

but not sure whether it is correct one or not. is there any way we can
confirm it?

Pls let me know if there is any other way to open the project from local
cache. thanks in advance
 
R

Rod Gill

That code opens the project from Project Server. However, Project Pro always
opens the local cached version if one exists then downloads from Server any
changes.

You can find and use projects in the Cache folder but it isn't recommended.
If you did edit it, I think it would be strongly recommended that you then
delete it to avoid problems with sync'ing. Project would assume the latest
data is always in server.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com




Deva said:
I have written vbscript to open a project from local cache as bellow

objPrjapp.FileOpenEx "<>\" & projectName,False,,,,,,,,,,,,,,,True

but not sure whether it is correct one or not. is there any way we can
confirm it?

Pls let me know if there is any other way to open the project from local
cache. thanks in advance




__________ Information from ESET Smart Security, version of virus
signature database 4474 (20091001) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4474 (20091001) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 
D

Deva

Thanks much! one more question. How to check whether a project is already
check out or not before opening it using VBScript.

Regards,
Deva
 
R

Rod Gill

I don't know off hand, but I suspect the answer will be in the SDK.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com




Deva said:
Thanks much! one more question. How to check whether a project is already
check out or not before opening it using VBScript.

Regards,
Deva



__________ Information from ESET Smart Security, version of virus
signature database 4474 (20091001) __________

The message was checked by ESET Smart Security.

http://www.eset.com

__________ Information from ESET Smart Security, version of virus signature database 4474 (20091001) __________

The message was checked by ESET Smart Security.

http://www.eset.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