3 Replies - 3734 Views - Last Post: 27 January 2011 - 06:10 AM Rate Topic: -----

#1 cutedevils  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 22-April 09

i need to use a shortcut key press

Posted 26 January 2011 - 03:23 PM

i made a hidden button to move from a web form to another , but i would like to use the " ctrl + shift" keys as a shortcut for the hidden buttom to take effect as a pressed button and moves me from the web "form1" to the web "form2"
can any one help ?
mail me to my account : xxxxxxx.xxx .. please use the subject / title " shortcut key press"
thanks in advance

This post has been edited by modi123_1: 26 January 2011 - 03:24 PM
Reason for edit:: let's keep the solutions open to everone

Is This A Good Question/Topic? 0
  • +

Replies To: i need to use a shortcut key press

#2 CharlieMay  Icon User is offline

  • This space intentionally left blank
  • member icon

Reputation: 1533
  • View blog
  • Posts: 4,926
  • Joined: 25-September 09

Re: i need to use a shortcut key press

Posted 26 January 2011 - 05:17 PM

View Postcutedevils, on 26 January 2011 - 05:23 PM, said:

mail me to my account : xxxxxxx.xxx .. please use the subject / title " shortcut key press"
thanks in advance


You lost me at this point.

Please understand that there are a large number of people that frequent this site that enjoy helping people with their coding problems. But you need to show some effort on your part as to what you've tried.

We are not a code writing service that hands out code.

Don't mean to sound harsh but it appears that you expect us to submit you a solution to your problem and on top of that, you don't want to be bothered with coming back to see if anyone helped, you'd rather us make it even easier on you by sending it directly to your email. And... on top of that we have a Subject rule so that you don't have to dig down though a lot of spam to find any solution.

This post has been edited by CharlieMay: 26 January 2011 - 05:18 PM

Was This Post Helpful? 0
  • +
  • -

#3 sak904  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 72
  • Joined: 03-September 09

Re: i need to use a shortcut key press

Posted 26 January 2011 - 05:18 PM

Try something like

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = System.Windows.Forms.Keys.Ctrl Then
If e.KeyCode = System.Windows.Forms.Keys.Shift Then
movebutton()
End If
End If
End Sub

If you need it anywhere, look into using hotkeys.
Was This Post Helpful? 0
  • +
  • -

#4 cutedevils  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 22-April 09

Re: i need to use a shortcut key press

Posted 27 January 2011 - 06:10 AM

thanks for reply :)
i already found a sollution .., but thanks any way
and glad there are people helping in finding sollutions for problems :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1