468,512 Members | 1,429 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

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

(Type your message here)
Hi,

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/)

<Id>z5VkjrEovE6MethqjzaKuw==</Id>
Nov 20 '05 #1
1 2429
Hi Sen,

Did you already look here?

http://support.microsoft.com/default...b;en-us;306287

I think when this goes this is much easier.

I hope this helps?

Cor
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
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.