D
D. Mahakian
I am attempting to use COM to generate a .mpp file using Oracle COM
Automation (Oracle database 9.2). The steps I am performing are:
1) Open Project Application
2) Create Blank Project
3) Add task with name "Task 1"
4) Save as test.mpp
If I perform steps 1, 2, and 4 in order, there is no problem. When I perform
steps 1-4 in order, the COM interface hangs when attempting step 4 and the
project application must be killed on the server.
I am able to successfully complete the same steps when using the python COM
interface (pythonwin win32com) and using VBA.
The difference between Oracle COM and the other 2 methods is that the Oracle
COM starts the application running under the system user account.
I believe that the problem is caused by a 'wizard' dialog box, most likely
asking whether or not to save a baseline. COM does not have any way to detect
this, and when running as system user application can not be made visible (to
my knowledge). I believe that this is a per user setting that does not
trigger when run as my account (most likely because I disabled it somehow).
Is there a way to confirm that this is the problem? Is there a registry entry
to disable this wizard?
Environment:
Windows Server 2003
Office 2000, Project 2000
Oracle 9.2
- D. Mahakian
Automation (Oracle database 9.2). The steps I am performing are:
1) Open Project Application
2) Create Blank Project
3) Add task with name "Task 1"
4) Save as test.mpp
If I perform steps 1, 2, and 4 in order, there is no problem. When I perform
steps 1-4 in order, the COM interface hangs when attempting step 4 and the
project application must be killed on the server.
I am able to successfully complete the same steps when using the python COM
interface (pythonwin win32com) and using VBA.
The difference between Oracle COM and the other 2 methods is that the Oracle
COM starts the application running under the system user account.
I believe that the problem is caused by a 'wizard' dialog box, most likely
asking whether or not to save a baseline. COM does not have any way to detect
this, and when running as system user application can not be made visible (to
my knowledge). I believe that this is a per user setting that does not
trigger when run as my account (most likely because I disabled it somehow).
Is there a way to confirm that this is the problem? Is there a registry entry
to disable this wizard?
Environment:
Windows Server 2003
Office 2000, Project 2000
Oracle 9.2
- D. Mahakian