Skip to content

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

@Bonnickson

Description

@Bonnickson
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions