movvadinesh
Feb 2nd 2008, 2:39 pm
To develop a software ull need some things .. u have to use either Visual Studio.NET or VB6 .. along with a little knowledge of javascript ..
although of u r not famalier with javascripts, need not worry .. u can use existing scripts or can learn basics here itself ..
so for now .. just download these sofwares at ur pc if u dont have them already
here is the link to download Visual Studio 2005, size approx 35 Mb ..
DOWNLOAD:
http://msdn.microsoft.com/vstudio/express/...ds/default.aspx
So wen u r done with this .. we will be starting with 1st software
i.e. Scrapbook Flooder
Lesson 1: Basics
Well this is the 1st part of tutorial where we will be learning basics controls .. such as a label, textbox and a button ..
u can find all these in the toolbox .. which is situated in the toolbar just below menu toolbar ..
for example.
see this http://img517.imageshack.us/img517/8343/untitledaa5.jpg
_______________________________________________
now lets get over to properties ..
u can see properties of any object by just right clicking the thing and then properties .. there r three important properties of any object, Enabled, Visible & Caption ..
Enabled means u can click that or not, visible means is it visible or not, caption decides the name of the control which appears ..
now u can set these properties either at run time or at designing time of a program ..
e.g for example u want that a button to appear at the run time
then u can use like
button1.visible = true
similarly button1.enabled = true
now explore various parts of dese things so that we may proceed to next part webbrowser :P
Step 1: Getting Started: So if u r using Visual Studio 2005 then open it .. then File >> New Project >> Windows
Application >> give it name of ur choice , here ill use DHZ Test Flooder for vB 6.0 users just follow the same procedure
and start with a Standard exe u can give it a name when u save the project ..
now by default a form will appear on ur screen .. this forms the background of ur project .. by default its name is Form1 ..
now right click the form and click properties .. ull find a property named as Caption (as I mentioned in lesson 1 ) this
decides the name of ur form .. change this to the desired name (I m using DHZ test Flooder in this case) when u do this ull
see the name at the top of ur form
Step 2: Webbrowser Control: In order to access web content with ur application, u need to embedd a webbrowser in ur
application, for this just open the toolbox and browse the botton of toolbar under All Windows forms category at the last ull
see something like Webbrowser .. .. just drag that onto ur form .. since Visual Studio is a product from microsoft hence
the default browser embedded in it is IE
Step 3: Adding Buttons: Now wat all u need frm a flooder, just that it must start flooding a scrapbook as soon as u press a
button and stop as soon as u press another button. i.e 2 basic buttons Start Flooding and Stop flooding .. so just drag 2
buttons from the toolbox onto the form .. similarly right click them >> then properties >> change Text Property to Start
Flooding and Stop Flooding
Step 4: Migrating webbrowser to orkut.com: now since u r building up an orkut application all u need that ur browser must
migrate to orkut.com as soon as u start that .. to do this just double click the main form i.e. form1, ull move to code part
of the interface .. and it will look something like
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Form1_Load decides what this form does when it gets loaded or it runs now what u want to do when it runs .. just open orkut.com .. ok ..
embedd this in between
webbrowser1.navigate("www.orkut.com")
now wen ull run that application .. it will navigate to orkut.com by
itself
Step 5: Embedding Flooding Scripts : now comes the most imp part .. now wat u need that wen u click the Start Flooding
button then it must start flooding scraps .. for that u need to embedd a flooding script for this just drag a testbox onto
the form, goto properties and set visible to false, multiline property to true and then most imp part .. in properties named
text just embedd ur javascript for flooding ..
in this test flooder ill use script by tio
i.e.
java script:i=0;tio=document.getElementsByTagName('TEXTAREA').item(0).value;document.body.innerHTML+='<iframe
name="TextFlooding" width="800" height="800"></iframe>';document.forms[1].target='TextFlooding';setInterval("document.getElementsByTagName('TEXTAREA').item(0).value=tio +' '+ i;_OS_writeScrap();i++",2000);void(0)
now double click the button Start flooding .. it will take u to the code page shown as
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End Sub
embedd the following line in between
webbrowser1.navigate(textbox1.text)
similarly add this line at Stop Flooding button
webbrowser1.navigate("http://www.orkut.com/Home.aspx")
now I think u can imagine what it does wen u click these 2 buttons .. it will run the script in text box wen u click start
flooding and will take u to home when u click stop flooding ..
This completes ur very very basic flooding software .. just press F5 to build the application and test it :P
Well it was too huge to write and I formatted it in a notepad on my pc .. may be it contains some bugs .. do tell me if u face any problems in implementing the same
although of u r not famalier with javascripts, need not worry .. u can use existing scripts or can learn basics here itself ..
so for now .. just download these sofwares at ur pc if u dont have them already
here is the link to download Visual Studio 2005, size approx 35 Mb ..
DOWNLOAD:
http://msdn.microsoft.com/vstudio/express/...ds/default.aspx
So wen u r done with this .. we will be starting with 1st software
i.e. Scrapbook Flooder
Lesson 1: Basics
Well this is the 1st part of tutorial where we will be learning basics controls .. such as a label, textbox and a button ..
u can find all these in the toolbox .. which is situated in the toolbar just below menu toolbar ..
for example.
see this http://img517.imageshack.us/img517/8343/untitledaa5.jpg
_______________________________________________
now lets get over to properties ..
u can see properties of any object by just right clicking the thing and then properties .. there r three important properties of any object, Enabled, Visible & Caption ..
Enabled means u can click that or not, visible means is it visible or not, caption decides the name of the control which appears ..
now u can set these properties either at run time or at designing time of a program ..
e.g for example u want that a button to appear at the run time
then u can use like
button1.visible = true
similarly button1.enabled = true
now explore various parts of dese things so that we may proceed to next part webbrowser :P
Step 1: Getting Started: So if u r using Visual Studio 2005 then open it .. then File >> New Project >> Windows
Application >> give it name of ur choice , here ill use DHZ Test Flooder for vB 6.0 users just follow the same procedure
and start with a Standard exe u can give it a name when u save the project ..
now by default a form will appear on ur screen .. this forms the background of ur project .. by default its name is Form1 ..
now right click the form and click properties .. ull find a property named as Caption (as I mentioned in lesson 1 ) this
decides the name of ur form .. change this to the desired name (I m using DHZ test Flooder in this case) when u do this ull
see the name at the top of ur form
Step 2: Webbrowser Control: In order to access web content with ur application, u need to embedd a webbrowser in ur
application, for this just open the toolbox and browse the botton of toolbar under All Windows forms category at the last ull
see something like Webbrowser .. .. just drag that onto ur form .. since Visual Studio is a product from microsoft hence
the default browser embedded in it is IE
Step 3: Adding Buttons: Now wat all u need frm a flooder, just that it must start flooding a scrapbook as soon as u press a
button and stop as soon as u press another button. i.e 2 basic buttons Start Flooding and Stop flooding .. so just drag 2
buttons from the toolbox onto the form .. similarly right click them >> then properties >> change Text Property to Start
Flooding and Stop Flooding
Step 4: Migrating webbrowser to orkut.com: now since u r building up an orkut application all u need that ur browser must
migrate to orkut.com as soon as u start that .. to do this just double click the main form i.e. form1, ull move to code part
of the interface .. and it will look something like
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Form1_Load decides what this form does when it gets loaded or it runs now what u want to do when it runs .. just open orkut.com .. ok ..
embedd this in between
webbrowser1.navigate("www.orkut.com")
now wen ull run that application .. it will navigate to orkut.com by
itself
Step 5: Embedding Flooding Scripts : now comes the most imp part .. now wat u need that wen u click the Start Flooding
button then it must start flooding scraps .. for that u need to embedd a flooding script for this just drag a testbox onto
the form, goto properties and set visible to false, multiline property to true and then most imp part .. in properties named
text just embedd ur javascript for flooding ..
in this test flooder ill use script by tio
i.e.
java script:i=0;tio=document.getElementsByTagName('TEXTAREA').item(0).value;document.body.innerHTML+='<iframe
name="TextFlooding" width="800" height="800"></iframe>';document.forms[1].target='TextFlooding';setInterval("document.getElementsByTagName('TEXTAREA').item(0).value=tio +' '+ i;_OS_writeScrap();i++",2000);void(0)
now double click the button Start flooding .. it will take u to the code page shown as
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End Sub
embedd the following line in between
webbrowser1.navigate(textbox1.text)
similarly add this line at Stop Flooding button
webbrowser1.navigate("http://www.orkut.com/Home.aspx")
now I think u can imagine what it does wen u click these 2 buttons .. it will run the script in text box wen u click start
flooding and will take u to home when u click stop flooding ..
This completes ur very very basic flooding software .. just press F5 to build the application and test it :P
Well it was too huge to write and I formatted it in a notepad on my pc .. may be it contains some bugs .. do tell me if u face any problems in implementing the same