answersLogoWhite

0


Best Answer

I have provided the answer in link form. Please click the Microsoft Support link listed below.




to create an integer for each coordinate that is auto-updated


Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles_ Me.MouseMove


Dim x As Integer
Dim y As Integer


x = e.X
y = e.Y




End Sub

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you determine mouse position in visual basic?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Comparison between visual basic and Microsoft visual basic?

There is no difference. Microsoft Visual Basic and Visual Basic are the same thing. Visual Basic is a language that was developed by Microsoft. There is however a difference between Visual Basic and Visual Basic .NET (Now known as just Visual Basic and VB.Net). VB.Net is basically Visual Basic, the only difference is that VB.Net supports the Microsoft .NET Framework. There is a similar language, called BASIC, from which Visual Basic was derived.


How do i find the current cursor position in C program?

You cannot do that "in C" but can in TurboC:functions wherex and wherey are you friends. Consult the help.The cursor position, also known as the mouse position, is a function of the operating system, more specifically, not a function of the current window. Other than by hooking the mouse, a complex topic, there is no way to determine the current cursor position.For TurboC: WhereX WhereY from conio.h


Basic parts of a computer and their meaning?

mouse


Define the event in visual basic?

Visual Basic is an event driven program. For an example, take a button on a Windows Form. When you click on the button, it is an event. That event invokes a method and executes a part of the program. A Scroll bar have events scroll and change. When you scroll the scroll bar, it is an event for the scroll bar. When you click on a position on the scroll bar, the value changes at one and it is another event. These different events can invoke different methods.


What is flat scroll bar in visual basic?

The FlatScrollBar control is a mouse-sensitive version of the standard Windows scroll bar that offers two-dimensional formatting options. It can also replace the standard Windows three dimensional scroll bar. The FlatScrollBar provides increased intreactivity when using the scroll arrows and the scroll box.

Related questions

What is the function of a computer mouse tagalog?

What is the basic function of a computer mouse


Comparison between visual basic and Microsoft visual basic?

There is no difference. Microsoft Visual Basic and Visual Basic are the same thing. Visual Basic is a language that was developed by Microsoft. There is however a difference between Visual Basic and Visual Basic .NET (Now known as just Visual Basic and VB.Net). VB.Net is basically Visual Basic, the only difference is that VB.Net supports the Microsoft .NET Framework. There is a similar language, called BASIC, from which Visual Basic was derived.


How do i find the current cursor position in C program?

You cannot do that "in C" but can in TurboC:functions wherex and wherey are you friends. Consult the help.The cursor position, also known as the mouse position, is a function of the operating system, more specifically, not a function of the current window. Other than by hooking the mouse, a complex topic, there is no way to determine the current cursor position.For TurboC: WhereX WhereY from conio.h


Basic parts of a computer and their meaning?

mouse


What is it called when you position your mouse pointer over the name of the item?

When you position your mouse pointer over the name of the item, it is called "hovering" over the name.


What are the basic mouse actions?

the basic mouse actions are left click, right click, scroll, drag and that's it maybe theres more but that's all i can think off.


Which animal is usually used to determine the toxicity of a product?

mouse


Can you name main three basic function of the mouse?

willly


What are Visual Basic features?

Important Features of Visual Basic (VB)Full set of objects - you 'draw' the applicationLots of icons and pictures for your useResponse to mouse and keyboard actionsClipboard and printer accessFull array of mathematical, string handling, and graphics functionsCan handle fixed and dynamic variable and control arraysSequential and random access file supportUseful debugger and error-handling facilitiesPowerful database access toolsActiveX supportPackage & Deployment Wizard makes distributing your applications simple


Trackball is basically a mouse turned which way in a mouse?

A trackball is basically a computer mouse that has been turned upside down. This allows the mouse to sit in a stationary position, requiring less desk space.


Basic difference between PS2 and USB mouse?

port and speed


What do you bait a basic mousetrap with?

Cheese or mouse bait where you can buy from stores