473,382 Members | 1,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Mousewheel DLL not functioning

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
8 2927
AccessIdiot
493 256MB
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
jl2886
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
14,534 Expert Mod 8TB
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
jl2886
83
I sitll get an error?
Try this ...

Expand|Select|Wrap|Line Numbers
  1. blRet = MouseWheelOFF(False, True)
May 14 '07 #5
MMcCarthy
14,534 Expert Mod 8TB
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
3,532 Expert 2GB
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
jl2886
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
jl2886
83
Perfect, thanks a million
May 15 '07 #9

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

Similar topics

6
by: deko | last post by:
Is it possible to disable the mouse wheel WITHOUT using a DLL? I've looked at Microsoft Knowledge Base Article 278379 (http://support.microsoft.com/default.aspx?scid=kb;en-us;278379), which...
2
by: Jack | last post by:
Hi all, I searched the archives and found everyone happy with Stephen's MouseWheel On/Off code except for those with subforms. Stephen's page indicates that he has added code to handle subforms...
0
by: Mark Johnson | last post by:
Seems the mousewheel isn't controlled in earlier versions like A97 or 2000. So you can accidentally use the mousewheel to scroll to the next record in an unbound form. And that can cause Access to...
1
by: Niranjan | last post by:
I have a data entry form. I am trying to avoid users accidentally using the mouse wheel and saving an incomplete record (or saving record that skips the validation routine). In Mousewheel event,...
1
by: Nicholas Shewmaker | last post by:
(I apologize if this posts twice. My AVG is being fussy.) From what I've read, MouseWheel is a very tricky event. I have replaced my Python tcl84.dll and tk84.dll files with those in the...
7
by: James | last post by:
Hi, I have a Windows Forms application which uses multiple child forms (MDI interface). The height of one of the child forms is larger than the height of the MDI client area, so when this...
3
by: Dave K | last post by:
I seem to be missing something... I want to use a mousewheel event in my VB.NET app... and there's a lot of example code on the net showing how to use the mousewheel event... and the .NET docs...
0
by: WaterWalk | last post by:
Hello. When I tried to make Tkinter canvas widget respond to MouseWheel event on Windows XP, I failed. The canvas just doesn't receive MouseWheel event. I used bind_all to find out which widget...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
In a database search application (vb2005), the user wants to be able to scroll through records using the mousewheel. The data display form contains textboxes for the main data and a datagridview...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.