Ms-Access but no VBA?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Bart
Level 1
Level 1
Posts: 5
Joined: Thu Jun 06, 2013 7:15 am

Ms-Access but no VBA?

Post by Bart »

As far as I can see, it is not possible to run in Wine Ms-Access-applications containing VBA code.
In most Ms-Access applications some code is written in this Visual Basic for Applications (VBA)
Is there a solution for this? Who knows more?

Bart
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Ms-Access but no VBA?

Post by lahmbi5678 »

It might also depend on the MS Access version. Please create a minimum testcase and file a bug.
Bart
Level 1
Level 1
Posts: 5
Joined: Thu Jun 06, 2013 7:15 am

Re: Ms-Access but no VBA?

Post by Bart »

Thanks for your reply.
Because this forum does not accept attachments with the extensions accdb and accde, you will find two examples here:

http://www.bartkuijer.nl/test.accdb and http://www.bartkuijer.nl/test.accde

This have to show a form with a button. Clicking on the button has to give a messagebox with the message " Hello; this works in Wine!"

Hope this will help.

Bart
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Ms-Access but no VBA?

Post by lahmbi5678 »

Hi,

did you follow the instructions in appdb to install your MS Access? Which version? Some appdb entries mention overriding oleaut32.dll for Access, i.e. copy the dll from install medium (or maybe WinXP) to wine's system32 directory, set an dll override in winecfg to "native, builtin" or run something like "WINEDLLOVERRIDES="ole32aut=n" wine yourapp.exe".

The usual generic advice would be to upgrade to latest wine, run from command line and post terminal output. If there's no obvious error message, file a bug. It is your issue, so it's up to you to create the bug report.
Locked