Next Gen Boards
 

Sponsored Links
Arcade YouTube vbBux / vbPlaza Calendar FAQ

Reply
 
Thread Tools Display Modes  
xpvtlag
Captain Grade 1
 
xpvtlag's Avatar
 
Join Date: Feb 2008
Location: At your house under your bed
Posts: 306
Rep Power: 1 xpvtlag is on a distinguished road Reputation: 11
Points: 34,818.48
Bank: 2,150.75
Total Points: 36,969.23
Happy Birthday Mate ! The Same Day As Mine =D - liljak 
xpvtlag is offline
 
Send a message via AIM to xpvtlagSend a message via MSN to xpvtlagSend a message via Yahoo to xpvtlagSend a message via Skype™ to xpvtlag
 
#1
08-15-2008, 04:27 AM   #1
Reply With Quote
[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
thats it... your done!!

here is the explanation
Code:
http://www.google.com/search?hl=en&q=
is the beginningof the google search, when you search for something in google.

Code:
& Text1.Text
adds
Code:
http://www.google.com/search?hl=en&q=
to the beginning of it, and searches whatever is in the text box.

&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"
and keep in mind that text1.text is whatever is in the text box

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
then, double click the form and add
Code:
webbrowser1.gohome
then if you want to add refresh, back, forward, home button, keep reading

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
then, just press F5 to test it, or play at the top of the window, and see if it works!! if it doesnt please ask because i may have made a mistake in the coding on here.
















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
then make 2 timers
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
now go to timer 2 code, or double click the second timer and enter
Code:
sendkeys (text1.text)
sendkeys "(ENTER)"
Then click on the first timer, and in the bottom right for the interval type 1
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)
then, if you want you can also have
Code:
text#.text = day(now)
text#.text = month(now)
text#.text = year (now)
then, test your preject, press F5 or press the play button at the top middle of the window, if it works, press stop
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!!
Report Post
SgtJoelC
Sergeant Grade 2
 
Join Date: Nov 2007
Posts: 80
Rep Power: 2 SgtJoelC is on a distinguished road Reputation: 30
Points: 1,300.00
Bank: 29,352.79
Total Points: 30,652.79
SgtJoelC is offline
 
 
#2
08-15-2008, 06:47 AM   #2
Reply With Quote
Nice, too complicated fo me tho
Report Post
mameman2
Commander Grade 4
 
mameman2's Avatar
 
Join Date: Mar 2007
Location: in the shoutbox mostlikely
Posts: 554
Rep Power: 2 mameman2 is on a distinguished road Reputation: 17
Points: 301.00
Bank: 405,084.79
Total Points: 405,385.79
for giving me 60 bucks - cobrad for getting hacked - RezSide 
Boston Red Sox New England Patriots
mameman2 is offline
 
Send a message via AIM to mameman2Send a message via Yahoo to mameman2
 
#3
08-29-2008, 09:47 PM   #3
Reply With Quote
nice post tho but dont click on the exe....just a precaution in not saying anythings wrong
__________________
DONT CLICK HERE

Quote:
[Today 08:54 PM] conrad127:we just abuse our powers and ban people
Quote:
[Today 09:04 PM] Tinsley85: no i'm a noob!!!
Quote:
[Today 10:22 PM] heavytech94: attack and brutally murder mamemam
Report Post
Beau
Moderatin' with style
 
Beau's Avatar
 
Join Date: Aug 2007
Location: Kent, UK
Posts: 6,123
Rep Power: 9 Beau will become famous soon enoughBeau will become famous soon enough Reputation: 127
Points: 3,822.43
Bank: 0.00
Total Points: 3,822.43
to blot up the piss on my pants... - Enzo thanks 4 lettin me no about net tools from crazydog090 - crazydog090 thanks for banning me! - ED__ thanx for being a greate sig maker give us some pointers from JABZ - JABZ13 thanx for the sig M8 - JABZ13 
Happy b-day Beau! stay active! - Oc LoG being my favorite mod xD - Oc LoG Happy Birthday - krizor <3 my favorite mod - mysteryentry beau is teh s3x - mysteryentry 
for being so cool whilste i av been on ngb - shamber I wont be a dick and leave you a horrible message. So here it is...Great jobs with the doubles! On our way to the top! xD - spankyx1x Dick face - spankyx1x hi - Versus No Message - Waelzleb 
Gay and Lesbian Pride - goldeneagle 
Manchester United
Beau is online now
 
Send a message via AIM to BeauSend a message via MSN to BeauSend a message via Skype™ to Beau
 
#4
08-29-2008, 10:02 PM   #4
Reply With Quote
Wow that browser is simple. At least add some loading bar commands and stuff. And tabs!

Nice post.
__________________


Report Post
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

top Go to Top All times are GMT -4. The time now is 04:19 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 Copyright ©2006 - 2008, NextGenBoards. All Rights Reserved