How to create a MS Access macro using C#?
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.
精彩评论