如何运行microsoft professional 2010“宏/任何程序”以编程方式将.mpp项目文件发布到项目服务器2010的逻辑 [英] how to run microsoft professional 2010 "macro/any program" logic to publish .mpp project file to project server 2010 programmatically

查看:62
本文介绍了如何运行microsoft professional 2010“宏/任何程序”以编程方式将.mpp项目文件发布到项目服务器2010的逻辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以任何人建议。

如何运行microsoft professional 2010"宏/任何程序"逻辑 以编程方式将.mpp项目文件发布到项目服务器2010而不启动microsoft professional 2010窗口 。

how to run microsoft professional 2010 "macro/any program" logic to publish .mpp project file to project server 2010 programmatically with out getting launched microsoft professional 2010 window .

谢谢&此致,Krishna

Thanks & Regards, Krishna

推荐答案

嗨克里希纳,

你可以使用Microsoft.Office.Interop.MSProject.Application类的Publish()方法。请参阅

这篇文章
 获取一些代码示例。此解决方案将启动MS Project窗口但您可以隐藏它,即它不会显示。

You can use Publish() method of Microsoft.Office.Interop.MSProject.Application class. See this post to get some code sample. This solution will launch MS Project window but you can hide it, i.e. it will not be displayed.

最好的问候,

Alexander Bylinsky

Best Regards,
Alexander Bylinsky


这篇关于如何运行microsoft professional 2010“宏/任何程序”以编程方式将.mpp项目文件发布到项目服务器2010的逻辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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