3

Is there a version of Microsoft Office Access uses C# instead of VB6 for native automation? If so how do I go about using it - is there some way to switch it or activate it?

3
  • Just to be clear, do you mean Access, the rapid application database development tool, or Jet/ACE, the default database use by Access? Commented Jan 14, 2011 at 18:56
  • Yep that's the one - Microsoft Access. Commented Jan 14, 2011 at 19:11
  • No. Why would you do that ? Triple the development duration ? 8-/ Commented Jan 14, 2011 at 22:24

3 Answers 3

1

Not natively, no. But here is an article on how to do some basic automation functions externally using C#:

http://support.microsoft.com/kb/317114

It's not integration in the sense that you can write macros in it, but it will give you a reasonable level of control.

Sign up to request clarification or add additional context in comments.

1 Comment

I was afraid of that. I did see that article, but was hoping that MS had integrated .net by now. I seem to remember checking a box when installing that said something about using .net for automation. sigh.
0

Yes you can but it's not like flipping a switch on and off. Automating Access with C#

1 Comment

If you're using COM automation, you're not really using C# for your code, no? Or, put another way, you're writing Access code (i.e., VBA, executed via COM) inside C#, and at a couple levels removed.
0

May be this will help:

Another article for MS Access and C# connection:

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.