Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Microsoft Office

Im doing a very basic database in Access 2010. I just need

Customer Question
I'm doing a very basic...
I'm doing a very basic database in Access 2010. I just need one little "extra" feature to do with mouse movement. When the user is on an image object, circling with their mouse, I would like to get a calculation of the distance they moved with their mouse or the number of rotations they made with their mouse. It is really easy to get the X,Y coordinates but nothing is obvious to track the mouse movement (rotation and/distance). Thank you



***Easy to get X,Y coordinates but and store in a variable on mouse click.
***Would like to get the distance the mouse moved while the mouse moved over the image.

Private Sub Image16_Click()
Me!ResultText.Value = Me!Coordinates.Value
End Sub

Private Sub Image16_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me!Coordinates.Value = X & ", " & Y
End Sub
Submitted: 5 years ago.Category: Microsoft Office
Show More
Show Less
Ask Your Own Microsoft Office Question
Answered in 4 minutes by:
5/6/2012
Microsoft Office Technician: Richard, Software Specialist replied 5 years ago
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 41,032
Experience: Over 15 year experience resolving Microsoft Office Issues
Verified

RichieMe :

Hi there and welcome

RichieMe :

is this what you are looking for?

RichieMe :

Let me know please

Customer:

Yes. I'm not sure to include the code in the example but it is what I would like to work in Access 2010. I would like to see the distance value increment as I circle the cursor over the image. When I stop moving, I want to store the resulting value in a variable by clicking on the mouse.

RichieMe :

ok, then that code will work

Customer:

I have to head out right now and I can't test it. Hopefully, I can figure out how to incorporate it. I've never used this site before. Is this ticket still open until I give it a try.

RichieMe :

its always open

RichieMe :

it never closes

RichieMe :

just remember to click Accept please when your happy

Customer:

Perfect. Thanks.

RichieMe :

your welcome

Customer:

Sorry but I actually have no idea how to incorporate this code into Access 2010. I'm actually used to be a programmer (diff environment obviously). Is there a way to put the folder "CursorDistance" into a library which is accessible? I can meander my way through basic database functions but this it out of my territory. Can you tell me how to add this code? and... how I would add it to the macro...per below:

Customer:

Private Sub Image16_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Me!Text17.Value = X & ", " & YEnd Sub

RichieMe :

ok, make a module in Access. Then copy the code in that. You can then just reference the functions anywhere in the database.

Customer:

ok. I can make a module in access but i'm not sure which code to add. there are quite a few files. Cursordistance.csproj, Form1.cs, Form1.Designer.cs, Form1.resx, Program.cs, and then two subdirectories (obj & properties). Sorry just a total beginner around this stuff. I know how to create basic functions in a module but I don't know how to incorporate this code. Thanks!

RichieMe :

ok,then this will require programming on our side as it is most likely too complex for ytou

RichieMe :

I will move this question to the programming category

Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 41,032
Experience: Over 15 year experience resolving Microsoft Office Issues
Verified
Richard and 87 other Microsoft Office Specialists are ready to help you
Ask your own question now
Ask Richard Your Own Question
Richard
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 41,032
41,032 Satisfied Customers
Experience: Over 15 year experience resolving Microsoft Office Issues

Richard is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

jstinehelfer

jstinehelfer

Information Systems Manager

36 satisfied customers

A+ Comptia Certified computer repair

JasonJames122

JasonJames122

Computer Enthusiast

0 satisfied customers

I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

Jess M.

Jess M.

Computer Support Specialist

701 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

The-PC-Guy

Computer Manager

588 satisfied customers

20 years experience providing remote computer support

James K.

James K.

Consultant

260 satisfied customers

Technical Director of IT Company

IT Miro

IT Miro

Computer Scientist

157 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Chris L.

Support Specialist

147 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
Publisher just shut down and I lost all of my work! Any way
Publisher just shut down and I lost all of my work! Any way to reclaim? … read more
caraleneK
caraleneK
Service Manager
1,676 satisfied customers
I would like to access ‘my documents' folder. I would like
I would like to access ‘my documents' folder JA: What application are you using? Customer: I would like to access my ‘my documents' folder JA: Have you installed any updates recently? Customer: How do… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I am told that my contact for Microsoft Office has expired.
I am told that my contact for Microsoft Office has expired. I enjoy Office as it is, an element included in my iMac purchase as "Office for Mac". I believe that this lies in a lasting agreement that a… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
Thank you for asking. I am using MacOS 10.13 with MS Word
Thank you for asking. I am using MacOS 10.13 with MS Word for Mac 15.41 and keep getting this message: "You cannot save while the file is in use by another process. Try saving the file with a new name… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I purchased the home edition of Offcie 365 and installed but
I purchased the home edition of Offcie 365 and installed but looks like everything remains 2007. Also I thougtt I was buying a premium outlook separately but ended up being the personal version of 365… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
My userid has been locked up and I need to install a
my userid has been locked up and I need to install a Microsoft Office … read more
Kris R
Kris R
IT Manager
Computing
2,648 satisfied customers
I am finishing work on a large textbook and I find I cannot
I am finishing work on a large textbook and I find I cannot open my word documents.It says I do not have access to them. This is really frightening!! I need help. … read more
RussellA
RussellA
Solutions Architect
Bachelor\u0027s Degree
123 satisfied customers
H, Pearl. I can't log in to my office 365 account. Office
H, Pearl. I can't log in to my office 365 account. … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I can't recover a really important document that I was
I can't recover a really important document that I was working on … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I'm having trouble with creating an automatic table of
I'm having trouble with creating an automatic table of contents in Word. I think it has something to do with formatting in the document. … read more
Kris R
Kris R
IT Manager
Computing
2,648 satisfied customers
There was an update today and since I did it I can't open
There was an update today and since I did it I can't open Word. There was one for PowerPoint and Excel and they are all fine … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
When I type an e mail to a particular person, how do I
When I type an e mail to a particular person, how do I include multiple names recipients . … read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
701 satisfied customers
I have a document on one drive that wont open because the
I have a document on one drive that wont open because the file is corrupted. How can I open the document. It represents a weeks work. Would it help to use a different computer? … read more
Kris R
Kris R
IT Manager
Computing
2,648 satisfied customers
I have two cars a Hummer & Maserati I was able to access the
I have two cars a Hummer & Maserati I was able to access the Hummer, now I would like to use it on the Marz how do I do it? … read more
Kris R
Kris R
IT Manager
Computing
2,648 satisfied customers
I wrote a book and its now being published. There are many
I wrote a book and its now being published. There are many hard marks in the text which my publisher wants fixed. These occurred when i used space and enter when i shouldnt have. Iv corrected my inden… read more
George Sibiya
George Sibiya
PhD
217 satisfied customers
I have been trying to activiate or reactivate Windows 10 for
I have been trying to activiate or reactivate Windows 10 for this year. I messed up in the beginning by putting in the wrong account name. Have not been able to recover from this. I have gotten a new … read more
Bryan
Bryan
IT Consultant
8,751 satisfied customers
How do I move folders from MS Office 2013 on one PC to MS
How do I move folders from MS Office 2013 on one PC to MS 365 Personal on another PC … read more
PC_Wizzard
PC_Wizzard
IT Technician
38 satisfied customers
I downloaded Microsoft Office 365 on a different laptop. I
I downloaded Microsoft Office 365 on a different laptop. I was not able to activate it. I need to move it to a different laptop. Do I need to activate it on the other laptop 1st? … read more
John Lohr
John Lohr
Owner / Technology Specialist
Teaching Certification
507 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x