(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.docm d.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>z5VkjrEovE6 MethqjzaKuw==</Id>
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.docm d.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>z5VkjrEovE6 MethqjzaKuw==</Id>
Comment