By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Mousewheel DLL not functioning

P: 83
Hello. I have downloaded the Mousewheel Dll. I have put it in the same folder as my database(which references a table on a server--not sure if this matters). On the on load of a form, I put the code:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2. Dim blRet As Boolean
  3. blRet = MouseWheelOFF
  4. End Sub
  5.  
The mousewheel is still on? Am I missing something?
May 14 '07 #1
Share this Question
Share on Google+
8 Replies


AccessIdiot
100+
P: 493
Hello. I have downloaded the Mousewheel Dll. I have put it in the same folder as my database(which references a table on a server--not sure if this matters). On the on load of a form, I put the code:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2. Dim blRet As Boolean
  3. blRet = MouseWheelOFF
  4. End Sub
  5.  
The mousewheel is still on? Am I missing something?
You are missing the true/false part. Try this:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2. Dim blRet As Boolean
  3. blRet = MouseWheelOFF(False)
  4. End Sub
May 14 '07 #2

P: 83
You are missing the true/false part. Try this:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2. Dim blRet As Boolean
  3. blRet = MouseWheelOFF(False)
  4. End Sub
it reads an under cursor error when i do the false
May 14 '07 #3

MMcCarthy
Expert Mod 10K+
P: 14,534
Hello. I have downloaded the Mousewheel Dll. I have put it in the same folder as my database(which references a table on a server--not sure if this matters). On the on load of a form, I put the code:
Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Load()
  2. Dim blRet As Boolean
  3. blRet = MouseWheelOFF
  4. End Sub
  5.  
The mousewheel is still on? Am I missing something?
Try this ...

Expand|Select|Wrap|Line Numbers
  1. blRet = MouseWheelOFF(False, True)
May 14 '07 #4

P: 83
I sitll get an error?
Try this ...

Expand|Select|Wrap|Line Numbers
  1. blRet = MouseWheelOFF(False, True)
May 14 '07 #5

MMcCarthy
Expert Mod 10K+
P: 14,534
I sitll get an error?
Where have you put the mousewheel function and have you got the dll in the same folder as the database?
May 14 '07 #6

missinglinq
Expert 2.5K+
P: 3,532
Your code is correct as originally posted. You've placed the DLL in the same folder as the database, you placed your code in the FormOpen event, but you have said nothing about importing the modMouseHook module from Leban's sample database into your own database. Have you done this?
May 15 '07 #7

P: 83
NO, hahah, I will try that

Your code is correct as originally posted. You've placed the DLL in the same folder as the database, you placed your code in the FormOpen event, but you have said nothing about importing the modMouseHook module from Leban's sample database into your own database. Have you done this?
May 15 '07 #8

P: 83
Perfect, thanks a million
May 15 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.