将我的 .NET 控件嵌入到 MS Project 2003 中

发布于 2024-07-07 09:26:17 字数 279 浏览 10 评论 0原文

我需要为我的公司扩展 MS Project 的功能,因此我想将一些 .NET GUI 控件嵌入到 Project 中。 计划是我的控件将用户输入保存到我的自定义数据库表中,但我必须将它们绑定到任务、当前用户、资源等。您能给我一些如何开始的建议吗? 我感兴趣的是:

  • 示例应用程序/演练、如何嵌入控件 进入 MS 项目。
  • 如何绑定我的控件的用户输入 到当前上下文(例如,当前 选择的任务)
  • 由于控件在客户端运行,我如何将其推广到企业范围内。

I need to extend MS Project's functionality for my company, so I would like to embed some .NET GUI controls into Project. The plan is that my controls save the user input into my custom DB tables, but I do have to bind them to tasks, current user, resources etc. Could you give me some advise how to start? I am interested in:

  • Sample apps/walk-throughs, how to embed a control
    into MS Project.
  • How to bind user input of my control
    to current context (e.g., currently
    selected task)
  • Since the control runs on the client side, how can I roll it out enterprise wide.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

朦胧时间 2024-07-14 09:26:17

Add-In Express 是一个很棒的库,用于为 MS Office(包括 Project)编写 .Net 插件。

不能说我自己在 Project 中使用过它(实际上只有 Visio),但我知道它有支持,所以可能值得一看!

它极大地简化了插件/加载项的编写,因此可以更轻松地查看它是否可以完成您想要的操作。

Add-In Express is a great library for writing .Net plugins for MS Office, including Project.

Can't say I've used it with Project myself (only Visio really), but I know there is support for it, so might be worth a look!

It greatly simplifies the writing on plug-ins / add-ins so it might be easier to see if it can do what you're after.

对不⑦ 2024-07-14 09:26:17

AFAIK你不能在Project中嵌入控件,你所能做的就是制作一个插件。

AFAIK you can not embed a control in Project, all you can do is make a plugin.

装纯掩盖桑 2024-07-14 09:26:17

我认为您想使用 Project Server。 您可以定义与您的资源、任务等一起移动的企业代码。 您还可以对它们进行报告、排序、过滤以及所有这些好东西以及正常的项目信息(日期、资源、成本...)。

如果您没有基础设施/资金来完成所有这些工作,另一种方法是标准化您公司使用的所有项目计划,并自定义计划所基于的模板。 (工具| Customize 将允许您添加自定义字段,并修改默认表单。)您可以修改用于在 (V em>iew | 更多表)您可以通过这种方式进行大量自定义,并且仍然将所有信息保留在项目计划中,而不是分散在 mpp 文件和数据库中。

I think you want to use Project Server. You can define Enterprise codes that travel along with your resources, tasks and so on. You can also report on them, sort, filter and all of that good stuff along with the normal project information (Dates, Resources, Costs ...).

If you don't have the infrastructure/funding to do all of that, an alternative approach would be to standardize all of the project plans your firm uses, and customize the template that the plans are based on. (Tools | Customize will let you add custom fields, and modify the default forms.) You can modify the tables used for reporting in (View | More Tables) You can do a lot of customization this way, and still have all of your information in the Project Plan instead of spread across an mpp file and a database.

她说她爱他 2024-07-14 09:26:17

AFAIK,这个版本的 Office 仅支持 COM 插件,因此您必须使用 COM Callable Wrapper。 但这当然是可能的。

AFAIK, this version of Office supports just COM plug-ins, so you'd have to use a COM Callable Wrapper. It's certainly possible though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文