Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get all source code in mdb file (msaccess) using C#/VBScript

Tags:

c#

vba

ms-access

I would like to get all the source code from an Access database (forms, modules) without using Office interops.

I liked the AllCodeToDesktop() function found here. However that runs from inside the mdb file.

What would a VBScript file be that loads the mdb file and runs that function on it?

like image 204
Fidel Avatar asked Dec 13 '22 02:12

Fidel


1 Answers

I would like to get all the source code from an access database (forms, modules) - without using office interops

Microsoft Office is required. You might as well paste your function into the MDB and run it from there.

like image 90
Robert Harvey Avatar answered Dec 16 '22 18:12

Robert Harvey