开发者

How to create a MS Access macro using C#?

开发者 https://www.devze.com 2023-02-24 11:08 出处:网络
I really do not want to learn Visual Basic and would like to stick with C#. I want to create a MS acces开发者_Go百科s macro using C# instead of Visual Basic. Is this possible? How?You should consider

I really do not want to learn Visual Basic and would like to stick with C#. I want to create a MS acces开发者_Go百科s macro using C# instead of Visual Basic. Is this possible? How?


You should consider doing this the other way around. Use Visual Studio to create COM objects in C#, possibly even creating an Add-in for Access. You can do everything you would have done in the Macro, but with a much better development environment, unit tests automated builds, etc.


Sure, through the COM object model: http://support.microsoft.com/kb/317114 and http://msdn.microsoft.com/en-us/library/ee861519.aspx should get you started.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号