Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Access databases #1

Open
chelh opened this issue Jul 21, 2016 · 8 comments
Open

Support for Access databases #1

chelh opened this issue Jul 21, 2016 · 8 comments

Comments

@chelh
Copy link
Owner

chelh commented Jul 21, 2016

Add support for extracting and publishing VBA from/to Access databases (.mdb and .accdb).

@rubberduck203
Copy link

Was there any particular difficulty that you were having with this? I created this functionality for Rubberduck a few years ago, albeit we leveraged the VBIDE library. I no longer have an office install, but I'd be happy to talk out any issues.

@chelh
Copy link
Owner Author

chelh commented Feb 5, 2017

Rubberduck is working within the Access/VBE object model though, correct? This project doesn't use that object model; it reads and writes directly to the Office file.

@rubberduck203
Copy link

It does, and you are gonna have one heck of a time yanking VBA files out of Access without the VBIDE library... Access doesn't share the OpenXml format.

I don't precisely recall, but I believe there are hidden system tables in the accdb that keep track of forms and code modules, but it's been a long while since I looked at that.

@rubberduck203
Copy link

Regardless, I wanted to leave the offer to use me as a rubberduck anytime.

@chelh
Copy link
Owner Author

chelh commented Feb 5, 2017

Looks like Jackcess can read Access files from Java. So what's needed is a .Net port of that.

@rubberduck203
Copy link

Are you sure that project can get to the VBA modules? It doesn't look like it at a glance.

@chelh
Copy link
Owner Author

chelh commented Feb 5, 2017

If I take that project up, I'm fairly certain I would find a vbaProject.bin somewhere in the internal structure.


EDIT: Nope. After playing around with Jackcess, I can say that porting it to .Net is easier said than done, and VBA project information is spread across at least two system tables, not stored in a binary structure similar to Word/Excel/Outlook VBA.

@mashaiq
Copy link

mashaiq commented Oct 17, 2017

If you want to spend a little money - this solution works great https://dev2dev.de/index.php?lang=en and has a nice support from the developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants