How To Make Twitter Login Form In VB.NET


[VB.NET] Twitter Login Form


It is hard figuring out how to make a login app for a website when there is no “ID” attribute on the HTML code. Unlike facebook, which has an “ID” it is easy because it tells you right of the bat. Twitter on the other hand has no ID attribute for the username password or submit button. So I made this tut on how to login to twitter using TAGNAME instead.


Let’s start of by making a new project. Since this is just an example we will name it “TwitterLoginEX”. Once your new project is loaded go to the toolbox and add the following:


2 textboxes
1 button
1 webbrowser

Rename textbox 1 to “USERBOX” and textbox 2 to “PASSBOX” so it will be easier to remember which is which.

Now double click on the form to enter the form load event and put this code:

WebBrowser1.Navigate("https://mobile.twitter.com/session/new")
WebBrowser1.ScriptErrorsSuppressed = True


How To Make A File Searcher And Display Results In A Listbox

Today I will teach you how to display files from your computer in a listbox. The code is very simple and is for beginners so lets get started! First open visual basic 2008 / 2010.
1. Create / open a project.

2. Add a Button and give it the text: "Search".

3. Also add a Textbox and a Listbox.

4. Now double click on the Button and type or copy the following code:
For Each File In My.Computer.FileSystem.GetFiles(My.Computer.FileSystem.SpecialDirectories.Desktop,
FileIO.SearchOption.SearchAllSubDirectories, Nothing)
              Dim foundFile As String =
              My.Computer.FileSystem.GetFileInfo(File).Name
              If foundFile.Contains(TextBox1.Text) Then
                      ListBox1.Items.Add(foundFile)
              End If
      Next

How To Make A Stopwatch In VB.NET

Today i am going to teach you how to make a stopwatch in visual basic 2008/ visual basic 2010 the features are start, stop, mark and reset this is not a advanced stopwatch, but this has the basic features of a stopwatch probably this is for beginners so lets get started with opening your visual basic 2008 / visual basic 2010

1 . Create a new project
2 . Add a label, 4 buttons, 1 listbox and a timer
3 . Go to timer properties and change timer interval to 1 
4 . I recommend you to arrange your tools like this

5 . Time for coding double click form and add all these codes
Public Class Form1

    'Author : Mohamed Shimran
    'Blog : http://www.ultimateprogrammingtutorials.blogspot.com

    Dim StopWatch As New Diagnostics.Stopwatch
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Dim elapsed As TimeSpan = Me.StopWatch.Elapsed
        Label1.Text = String.Format("{0:00}:{1:00}:{2:00}:{3:00}", Math.Floor(elapsed.TotalHours), elapsed.Minutes, elapsed.Seconds, elapsed.Milliseconds)
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Start()
        Me.StopWatch.Start()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Stop()
        Me.StopWatch.Stop()
    End Sub

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        Me.StopWatch.Reset()
        Label1.Text = "00:00:00:000"
        ListBox1.Items.Clear()
    End Sub

    Private Sub Button3_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
      ListBox1.Items.Add(Label1.Text)
    End Sub
End Class  
6 . Now debug the program and the program would work like this


Hope you enjoyed the tutorial.

How To Make Youtube Video To MP3 Converter In VB.NET

Hello, NiCz here
In this post, I will teach you how to make a YouTube to MP3 Converter

Ok, you will need this below:

1 WebBrowser (Visible - False)
2 Buttons (Button 1 - Convert) (Button 2 - Download MP3)










How To Make An Internet Radio Player In VB.NET

Creating a simple internet radio player

1. Open Visual Studio or Visual Basic.
2. Create a new windows form project and name it whatever you want.

Now to the controls.
1. Add 1 windows media player control.
2. Add 2 buttons, put button1 text to "Play", and put button2 text to "Stop".

Now to the code.


How To Make A VERY Simple Keylogger In VB.NET

Creating a very simple keylogger

1. Open Visual Studio or Visual Basic.
2. Create a new windows form project and name it whatever you want.

Now to the controls

1. Add one richtextbox, make it dock "Fill"
2. Add one timer, make the interval 100 and make it enabled

now to add the code







Add this piece of code under public class form1, like on the picture above
 Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Int32) As Int16 


How To Make Your Form Shake In VB.NET




Use this code to make a form shake. It is fun to use and can be used under any event.

codes :

'By LeSaN
'Easy code to make a form shake

Dim a As Integer 'Declaring integer "a"

While a < 10 'Starting a "while loop"

'Setting our form's X position to 20 'pixels to right from it's current position.            
Me.Location = New Point(Me.Location.X + 20, Me.Location.Y)
            
'Telling a program to sleep for 50 miliseconds before 'continuing
System.Threading.Thread.Sleep(50)

'Setting our form's X position to 20 'pixels to left from it's current position.
Me.Location = New Point(Me.Location.X - 20, Me.Location.Y)

'Telling a program to sleep for 50 miliseconds before continuing            
System.Threading.Thread.Sleep(50)
            
a += 1 'Increasing integer "a" by 1 after each loop
        
End While


Here is a preview:



--------------------------------------------------------------------------------------

How To Make A Text To Speech Program In Visual Basic 2008 / 2010 - Text To Speech

text to speech

This is a nice program ever for beginners i was amazed when i made this program at first , this is a simple program and its very useful . This program reads text's in a text box when you click a button,  the voice is Microsoft "SAPI" you can make many features in this program after learning the basic of  this program . so lets get started

1 . open visual basic 2008 / visual basic 2010

2 . create a new project and name it whatever you want i prefer Text To Speech

Visual basic noobs - Basic web browser

This is my first tutorial in the Visual basic noobs series. So lets get this started!

First, open your program for visual basic, it can be visual basic express or visual studio.


After it finishes loading, you should see something like this. (It varies based on what program you have.)