B
busterbaxter
Hello everybody,
I can't solve the following problem.
A script code inside Internet Explorer wants to open MS Project Prof
2003 with a connection
to MS Project Server 2003. The Visual Basic code would be like this:
Dim P
Set P = CreateObject("MSProject.Application")
Unfortunately this way opens MS Project Prof. always in offline mode
without any
chance and any way to build a connection to MS Project Server 2003.
In order to get the Logon window inside MS Project Prof. I got the hint
to open a shell
and start "WINPROJ.EXE " with some parameters.
But I cannot use this way!! Because I want to open MSProject from
Javascript code
inside a browser. Javascript is not allowed in any known way to open a
shell!
And I am glad that it is so
So I searched in the ASP code of PWA:
A project manager opens PWA, clicks on "Updates" in the menu, accept
the values,
and then clicks on the "Update" button. The client javascript routine
behind this button
uses the PJUPDATE.OCX control. This control is able to open MS Project
Prof. with
connection to MS Project Server 2003 . When the project manager accepts
the values and
presses the "Update" button then MS Project Prof. opens and connects to
MS Project Server.
That is want I want, open MS Project Prof. with connection to MS
Project Server with
Javascript.
Create an instance of "MSProject.Application" directly does not work,
starting "WINPROJ.EXE" in a shell does not work also,
but this control PJUPDATE.OCX works.
But how does he do this? Does anybody know?
The idea to create an instance of this control works, but it does not
have any methods
to connect to MS Project Server.
Thanks in advance for any hints how to create a MS Project Prof. object
with connection
to MS Project Server!!
Best regards,
Buster Baxter
I can't solve the following problem.
A script code inside Internet Explorer wants to open MS Project Prof
2003 with a connection
to MS Project Server 2003. The Visual Basic code would be like this:
Dim P
Set P = CreateObject("MSProject.Application")
Unfortunately this way opens MS Project Prof. always in offline mode
without any
chance and any way to build a connection to MS Project Server 2003.
In order to get the Logon window inside MS Project Prof. I got the hint
to open a shell
and start "WINPROJ.EXE " with some parameters.
But I cannot use this way!! Because I want to open MSProject from
Javascript code
inside a browser. Javascript is not allowed in any known way to open a
shell!
And I am glad that it is so
So I searched in the ASP code of PWA:
A project manager opens PWA, clicks on "Updates" in the menu, accept
the values,
and then clicks on the "Update" button. The client javascript routine
behind this button
uses the PJUPDATE.OCX control. This control is able to open MS Project
Prof. with
connection to MS Project Server 2003 . When the project manager accepts
the values and
presses the "Update" button then MS Project Prof. opens and connects to
MS Project Server.
That is want I want, open MS Project Prof. with connection to MS
Project Server with
Javascript.
Create an instance of "MSProject.Application" directly does not work,
starting "WINPROJ.EXE" in a shell does not work also,
but this control PJUPDATE.OCX works.
But how does he do this? Does anybody know?
The idea to create an instance of this control works, but it does not
have any methods
to connect to MS Project Server.
Thanks in advance for any hints how to create a MS Project Prof. object
with connection
to MS Project Server!!
Best regards,
Buster Baxter