6

I would like to develop an add-in for Microsoft PowerPoint. I have Visual Studio 2012 installed and ready, but i can't seem to find any simple tutorials or getting started guides on the subject except this brilliant (sarcasm) guide from Microsoft: http://msdn.microsoft.com/en-us/library/vstudio/cc668192.aspx

I have been searching the net for a few days, but without any luck.

Is there anyone with experience in developing add-ins for PowerPoint, who could give me a hint on how to get started?

It would be great to know if you prefer Visual Basic or C# and why.

Lastly, sorry if I sound like a rookie. I am for sure.

Kind regards.

4

2 回答 2

3

Visual Basic(我假设是 .NET)还是 C#?

如果您不熟悉 PowerPoint 自动化,也不是。

使用 VBA。它内置于 PPT 中,使用起来更快,您可以在 IDE 中测试一小段代码,而无需先编译。

如果您决定稍后将其移动到 VB.NET 或 C# 中,假设您知道这两种语言中的任何一种,这应该不是那么大的困难。

或者一旦开发完成,您可以将包含 VBA 的 PPT 保存为加载项(PPA 或 PPAM 文件,具体取决于您要定位的 PPT 版本)。并以比需要的多一点的方式分发它;没有大量的运行时/框架等。

于 2013-02-03T04:47:11.790 回答