Launching MS Project Pro 2007 From Web application

S

stephan clerc

Is there a way to launch MS Project 2007 from Web Site using GUID of a
project or some other informations from a project (something really similar
to the ActiveX control of Project Center page in Project Web Access 2007) ?
- Is there a feature ready-to-use in PSI ?
- Should we use File Handler /or COM, and How ?

Goal is to open a project in MS Project Pro 2007 from a link in a web page
(without using directly the activeX control of PWA).

Thanks.
 
R

Rod Gill

Hi,

This is how I would start and stop Project Professional logged into Project
Server using Excel VBA:

Sub StartProject()
Dim projApp As MSProject.Application
On Error Resume Next
Shell "winproj.exe /s http://projectdemo/sample/"
Do Until Not (projApp Is Nothing)
DoEvents
Set projApp = GetObject(, "MSProject.Application")
Loop
Debug.Print projApp.Name
Debug.Print projApp.Profiles.ActiveProfile.ConnectionState
projApp.Quit
Set projApp = Nothing
End Sub

You will need Project installed on the web server of course. If you are not
using NT authentication then you need to add login and password parameters
to the Shell command
--

Rod Gill
Project MVP

Project VBA Book, for details visit:
http://www.projectvbabook.com

NEW!! Web based VBA training course delivered by me. For details visit:
http://projectservertraining.com/learning/index.aspx
 

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