Code Error

In this forums, you can get help for any programming language.

Code Error

Postby ii Rocky ii » Sun Oct 22, 2006 1:54 pm


what is problem in this code
Code: Select all
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Pivate Const KEYEVENTF_KEYUP = &H2
    Private Const VK_F9 = &H78


Private Sub Command1_Click()
    Call keybd_event(VK_F9, 0, 0, 0)
End Sub


Private Sub Command2_Click()
    Call keybd_event(VK_F9, 0, KEYEVENTF_KEYUP, 0)
end Sub
The Rock, KaTiL
User avatar
ii Rocky ii
imFiles Junior
imFiles Junior
 
Posts: 86
Joined: Mon Oct 02, 2006 2:50 pm
Location: I will fuck the paltalk soon

Re: Code Error

Postby Newbie » Sun Oct 22, 2006 3:11 pm

ii Rocky ii wrote:what is problem in this code
Code: Select all
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Pivate Const KEYEVENTF_KEYUP = &H2
    Private Const VK_F9 = &H78

should be
Code: Select all
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Private Const KEYEVENTF_KEYUP = &H2
Private Const VK_F9 = &H78
User avatar
Newbie
imFiles Junior
imFiles Junior
 
Posts: 95
Joined: Fri Oct 07, 2005 2:51 pm

Postby ii Rocky ii » Sun Oct 22, 2006 3:30 pm

thx mistake is pivate
The Rock, KaTiL
User avatar
ii Rocky ii
imFiles Junior
imFiles Junior
 
Posts: 86
Joined: Mon Oct 02, 2006 2:50 pm
Location: I will fuck the paltalk soon

Postby BattleStar-Galactica » Mon Oct 23, 2006 4:13 am

double posting should be killed :lol:
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby Ghost » Mon Oct 23, 2006 8:44 am

i second that^

nanomachine007 wrote:double posting should be killed :lol:
Ghost
 

Postby Sabotage2 » Mon Nov 20, 2006 12:42 pm

why double posting willbee killed :shock:
Sabotage2
BANNED
BANNED
 
Posts: 574
Joined: Tue Dec 14, 2004 7:31 pm

Re: Code Error

Postby null » Mon Nov 20, 2006 1:17 pm

its a leeched code from planet-source-code.com

ii Rocky ii wrote:what is problem in this code
Code: Select all
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)Pivate Const KEYEVENTF_KEYUP = &H2
    Private Const VK_F9 = &H78


Private Sub Command1_Click()
    Call keybd_event(VK_F9, 0, 0, 0)
End Sub


Private Sub Command2_Click()
    Call keybd_event(VK_F9, 0, KEYEVENTF_KEYUP, 0)
end Sub
null
 


Return to Programming Help

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests