是MSProject.Application的多个实例是可能的 [英] Is multiple instance for MSProject.Application is possible

查看:205
本文介绍了是MSProject.Application的多个实例是可能的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要并行读取多个MPP文件。为此,我必须在我的应用程序中实现线程,并且当并行执行该方法以读取mpp文件时,他们应该为每个线程
创建多个MSPorject.Application对象来读取mpp文件。所以我的问题是"MSProject.Application的多个实例是否可行?"

I want to read multiple MPP files parallelly. For that i have to implement threading in my application and when theread will execute the method parallelly for reading the mpp files they should create multiple objects of MSPorject.Application for each thread to read the mpp files. So my question is "Is multiple instance for MSProject.Application is possible?"

推荐答案

是。 它相当于使用鼠标打开两个MSPorject文件。  MPP文件是链接的,因此您必须确保两个MPP文件是批量链接的,以便能够同时具有读取和写入priveldges。 当您使用两个不同的应用程序打开相同的对象
时,第二个自动变为只读。
Yes.  It is equivalent to opening up two MSPorject files using your mouse.  MPP files are linked so you have to make sure the two MPP files are lot linked to be able to have both read and write priveldges.  When you open up the same object with two different applications the 2nd one automactially becomes read only.


这篇关于是MSProject.Application的多个实例是可能的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆