Trying to use SetCursorPos and it's not working.

I have a web page that is a display kiosk. The system boots automatically and displays this page. The mouse cursor however plunks right down in the middle of the screen. I've tried changing the cursor to a blank cursor but the cursor is right over a data array and the system pulls the default text select cursor and every time the page refreshes, of course the cursor goes to the wait cursor. Happens every 10 seconds, not so good looking. So I tired to embed a SetCursorPos command in the page to try to move the cursor. My complier doesn't throw any errors up but the cursor doesn't move on load. Any ideas what I've got wrong?
<script language="VB" runat="server">
    Declare Function SetCursorPos Lib "user32" (ByVal X As Integer, ByVal Y As Integer) As Integer
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
        SetCursorPos(1080, 1080)
    End Sub
  </script>

Open in new window

CARLWAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Muhammad KhanManager, ITCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CARLWAuthor Commented:
Anyway to work this with the default system DLL's? I don't want to have to inject this into the corporate system, it'll take forever to get it approved.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.