Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i use it in vb.net? #27

Open
Bonnickson opened this issue Aug 10, 2023 · 0 comments
Open

how can i use it in vb.net? #27

Bonnickson opened this issue Aug 10, 2023 · 0 comments

Comments

@Bonnickson
Copy link

Bonnickson commented Aug 10, 2023

  • I compile the project and reference the dll
  • I add the creator dll to the executable directory
  • I install interception

When I try to run my code I get this error

BC30182: Type expected

on the line Dim input As Input = New Input()

Imports Interceptor
Dim input As Input = New Input()

Private Sub Entrar_Click(sender As Object, e As EventArgs) Handles Entrar.Click
        ' Be sure to set your keyboard filter to be able to capture key presses And simulate key presses
        ' KeyboardFilterMode.All captures all events; 'Down' only captures presses for non-special keys; 'Up' only captures releases for non-special keys; 'E0' and 'E1' capture presses/releases for special keys
        input.KeyboardFilterMode = input.KeyboardFilterMode.All
        ' You can set a MouseFilterMode as well, but you don't need to set a MouseFilterMode to simulate mouse clicks
        ' Finally, load the driver
        input.Load()
        input.MoveMouseTo(5, 5)
End Sub

any solution?
Thank you all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant