473,765 Members | 2,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how can I disable the mouse Scrolling Wheel?

Hello

I have an Access 2000 form with the following properties:

Record Source - Table1

Allow Additions - Yes

Data Entry - Yes

Cycle - Current Record

When I open this form the underlying table (Table1) goes to a new record
(let's call it record 1) as it should.

After typing in some data in this new record (record 1), if I turn the mouse
scrolling wheel, the underlying table then moves to the next new record
(record 2) and all the data appearing on the form disappears since the form's
controls (all the text boxes) are also bound to Table1.

If I start typing in data in this new record (record 2) and then turn the
mouse scrolling wheel again, Table1 moves to another new record (record 3)
and so on.

So is there a way to stop this from happening either by disabling the mouse
scrolling wheel or by some other way?

Thanks

G.Gerard
Nov 13 '05 #1
6 12141
Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"GGerard" <gg*****@nbnet. nb.ca> wrote in message
news:qI******** *************@u rsa-nb00s0.nbnet.nb .ca...
So is there a way to stop this from happening either by disabling the
mouse scrolling wheel or by some other way?

Nov 13 '05 #2
>> So is there a way to stop this from happening >> either by disabling the mouse
scrolling wheel or by some other way?


Gerard,
I tried the .dll route before, and it worked just fine at home, but
when I tried to implement it at work, my app crashed. It was because
they used different mice at work, with different drivers...I couldnt
install the recommended drivers, because they used a USB connection and
required a different driver.. MS has a different option, that will
prevent the mouse scroll without using a custom .dll... the only caveat
is, you can not open the visual basic editor in the production app or
MS Access will hang... this shouldnt be a problem if users are running
a run-time version.. if not, then make sure to do your development work
in a copy of the production database, then switch copies when needed...
see the following link for more info:

http://support.microsoft.com/default...b;en-us;278379
Mark
ac*********@aol .com

Nov 13 '05 #3
There is absolutely no way that my MouseHook DLL could cause your app to
crash. The code simply discards specific MouseWheel messages...noth ing
else, period. For you to state otherwise shows your lack of
understanding in this area.

--
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
<ac*********@ao l.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
So is there a way to stop this from happening >> either by disabling the mouse scrolling wheel or by some other way?

Gerard,
I tried the .dll route before, and it worked just fine at home, but
when I tried to implement it at work, my app crashed. It was because
they used different mice at work, with different drivers...I couldnt
install the recommended drivers, because they used a USB connection

and required a different driver.. MS has a different option, that will
prevent the mouse scroll without using a custom .dll... the only caveat is, you can not open the visual basic editor in the production app or
MS Access will hang... this shouldnt be a problem if users are running
a run-time version.. if not, then make sure to do your development work in a copy of the production database, then switch copies when needed...

see the following link for more info:

http://support.microsoft.com/default...b;en-us;278379
Mark
ac*********@aol .com


Nov 13 '05 #4
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djsteel e@NOSPAM_canada .com> wrote:
Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

This reminds me: Does anyone know why the mouse wheel will not work
inside the VBA editor? It works in most other places in Access but
not there. Makes no sense to me.
Nov 13 '05 #5
"Lauren Wilson" <no****@private .com> wrote in message
news:sa******** *************** *********@4ax.c om...
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djsteel e@NOSPAM_canada .com> wrote:
Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

This reminds me: Does anyone know why the mouse wheel will not work
inside the VBA editor? It works in most other places in Access but
not there. Makes no sense to me.


It's mouse driver sensitive. I had to "downgrade" several versions of my mouse
intellimouse driver to get scrolling in the vba window to work.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #6
Rick Brandt wrote:
"Lauren Wilson" <no****@private .com> wrote in message
news:sa******** *************** *********@4ax.c om...
On Sat, 25 Jun 2005 16:45:14 -0400, "Douglas J. Steele"
<NOSPAM_djste ele@NOSPAM_cana da.com> wrote:

Take a look at what Stephen Lebans has at
http://www.lebans.com/mousewheelonoff.htm

This reminds me: Does anyone know why the mouse wheel will not work
inside the VBA editor? It works in most other places in Access but
not there. Makes no sense to me.

It's mouse driver sensitive. I had to "downgrade" several versions of my mouse
intellimouse driver to get scrolling in the vba window to work.


Yeah, Intellipoint 4 works in the VBA window but 5 does not.

Alternatively there's freewheel
http://www.geocities.com/SiliconVall...freewheel.html

--
[OO=00=OO]
Nov 13 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3451
by: | last post by:
Hi! I develop an application and I need a mouse driver for universal and intelligent scrolling behaviour with wheel. Something like the Microsoft IntelliMouse has. Is something like that anywhere availabel? regards,
6
3753
by: serge calderara | last post by:
Dear all, I would like to be able to use the mouse wheel button in my windows application to scroll my control data. The weel gets two function, when you rotate it and whne you press it. How to handle that 2 function and tell to my control to scroll up or down based on wheel function? Any one have use it already?
1
2258
by: Brad | last post by:
Hi, I am using Access 2000. I am trying to get the microsoft code to work for stopping the mouse wheel from scrolling records. It is the code from http://support.microsoft.com/default.aspx?scid=kb;en-us;278379 Title "ACC2000: How to Detect and Prevent the Mouse Wheel from Scrolling Through Records in a Form"
1
3430
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this instance, whenever a user uses the mouse wheel to scroll down, the first record disappears off the screen and they can't get it back unless they click on the Refresh button or Page Up. The mouse wheel never scroll back up to the first record. ...
5
4367
by: Bryan Masephol | last post by:
Hi All I got a datagrid and a ComboBox on a form. I populate the combobox with years for all the data avaiable. When the user chooses a year the datagrid is populated with the specific years information. Problem... when the users scrolls the datagrid with the mouse wheel it work for 2 wheel clicks and then for some reason the focus jumps to the combobox and the year is then changes there for causing the data to change and errors...
0
3166
by: 6tc1 | last post by:
Hi all, I've got a UserControl that contains a few PictureBox objects. If I click on outside of the Picture in the UserControl, the scrolling with the mouse button works - however, no amount of clicking on the PictureBox objects will get that scrolling working. However, after I click on outside of the PictureBox object, then click as many times as I like on the PictureBox the scrolling with the mouse wheel continues to work. I found...
1
3333
by: nicholas | last post by:
Hi, If on an asp.net page the user has just selected a value in a dropdownlist and scrolls with the wheel of his mouse, the selected value of the dropdownlist will change. How could I avoid this. So how could I disable the mouse scrolling that dropdownlist. Or how could I disable the mouse-scroll on those pages.
8
2534
by: rodchar | last post by:
hey all, can someone please tell me if you can disable the scroll button for a dropdownlist. For example, when you select an item in a dropdownlist and it still has focus and you accidently hit scroll wheel on your mouse the selected item changes. can this be disabled? thanks,
1
3234
by: AnotherFranklin | last post by:
I recently edited a 2003 Access Database using the 2007 version. When using it with 2007, using the scroll wheel on the mouse when one is a form will scroll the page up & down. However, one of users is on Access 2003, and when using the wheel on her mouse, it will flip through the saved records in the database, in essence going from one record to another, as opposed to just scrolling up & down the form. How do I prevent this from...
0
10156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8831
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7375
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5275
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5419
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3531
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2805
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.