Click here to Skip to main content
11,496,146 members (1,471 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: VBScript
hello guys, i have compiled a code to send key strokes to a geckofx webrowser, but the problem is it doesn't seem to send the keys!! so any ideas? thanks in advance!
here's my code;

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Me.geckowebrowser1.Focus()
    'to focus on the browser
    SendKeys.SendWait("{tab}")
    
End Sub
Posted 17-Mar-13 6:20am
Comments
tony karant at 17-Mar-13 11:51am
   
thanks u very much, i changed it to upper case and it works fine

1 solution

Hey the only thing that jumps out there is that TAB is not upper case.
See http://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 RyanDev 230
2 CHill60 208
3 Sascha Lefèvre 195
4 Sergey Alexandrovich Kryukov 124
0 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 17 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100