http://support.microsoft.com/kb/278379 has it. Both options: 1. Using dll, 2. Implement everything from Access VBA.
There's a catch with this all VBA method, everytime if you visit the VBA editor, you need to restart the whole database, or else the mouse will freeze from time to time.