How to cal function module when MS Project is open through VBA?

P

Psk

I am working in Project server 2007 in C# Application, have wrote the
functions in the Module on Global.MPT. I wants to cal the function which is
available in the module when ever project is open(not a same project). if i
open any of the MS Projects, wants to call the function automaticaly. How do
i write the code to the Project_Open() for calling the function module in VBA
??

Regards,
Psk
 
P

Psk

Hi,
It's working fine, but once i 'sign out' the project server(PWA) and open
again, it was destroyed all codes (module,script in Project_Open()) on the
"Global (+non -catched Enterprise)". what can i do for that ? how do i store
the codes parmenently in VBA ??

Psk
 
J

Jan De Messemaeker

Hi,

I did say put it in the Enterprise Global, not in the cached-out.
If you have admin rights you can in Professional access the Enterprise
global:
Tools, Enterprise options, Open Enterprise Global

Hope this helps,

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
 
P

Psk

Hi Jan De Messemaeker,
If i open the Enterpise Global from tools menu, it was showing the error
'The enterprise global file cannot be checked out.
You cannot check out the enterprise global as its already checked out to
administrator'
I am in administrator user only.

Plz suggest me !!!
 
P

Psk

Thanks, I can able to open the Enterpise Global from Tools menu, just put a
message box on "Global.MPT under ThisProject", Project_Open() event.
But i m not able to get the message when i open some projects. Messagebox
not even fired any of the project is opened !!!
and also not able to see the Global (+non -catched Enterprise) in the
project explorer...

Solution plz..
 

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