Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AutoType in vb.net(help)
30-06-2013, 11:48 PM, (This post was last modified: 30-06-2013, 11:51 PM by KakiPukul.)
Post: #1
AutoType in vb.net(help)
Salam bro sekalian.. macam mane nak buat autotype di dalam textbox dalam satu form??

Contoh: Hello,welcome .. <-- tulisan ni bile org buka akan auto tulis di textbox yang telah disediakan.. Hmm

harap boleh bantu .. =)
Reply
01-07-2013, 12:23 AM,
Post: #2
RE: AutoType in vb.net(help)
_Sub btnClick(blah2)
{

SendKeys(TxtBox.Text);

//Mungkin


}
Reply
01-07-2013, 12:40 AM,
Post: #3
RE: AutoType in vb.net(help)
(01-07-2013, 12:23 AM)Syahmie Wrote: _Sub btnClick(blah2)
{

SendKeys(TxtBox.Text);

//Mungkin


}

code nih letak kt button ?? Hmm
Reply
01-07-2013, 01:42 AM,
Post: #4
RE: AutoType in vb.net(help)
(30-06-2013, 11:48 PM)KakiPukul Wrote: Salam bro sekalian.. macam mane nak buat autotype di dalam textbox dalam satu form??

Contoh: Hello,welcome .. <-- tulisan ni bile org buka akan auto tulis di textbox yang telah disediakan.. Hmm

harap boleh bantu .. =)

HmmHmmHmmHmmHmmHmmHmmHmmHmmHmm
[Image: 2ImPbrO.png]
Reply
01-07-2013, 11:48 AM,
Post: #5
RE: AutoType in vb.net(help)
OK.. let's me explain sikit..

buat new project ..

add - 2 button,textbox dan timer..

click button1

--Code -- Timer1.Enabled = true

dc button2

-- code -- Timer1.Enabled = Stop

double click timer..

SendKeys.Send("Test Mesej")
SendKeys.Send("{ENTER}") ' Enter function on you computer keyboard


timer1.interval = "1000" '1000 ms = 1 saat


itu jak
Reply


Forum Jump: