Senin, 10 Oktober 2011

Kegiatan Ku 5

Selalu berengi jam jikalau sudah jam 4,,

supaya tidak telat pulang dan melanjutkan KULIAH lagi


huuuhuuu

Kegiatan Ku 4

Selalu tidak tepat waktu untuk makan siang,,

anakkk ajaibbb banget gw ne

haaaa

Kegiatan Ku 3

Sampai di kantor,,


melihat muka-muka orang yang itu-itu ajahh

capeeee dehh
:(

Kegiatan Ku 2

Berangkat dari rumah jam setengah 7 untuk pergi mencari sesuap nasi,,

Lebaiiii akhhhh

Kegiatan Ku 1

Memulai aktifitas ku mulai dengan bangun tidur jam 6 pagi

Creating Your First Application

In this section, we will not go into the technical aspects of the WB programming, but is aware of it. Now you can try the examples below:

Example 2.1.1 is a simple program. First of all, you need to launch Microsoft Visual Basic. Normally standard form Form1 is available, you can start a new project. Now, double click on Form1, the source code window Form1, as shown in Figure 2.1 will be seen. The upper part of the source code window consists of a list of objects and of related events or procedures. Figure 2.1, the object appears in the form and procedure related to what is a burden.

When you click on the object's box, drop-down list to see the list of objects, you have been added to the form as shown in Figure 2.2. Here you can see a form of a command button, whose name has been Command1, a label with the name of Label1 and PictureBox, whose name has been picture1. Similarly, when you click on the procedure box, a list of related object is shown in Figure 2.3. Some of the procedures related to the object form, is to activate, click DblClick (which means Double-Click), DragDrop, and keyPress, etc. Each object has its own procedures. You can select an object and enter codes for any of the action in order to perform certain tasks.

You do not have to worry about in the beginning and end of statements (ie Private Sub Form_Load ....... End Sub.) Just the key between the lines for more than two statements, just as it is presented here. When you start the program, you have to be a surprise that there was no indication. In order to show the output of the program, add Form1.show statement as the example of 2.1.1, or you can use Form_Activate () case, the procedure as set out in the example 2.1.2. Print Command does not mean using the printing of the printer, it means that by showing the production of the computer screen. Now, press the F5 or click on the Run button, and run the program and you get output, as shown in Figure 2.4.

You can also perform simple arithmetic calculations, which can be seen, for example, 2.1.2. VB * used to describe a report on the operator and / to denote division of the operator. The results are shown in Figure 2.3, if the results are arranged vertically.

Selasa, 04 Oktober 2011

Visual Basic .NET

Microsoft Visual Basic .NET adalah sebuah alat untuk mengembangkan dan membangun aplikasi yang bergerak di atas sistem .NET Framework, dengan menggunakan bahasa BASIC. Dengan menggunakan alat ini, para programmer dapat membangun aplikasi Windows Forms, Aplikasi web berbasis ASP.NET, dan juga aplikasi command-line. Alat ini dapat diperoleh secara terpisah dari beberapa produk lainnya (seperti Microsoft Visual C++, Visual C#, atau Visual J#), atau juga dapat diperoleh secara terpadu dalam Microsoft Visual Studio .NET. Bahasa Visual Basic .NET sendiri menganut paradigma bahasa pemrograman berorientasi objek yang dapat dilihat sebagai evolusi dari Microsoft Visual Basic versi sebelumnya yang diimplementasikan di atas .NET Framework. Peluncurannya mengundang kontroversi, mengingat banyak sekali perubahan yang dilakukan oleh Microsoft, dan versi baru ini tidak kompatibel dengan versi terdahulu.
 
CONTOH PROGRAM VISUAL BASIC.NET
Berikut ini adalah contoh lain dari program Visual Basic yang menggunakan objek CheckBox dan ComboBox untuk menghitung jumlah kredit mata kuliah yang diambil oleh seorang mahasiswa (masing-masing mata kuliah = 3 kredit):
Dim total As Integer
total = 0 ' awal dari jumlah kredit total
If (CheckBox1.Checked = True) Then 'boleh memilih semua checkbox
            total += 3
        End If
        If (CheckBox2.Checked = True) Then
            total = total + 3
        End If
        If (CheckBox3.Checked = True) Then
            total = total + 3
        End If
If (ComboBox1.SelectedIndex = 0) Then 'hanya bisa memilih satu
            total = total + 3
        ElseIf (ComboBox1.SelectedIndex = 1) Then
            total = total + 3
        ElseIf (ComboBox1.SelectedIndex = 2) Then
            total = total + 3 
        End If
Label3.Text = CStr(total) ' hasil kredit total yang diambil
 

Jumat, 23 September 2011

Tutorial Visual Basic 6.0

 Visual Basic 6.0 is prmrograman language that is widely used in the programming world. Tutorial on using Visual Basic 6.0 is also very much in number. On the internet you just search by keyword tutorial visual basic 6.0, it will be found many sites that discuss the use of Visual Basic 6.0. And in particular and complete you can find the official site to belong Microsoft.
          This blog will provide a brief tutorial with examples and tips and tricks pemrogrammnya. Topics will be divided into several groups:
A. Tutorials, which will discuss the controls that exist in Visual Basic 6.0
B. Example code, which will give you a simple picture of how to use vb (visual basic).
C. Tips and Tricks
A. tutorials

Text Box

  Visual Basic 6.0, the MaxLength property to determine the number of characters that can be put in TextBox Control. If you try to insert text into TextBox control, the text will be cut along specified by the MaxLength property.
          In Visual Basic 2008, the MaxLength property of behavior no longer applies to text that is added programming code. Same as the behavior of Visual Basic 6.0, you need to cut the strings themselves.
          In Visual Basic 6.0, PasswordChar property is of type String, in Visual Basic 2008 is of type Char.In addition, there are differences in concepts that apply to all control, including differences in the handling of data binding in Copntrol, such as fonts, operating drag-and-drop, and more.
          The following examples illustrate differences in coding techniques between Visual Basic 6.0 and Visual Basic 2008.For tutorial following code shows how to find the string in the TextBox control in the highlight.
Tutorial Visual Basic 6.0 : Text Box


'Visual Basic 6.0
Private Sub Form_Load ()
Text1.Text = "Two of the human peak experiences"
Text1.Text = Text1.Text & "are good food and classical music."
end Sub

Private Sub Form_Click ()
Dim Search, Where
'Get search string from user.
Search = InputBox ("Enter text to be found:")
'Find string in text.
Where = InStr (Text1.Text, Search)
If Where Then
Text1.SetFocus
Where Text1.SelStart = - 1
Text1.SelLength = Len (Search)
else
MsgBox "String not found."
end If
end Sub

Visual Basic 9.0 (Visual Basic 2008)

Versi ini merupakan versi terbaru yang dirilis oleh Microsoft pada tanggal 19 November 2007, bersamaan dengan dirilisnya Microsoft Visual C# 2008, Microsoft Visual C++ 2008, dan Microsoft .NET Framework 3.5.
Dalam versi ini, Microsoft menambahkan banyak fitur baru, termasuk di antaranya adalah:

Silabus Visual Basic / Visual Basic Net

1. Visual Basic