All is not lost -- yet! Can you define "Crash"?
I followed the instructions on the Microsoft website, created the DLL, modified a form in my database, then tried to run it. Ahm, eer, I don't have a mouse wheel... so I moved DB & DLL to my other workstation and tried it.
I got "Can't create object" -- is that what you get?
I tinkered and changed the line from:
Private WithEvents clsMouseWheel As MouseWheel.CMouseWheel
to:
Dim XXX as MouseWheel.CMouseWheel
Then deleted that line and created:
Dim WithEvents clsMouseWheel As MouseWheel.CMouseWheel
And the form worked just fine. When you scroll, you get the proper message.
Then realizing that I would take a beating from the people that really know how to code, I changed everything back to the way it was. Much to my chagrin, it still worked. (Any help to explain why would be appreciated).
FYI - I am running Access 2000 on an XP box.
"Have a great day today and a better day tomorrow!