Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 OriginalGriff 605
1 Maciej Los 319
2 BillWoodruff 184
3 Richard MacCutchan 180
4 Suraj Sahoo | Coding Passion 180
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 17 Mar 2013
Copyright © CodeProject, 1999-2014
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