![]() |
| |
Thread Tools Display Modes |
|
[Tutorial] Vb6 how to make a clock, google search, web browser, and spammer in VB6
This is coded in visual basic 6
ok, open up visual basic and select standard.exe then press open. then go to project, add form then in the top right select form 1 make a label saying "type what you want to search for here" or put whatever your want, this is optional then make a text box and delete what is inside of it then, make a button and name is search, or go or something, double click it and put Code:
Form2.WebBrowser1.Navigate "http://www.google.com/search?hl=en&q=" & Text1.Text & "&meta" Form2.Show here is the explanation Code:
http://www.google.com/search?hl=en&q= Code:
& Text1.Text Code:
http://www.google.com/search?hl=en&q= &meta is the end of the search, or atleast it WAS, and its easier to type that, which combines the total url into Code:
http://www.google.com/search?hl=en&q=" & Text1.Text & "&meta" ok, so thats the google search, so heres the web browser open vb6 and do standard.exe then press open, then right click on the bar at the left, an empty spot, and press components, then look for microsoft internet tools, put a check in the box, apply, close. then click on the globe on the bar at the left, at the bottom, and drag it all the way from the top to the bottom, but leave some space at the top for back forward home the address bar and go ok, make a label and name it Address: or something, that is optional, make a text box and delete whatever is inside of it... then make a button next to the text bar, and name it go, search, move your ass, or something along those lines, lol... double click on the box and type in Code:
webbrowser1.navigate text1.text Code:
webbrowser1.gohome for those buttons, make a button in the top left of the form, or wherever u want at the top, and double click it, now ddepending on what button u want it to be, you would put one of these. Code:
webbrowser1.gohome webbrowser1.goback webbrowser1.goforward webbrowser1.refresh Ok, here i will show you how to make a clock and a spammer in visual basic 6. Which one do you want to learn first. ok you want to learn the spammer first, thats good, its easier :P First you want to open vb6 and press standard.exe and then ok, then make a text box, and delete everything thats inside of it. If you want to make it hotkeyed, double click the form and at the top type Code:
Private Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Long) As Integer double click the first one and put Code:
if getkeypress(vbkey"F12") then timer2.enabled = true end if if getkeypress(vbkey"F11") then timer2.enabled = false end if Code:
sendkeys (text1.text) sendkeys "(ENTER)" then click on the 2nd timer, and in the bottom right click on true and change to false, then for the interval put whatever u want, thats how much you will spam... ((note that it is in milliseconds, so 1000ms = 1s, and 100ms = .10s)) also, if you have it under 200 as the interval, make sure u press ur stop hotkey before u exit the window, or you will have some problems and will have to press the flag button on the bottom left of your keyboard, then press the hotkey stop..... to test it, press F5 or press the play button at the middle top, open up notepad, then press F12 or whatever you set your hotkey too, and it should work! REMEMBER TO TEST YOUR FILES BY PRESSING F5 BEFORE YOU CREATE THE EXE!! After that go to file>make file.exe and put it wherever you want... then happy spamming!! here is a spammer i made set to 100 interval, dont worry its virus free and this is just to see what its like if you've never used one http://www.vastupload.com/scripts/up...629db8da29.exe Now its time for the clock, i bet you forgot about it didnt you?? ok well heres what you do, open vb6 and select standard.exe make 3 textboxes, and delete whats inside of them. then, make a timer inside the timer put this Code:
text1.text = hour(now) text2.text = minute(now) text3.text = Second(now) Code:
text#.text = day(now) text#.text = month(now) text#.text = year (now) Then file>make file.exe and put it wherever you want.... REMEMBER TO TEST YOUR FILES BY PRESSING F5 BEFORE YOU CREATE THE EXE!! ok so that was a lot easier than the spammer, but i just like the spammer more =) well thanks for reading, and i hoped this helped!! |
|||||||
|
Nice, too complicated fo me tho
|
|||||||
|
nice post tho but dont click on the exe....just a precaution in not saying anythings wrong
__________________
DONT CLICK HERE
![]() Quote:
Quote:
Quote:
|
||||||||||
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|































Linear Mode
