Left Orkut | May 11 hey is it asking for product key .. 
it will say for registration which is free |
|
Salman | May 11 count me in too
i wanna learn too 
waise pritul is doing a good job |
|
Salman | May 11 i have downloaded it and now its installing |
|
Left Orkut | May 11 thanx .. u r welcome |
|
Left Orkut | May 11 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 |
|
Salman | May 11 i have done the above part that you explained |
|
Left Orkut | May 11 good .. wait for next one .. |
|
Left Orkut | May 12 Well its good to cya all .. learning fast .. so on high demand lets get going with our 1st software i.e. scrapbook
flooder 
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 TIO 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 TIO 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 |
|
Left Orkut | May 12 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 D3
i.e. javascript:i=0;tio=document.getElementsByTagName('TEXTAREA').item(0).value;document.body.innerHTML+='name="TextFlooding" width="800" height="800">';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 |
|
Left Orkut | May 12 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 |
|
No comments:
Post a Comment