471,047 Members | 1,216 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,047 software developers and data experts.

Calling an access Macro from a VB.NET application - Very Urgent

(Type your message here)

Any help is appreciated.

I have a situation wherein i need to compact access db after somebusiness logic through VB.NET.I've written a function in VBA tocompact the database and i am calling that function in AccessMacro, and if i run that access macro in the backend, itsworking fine.But when i tried to call that access macro fromVB.NET code,i'm not getting any errors, but that macro is notworking. I'm calling that access macro likeaccess.docmd.runmacro "MACRONAME". How to call an access macroor a VBA function in VB.NET code?.

Thanks in advance.
From: Sen K

Posted by a user from .NET 247 (http://www.dotnet247.com/)

Nov 20 '05 #1
1 2494
Hi Sen,

Did you already look here?


I think when this goes this is much easier.

I hope this helps?

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

63 posts views Thread by Jerome | last post: by
reply views Thread by J Skeggs | last post: by
23 posts views Thread by Reggie | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.