Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VB6[Sendkeys]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Fri Mar 07, 2008 6:33 pm    Post subject: VB6[Sendkeys] Reply with quote

I need help in vb6 sendkeys it dont work for some reason here is the code i used

Code:
Sendkeys "Hello{Enter}"


i put it in a timer and open notepad and when i press run it says"permission denied"

_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Fri Mar 07, 2008 7:13 pm    Post subject: Reply with quote

Code:
SendKeys "Hello"
SendKeys "{Enter}"

Try that instead

_________________
Back to top
View user's profile Send private message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Fri Mar 07, 2008 7:17 pm    Post subject: Reply with quote

nope it said runtime error 70 permission denied
_________________
Back to top
View user's profile Send private message
coder sal
Master Cheater
Reputation: 0

Joined: 11 May 2007
Posts: 304

PostPosted: Fri Mar 07, 2008 8:03 pm    Post subject: Reply with quote

xDemonRobbiex wrote:
nope it said runtime error 70 permission denied


First make a timer and put the interval to 1000 or higher so its 1 second or more. Then look in properties if timer1 is enabled. If enabled is false change it to true. Now go to the timer code and put in:

Code:
SendKeys "Hello"
SendKeys "{Enter}"


It should work! Don't do it together!
Right after you do:

Code:
SendKeys "Hello"


Hit the enter button and then do

Code:
SendKeys "{Enter}"


Also put in the quotes "" as they are in the code, don't remove them.
Back to top
View user's profile Send private message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Sat Mar 08, 2008 8:46 am    Post subject: Reply with quote

did not work Sad keep saying permission denied
_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Sat Mar 08, 2008 8:52 am    Post subject: Reply with quote

Can I see your whole project code?
Or is that it?

_________________
Back to top
View user's profile Send private message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Sat Mar 08, 2008 9:27 am    Post subject: Reply with quote

Code:
Private Sub cmdStart_Click()
Timer1.Enabled = True
End Sub

Private Sub cmdStop_Click()
Timer1.Enabled = False
End Sub

Private Sub Timer1_Timer()
SendKeys "Hello"

SendKeys "{Enter}"
End Sub

_________________
Back to top
View user's profile Send private message
coder sal
Master Cheater
Reputation: 0

Joined: 11 May 2007
Posts: 304

PostPosted: Sat Mar 08, 2008 11:10 am    Post subject: Reply with quote

xDemonRobbiex wrote:
Code:
Private Sub cmdStart_Click()
Timer1.Enabled = True
End Sub

Private Sub cmdStop_Click()
Timer1.Enabled = False
End Sub

Private Sub Timer1_Timer()
SendKeys "Hello"

SendKeys "{Enter}"
End Sub


Try:

Code:
Private Sub cmdStart_Click()
Timer1.Enabled = True
End Sub

Private Sub cmdStop_Click()
Timer1.Enabled = False
End Sub

Private Sub Timer1_Timer()
SendKeys "Hello"
SendKeys "{Enter}"
End Sub
Back to top
View user's profile Send private message
Golden Wing
Grandmaster Cheater
Reputation: 0

Joined: 29 Aug 2007
Posts: 905

PostPosted: Sat Mar 08, 2008 11:46 am    Post subject: Reply with quote

lol i had to make it an exe for it 2 work Razz
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites