LAMPIRAN LISTING PROGRAM

Size: px
Start display at page:

Download "LAMPIRAN LISTING PROGRAM"

Transcription

1 LAMPIRAN LISTING PROGRAM Imports System Imports System.IO Imports System.Math Public Class frmutama Dim dicari As DirectoryInfo Dim flpath As String, srcpath As String Dim asnode As Double, dsnode As Double, ksnode As Double, ssnode As Double Dim atnode() As Double, dtnode() As Double, ktnode() As Double, stnode() As Double Dim tmptarget As PictureBox Dim LT As Long, HT As Long Dim MaxErr As Double, LRate As Double Dim outdev() As Double, outkur() As Integer, outskew() As Integer Dim indev As Double, inkur As Integer, inskew As Integer Dim FinProses As Boolean Dim posx As Single, posy As Single Private Sub DoReset() ClearPictureBox(pbSource) ClearPictureBox(pbPreview) btnsource.text = "Load" btnsource.enabled = True btnproses.enabled = False lblfolder.text = "" txtlt.text = "10" txtht.text = "250" txterr.text = "0.05" txtindev.text = "" txtinkur.text = "" txtinskew.text = "" lstdeviasi.items.clear() lstkurtosis.items.clear() lstskewness.items.clear() lsthasil.items.clear() lstdaftar.items.clear() Private Sub ClearPictureBox(ByVal pb As PictureBox) pb.image = Nothing pb.backcolor = Color.Empty pb.invalidate() Private Sub btnsource_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnsource.click Select Case btnsource.text Case "Load" FinProses = False ofdpicture.title = "Pilih File Gambar"

2 53 150, 150) ofdpicture.filter = "BMP *.bmp" ofdpicture.filename = "" ofdpicture.showdialog() srcpath = ofdpicture.filename If Len(srcPath) < 1 Then Exit Sub pbsource.image = LoadPic(Image.FromFile(srcPath), btnsource.text = "Deteksi Tepi" Case "Deteksi Tepi" intvector = pbsource.width * pbsource.height pbsource.image = DoEdgeLinking(pbSource, True) If Len(lblFolder.Text) < 1 Then btnsource.enabled = False btnsource.enabled = True btnsource.text = "Segmentasi Kohonen" Case "Segmentasi Kohonen" LT = txtlt.text HT = txtht.text ReDim srcnode(intvector - 1) pbsource.image = DoSegment(pbSource, LT, HT, True, 0) asnode = AvgNode(True, 0) dsnode = DevNode(asNode, True, 0) ksnode = KurNode(asNode, dsnode, True, 0) ssnode = SkewNode(asNode, True, 0) ReDim trgnode(lstdaftar.items.count - 1, intvector - 1) ReDim atnode(lstdaftar.items.count - 1) ReDim dtnode(lstdaftar.items.count - 1) ReDim ktnode(lstdaftar.items.count - 1) ReDim stnode(lstdaftar.items.count - 1) tmptarget = New PictureBox tmptarget.width = 150 tmptarget.height = 150 For i = 0 To lstdaftar.items.count - 1 lstdaftar.selectedindex = i tmptarget.image = LoadPic(Image.FromFile(flPath & "\" & lstdaftar.items(i)), 150, 150) tmptarget.image = DoEdgeLinking(tmpTarget, False) tmptarget.image = DoSegment(tmpTarget, LT, HT, False, i) atnode(i) = AvgNode(False, i) dtnode(i) = DevNode(atNode(i), False, i) ktnode(i) = KurNode(atNode(i), dtnode(i), False, i) stnode(i) = SkewNode(atNode(i), False, i) btnproses.enabled = True btnsource.text = "Load" End Select Private Sub btnfolder_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnfolder.click fbdfolder.description = "Pilih Lokasi Folder" fbdfolder.showdialog() flpath = fbdfolder.selectedpath If Len(flPath) < 1 Then Exit Sub lblfolder.text = flpath

3 54 dicari = New DirectoryInfo(flPath) lstdaftar.items.clear() For Each fi In dicari.getfiles("*.bmp") lstdaftar.items.add(fi.name) If btnsource.enabled = False Then btnsource.enabled = True Private Sub lstdaftar_mousedown(byval sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lstdaftar.mousedown If e.button = Windows.Forms.MouseButtons.Right And FinProses Then cmsaksi.show(me.lstdaftar, New Point(Me.posX, Me.posY)) Private Sub lstdaftar_mousemove(byval sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lstdaftar.mousemove posx = e.x posy = e.y Private Sub lstdaftar_selectedindexchanged(byval sender As System.Object, ByVal e As System.EventArgs) Handles lstdaftar.selectedindexchanged Using fs As New System.IO.FileStream(flPath & "\" & lstdaftar.items(lstdaftar.selectedindex), IO.FileMode.Open, IO.FileAccess.Read) pbpreview.image = LoadPic(Image.FromStream(fs), 150, 150) End Using If FinProses Then lstdeviasi.selectedindex = lstdaftar.selectedindex lstkurtosis.selectedindex = lstdaftar.selectedindex lstskewness.selectedindex = lstdaftar.selectedindex lsthasil.selectedindex = lstdaftar.selectedindex Using fs As New System.IO.FileStream(flPath & "\" & lstdaftar.items(lstdaftar.selectedindex), IO.FileMode.Open, IO.FileAccess.Read) pbpreview.image = LoadPic(Image.FromStream(fs), 150, 150) End Using pbpreview.image = DoEdgeLinking(pbPreview, False) pbpreview.image = DoSegment(pbPreview, LT, HT, False, lstdaftar.selectedindex) Private Sub btnreset_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnreset.click DoReset() Private Sub frmutama_load(byval sender As Object, ByVal e As System.EventArgs) Handles Me.Load DoReset() Private Sub btnproses_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnproses.click Dim tmpkur As Double, ddev As Double

4 55 Dim CekDev As Boolean, CekKur As Boolean, CekSkew As Boolean Dim Hasil() As String MaxErr = txterr.text indev = dsnode tmpkur = ksnode - 3 If tmpkur < 0 Then inkur = -1 If tmpkur = 0 Then inkur = 0 inkur = 1 If ssnode < 0 Then inskew = 0 inskew = 1 txtindev.text = indev txtinkur.text = inkur txtinskew.text = inskew ReDim outdev(lstdaftar.items.count - 1) ReDim outkur(lstdaftar.items.count - 1) ReDim outskew(lstdaftar.items.count - 1) ReDim Hasil(lstDaftar.Items.Count - 1) lstdeviasi.items.clear() lstkurtosis.items.clear() lstskewness.items.clear() lsthasil.items.clear() For i = 0 To lstdaftar.items.count - 1 outdev(i) = dtnode(i) tmpkur = ktnode(i) - 3 If tmpkur < 0 Then outkur(i) = -1 If tmpkur = 0 Then outkur(i) = 0 outkur(i) = 1 If stnode(i) < 0 Then outskew(i) = 0 outskew(i) = 1 ddev = Abs(inDev - outdev(i)) * 100 If ddev <= MaxErr Then CekDev = True CekDev = False If inkur = outkur(i) Then CekKur = True CekKur = False If inskew = outskew(i) Then CekSkew = True CekSkew = False

5 56 If CekDev And CekKur And CekSkew Then Hasil(i) = "Mirip" Hasil(i) = "Tidak Mirip" lstdeviasi.items.add(outdev(i)) lstkurtosis.items.add(outkur(i)) lstskewness.items.add(outskew(i)) lsthasil.items.add(hasil(i)) FinProses = True Private Sub cmsaksi_itemclicked(byval sender As Object, ByVal e As System.Windows.Forms.ToolStripItemClickedEventArgs) Handles cmsaksi.itemclicked Dim strnewfile As String, stroldfile As String Dim tmpcheck As Boolean stroldfile = flpath & "\" & lstdaftar.items(lstdaftar.selectedindex) If e.clickeditem.name = "tsmhapus" Then If MsgBox("Anda Ingin Menghapus File Gambar " & lstdaftar.items(lstdaftar.selectedindex) & " Dari Media Penyimpanan Data?", MsgBoxStyle.Question + MsgBoxStyle.YesNo, "Konfirmasi Hapus File") = MsgBoxResult.Yes Then tmpcheck = False Do Try If File.Exists(strOldFile) Then FileSystem.Kill(strOldFile) MsgBox("File Berhasil Di Hapus", MsgBoxStyle.Information + MsgBoxStyle.OkOnly, "Hapus File Sukses") tmpcheck = True lstdaftar.items.clear() For Each fi In dicari.getfiles("*.bmp") lstdaftar.items.add(fi.name) Catch ex As Exception tmpcheck = False End Try Loop Until tmpcheck = True If MsgBox("Ubah Nama File Gambar " & lstdaftar.items(lstdaftar.selectedindex) & "?", MsgBoxStyle.Question + MsgBoxStyle.YesNo, "Konfirmasi Ubah Nama File") = MsgBoxResult.Yes Then strnewfile = InputBox("Input Nama File Pengganti") If Len(strNewFile) < 1 Then Exit Sub strnewfile = flpath & "\" & strnewfile & ".bmp" Do Try If File.Exists(strOldFile) Then FileSystem.Rename(strOldFile, strnewfile) MsgBox("Nama File Berhasil Di Ubah", MsgBoxStyle.Information + MsgBoxStyle.OkOnly, "File Rename Sukses") tmpcheck = True lstdaftar.items.clear()

6 57 For Each fi In dicari.getfiles("*.bmp") lstdaftar.items.add(fi.name) Catch ex As Exception tmpcheck = False End Try Loop Until tmpcheck = True Private Sub btnabout_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btnabout.click frmabout.showdialog(me) Private Sub btntutup_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles btntutup.click Me.Close() Private Sub tsmhapus_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles tsmhapus.click End Class Imports System Imports System.Drawing Imports System.Drawing.Imaging Imports System.Math Module mdlutama Public intvector As Long, trgvector As Long Public srcnode() As Double, trgnode(0, 0) As Double Public Bobot As Double Public Function LoadPic(ByVal tmppic As Image, ByVal THeight As Integer, ByVal TWidth As Integer) As Image Return New Bitmap(tmpPic, THeight, TWidth) 'By Hippies ( Public Function DoEdgeLinking(ByVal tmppic As PictureBox, ByVal blmode As Boolean) As Image Dim bmpin As New Bitmap(tmpPic.Image) Dim bmpout As New Bitmap(tmpPic.Image) Dim tmpr As Long, tmpg As Long, tmpb As Long Dim Op_X(0 To 2, 0 To 2) As Integer, Op_Y(0 To 2, 0 To 2) As Integer Dim Itensity As Long, GradX As Long, GradY As Long, Grad As Long Grad = 0 Op_X(0, 0) = -1

7 58 Op_X(1, 0) = -(Sqrt(2)) Op_X(2, 0) = -1 Op_X(0, 1) = 0 Op_X(1, 1) = 0 Op_X(2, 1) = 0 Op_X(0, 2) = 1 Op_X(1, 2) = (Sqrt(2)) Op_X(2, 2) = 1 Op_Y(0, 0) = -1 Op_Y(1, 0) = 0 Op_Y(2, 0) = 1 Op_Y(0, 1) = -(Sqrt(2)) Op_Y(1, 1) = 0 Op_Y(2, 1) = (Sqrt(2)) Op_Y(0, 2) = -1 Op_Y(1, 2) = 0 Op_Y(2, 2) = 1 For X = 0 To bmpin.height - 1 For Y = 0 To bmpin.width - 1 GradX = 0 GradY = 0 Grad = 0 If X = 0 Or Y = 0 Or X = bmpin.width - 1 Or Y = bmpin.height - 1 Then Grad = 0 For I = 0 To 2 For J = 0 To 2 tmpr = bmpin.getpixel(y + J - 1, X + I - 1).R tmpg = bmpin.getpixel(y + J - 1, X + I - 1).G tmpg = bmpin.getpixel(y + J - 1, X + I - 1).B Itensity = (tmpr + tmpg + tmpb) / 3 GradX = GradX + (Itensity * Op_X(J, I)) GradY = GradY + (Itensity * Op_Y(J, I)) J I Grad = Round(Sqrt(Abs(GradX * GradX) + Abs(GradY * GradY))) If Grad < 0 Then Grad = 0 If Grad > 255 Then Grad = 255 bmpout.setpixel(y, X, Color.FromArgb(Grad, Grad, Grad)) DoEdgeLinking = bmpout Public Function DoSegment(ByVal tmppic As PictureBox, ByVal itl As Long, ByVal ihl As Long, ByVal blmode As Boolean, ByVal Pos As Long) As Image Dim bmpin As New Bitmap(tmpPic.Image) Dim bmpout As New Bitmap(tmpPic.Image)

8 59 tmpb)) Dim tmpr As Long, tmpg As Long, tmpb As Long Dim tmppos As Long Dim Node As Boolean tmppos = 0 For X = 0 To bmpin.height - 1 For Y = 0 To bmpin.width - 1 tmpr = bmpin.getpixel(y, X).R If tmpr < itl Then tmpr = 0 tmpg = 0 tmpb = 0 Node = 0 If tmpr >= itl And tmpr <= ihl Then tmpr = 255 tmpg = 255 tmpb = 255 Node = 1 tmpr = 0 tmpg = 0 tmpb = 0 Node = 0 srcnode(tmppos) = Node trgnode(pos, tmppos) = Node bmpout.setpixel(y, X, Color.FromArgb(tmpR, tmpg, tmppos += 1 DoSegment = bmpout Public Function AvgNode(ByVal blmode As Boolean, ByVal Pos As Long) As Double Dim tmptotal As Double tmptotal = 0 For i = 0 To intvector - 1 tmptotal = tmptotal + srcnode(i) tmptotal = tmptotal + trgnode(pos, i) AvgNode = tmptotal / intvector Public Function DevNode(ByVal avnode As Double, ByVal blmode As Boolean, ByVal Pos As Long) As Double Dim tmptotal As Double, tmpdist As Double tmptotal = 0 For i = 0 To intvector - 1 tmpdist = srcnode(i) - avnode

9 60 tmptotal = tmptotal + (tmpdist ^ 2) tmpdist = trgnode(pos, i) - avnode tmptotal = tmptotal + (tmpdist ^ 2) tmptotal = tmptotal / (intvector - 1) DevNode = tmptotal ^ 0.5 Public Function KurNode(ByVal avnode As Double, ByVal dvnode As Double, ByVal blmode As Boolean, ByVal Pos As Long) As Double Dim tmptotal As Double, tmpmoment As Double, tmpsd As Double tmptotal = 0 For i = 0 To intvector - 1 tmpmoment = Abs(srcNode(i) - avnode) ^ 4 tmpsd = Abs(srcNode(i) - avnode) ^ 2 tmptotal = tmptotal + (tmpmoment / (tmpsd ^ 2)) tmpmoment = Abs(trgNode(Pos, i) - avnode) ^ 4 tmpsd = Abs(trgNode(Pos, i) - avnode) ^ 2 tmptotal = tmptotal + (tmpmoment / (tmpsd ^ 2)) KurNode = tmptotal / intvector Public Function SkewNode(ByVal avnode As Double, ByVal blmode As Boolean, ByVal Pos As Long) As Double Dim tmpm3 As Double, tmpm2 As Double tmpm3 = 0 tmpm2 = 0 For i = 0 To intvector - 1 tmpm3 = tmpm3 + ((srcnode(i) - avnode) ^ 3) tmpm2 = tmpm2 + ((srcnode(i) - avnode) ^ 2) tmpm3 = tmpm3 + ((trgnode(pos, i) - avnode) ^ 3) tmpm2 = tmpm2 + ((trgnode(pos, i) - avnode) ^ 2) tmpm3 = tmpm3 / intvector tmpm2 = (tmpm2 / intvector) ^ (3 / 2) SkewNode = tmpm3 / tmpm2 End Module

Private Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub

Private Sub MenuUtamaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ShowDialog() End Sub LISTING PROGRAM Menu_Utama.vb Public Class FrmUtama Private Sub DataMovieToolStripMenuItem_Click(ByVal sender As DataMovieToolStripMenuItem.Click FrmMovie.ShowDialog() Private Sub DataPeminjamToolStripMenuItem_Click(ByVal

More information

Déclaration du module

Déclaration du module Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return

More information

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

DRAWING AND MOVING IMAGES

DRAWING AND MOVING IMAGES DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,

More information

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid("8b a5-46bb-a6a9-87b4949d1f4c")>

'The following GUID is for the ID of the typelib if this project is exposed to COM <Assembly: Guid(8b a5-46bb-a6a9-87b4949d1f4c)> LAMPIRAN A : LISTING PROGRAM Imports System Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes.

More information

Lampiran 1 Kode Program

Lampiran 1 Kode Program 53 Lampiran 1 Kode Program Kode Program 1 Kode Menu Peminjaman Private Sub BT_Cari_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BT_Cari.Click Call CariKaset() Private Sub RB_CheckedChanged(ByVal

More information

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara

LISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True

More information

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485) 5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced

More information

Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init

Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init Option Strict On Imports System.Drawing.Imaging Imports System.Drawing Imports System Imports System.Collections Imports System.Configuration Imports System.Data Imports System.IO Imports System.Web Imports

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 67 1. Form Menu Utama LAMPIRAN A: Listing Program Public Class MScreen Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.Hide() Form1.Show()

More information

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions

C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions C4.3, 4 Lab: Conditionals - Select Statement and Additional Input Controls Solutions Between the comments included with the code and the code itself, you shouldn t have any problems understanding what

More information

PROGRAMMING ASSIGNMENT: MOVIE QUIZ

PROGRAMMING ASSIGNMENT: MOVIE QUIZ PROGRAMMING ASSIGNMENT: MOVIE QUIZ For this assignment you will be responsible for creating a Movie Quiz application that tests the user s of movies. Your program will require two arrays: one that stores

More information

Section 7 The BASIC Language II

Section 7 The BASIC Language II Dates Section 7 The BASIC Language II The Date class holds a date (between January 1 st, 0001 and December 31 st, 9999) combined with a time (between 0:00:00 and 23:59:59) Constructors of the Date class

More information

C16 Visual Basic Net Programming

C16 Visual Basic Net Programming C16 Visual Basic Net Programming Student ID Student Name Date - Module Tutor - 1 P a g e Report Contents Introduction... 2 Software Development Process... 3 Self Reflection... 6 References... 6 Appendices...

More information

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,

More information

Lab 3 The High-Low Game

Lab 3 The High-Low Game Lab 3 The High-Low Game LAB GOALS To develop a simple windows-based game named High-Low using VB.Net. You will use: Buttons, Textboxes, Labels, Dim, integer, arithmetic operations, conditionals [if-then-else],

More information

Learning VB.Net. Tutorial 16 Modules

Learning VB.Net. Tutorial 16 Modules Learning VB.Net Tutorial 16 Modules Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

Learning VB.Net. Tutorial 15 Structures

Learning VB.Net. Tutorial 15 Structures Learning VB.Net Tutorial 15 Structures Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.

More information

1. Create your First VB.Net Program Hello World

1. Create your First VB.Net Program Hello World 1. Create your First VB.Net Program Hello World 1. Open Microsoft Visual Studio and start a new project by select File New Project. 2. Select Windows Forms Application and name it as HelloWorld. Copyright

More information

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

More information

Learning VB.Net. Tutorial 10 Collections

Learning VB.Net. Tutorial 10 Collections Learning VB.Net Tutorial 10 Collections Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it.

More information

LAMPIRAN A: Listing Program

LAMPIRAN A: Listing Program 78 LAMPIRAN A: Listing Program 1. Form Login Public Class FrmLogin Public user As String Private Sub CmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdLogin.Click Dim

More information

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

More information

LAMPIRAN A PROGRAM FLOWSTONE

LAMPIRAN A PROGRAM FLOWSTONE LAMPIRAN A PROGRAM FLOWSTONE A-1 Tampilan GUI pada FlowStone A-2 Program Tambahan yang Dibuat Untuk Membaca Frekuensi A-3 Program Tambahan yang Dibuat Untuk Menyimpan Data A-4 LAMPIRAN B PROGRAM VISUAL

More information

Year 12 : Visual Basic Tutorial.

Year 12 : Visual Basic Tutorial. Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows

More information

Chapter 2 Exploration of a Visual Basic.Net Application

Chapter 2 Exploration of a Visual Basic.Net Application Chapter 2 Exploration of a Visual Basic.Net Application We will discuss in this chapter the structure of a typical Visual Basic.Net application and provide you with a simple project that describes the

More information

LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS. No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi

LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS. No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi LAMPIRAN DAFTAR PUBLIKASI ILMIAH PENULIS No Judul Nama Seminar Tempat Tahun 1 Pemanfaatan Fuzzy Logic Dalam menakar Prestasi Konferensi Nasional Pengembangan Siswa Sesuai Standar Teknologi Informasi Kompetensi

More information

CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3)

CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration. MIS 15 Introduction to Business Programming. Programming Assignment 3 (P3) CALIFORNIA STATE UNIVERSITY, SACRAMENTO College of Business Administration MIS 15 Introduction to Business Programming Programming Assignment 3 (P3) Points: 50 Due Date: Tuesday, May 10 The purpose of

More information

LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN

LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN LAMPIRAN A-2 : LAPORAN PENJUALAN DOKUMEN KELUARAN LAMPIRAN A-1 : NOTA DOKUMEN KELUARAN LAMPIRAN B MASUKAN SISTEM BERJALAN LAMPIRAN B-1 : DATA BARANG DOKUMEN MASUKAN LAMPIRAN B-2 : DATA PELANGGAN DOKUMEN

More information

Member Management System

Member Management System Member Management System These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA)

More information

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,

More information

Mr.Khaled Anwar ( )

Mr.Khaled Anwar ( ) The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program

More information

ISM 3253 Exam I Spring 2009

ISM 3253 Exam I Spring 2009 ISM 3253 Exam I Spring 2009 Directions: You have exactly 75 minutes to complete this test. Time available is part of the exam conditions and all work must cease when "Stop work" is announced. Failing to

More information

(0,0) (600, 400) CS109. PictureBox and Timer Controls

(0,0) (600, 400) CS109. PictureBox and Timer Controls CS109 PictureBox and Timer Controls Let s take a little diversion and discuss how to draw some simple graphics. Graphics are not covered in the book, so you ll have to use these notes (or the built-in

More information

Learning VB.Net. Tutorial 17 Classes

Learning VB.Net. Tutorial 17 Classes Learning VB.Net Tutorial 17 Classes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants

IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants IMS1906: Business Software Fundamentals Tutorial exercises Week 5: Variables and Constants These notes are available on the IMS1906 Web site http://www.sims.monash.edu.au Tutorial Sheet 4/Week 5 Please

More information

Lab 6: Making a program persistent

Lab 6: Making a program persistent Lab 6: Making a program persistent In this lab, you will cover the following topics: Using the windows registry to make parts of the user interface sticky Using serialization to save application data in

More information

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date :

Form Adapter Example. DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : Form Adapter Example DRAFT Document ID : Form_Adapter.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 Form_Adapter.doc DRAFT page 1 Table of Contents Creating Form_Adapter.vb... 2 Adding the

More information

Design Of Human Computer Interfaces Assignment 1- Hello World. Compliance Report

Design Of Human Computer Interfaces Assignment 1- Hello World. Compliance Report Design Of Human Computer Interfaces Assignment 1- Hello World Compliance Report Prepared for: Skip Poehlman Prepared By: K C Course: SE 4D03 Date: September 30, 2008 Contents 1. Code Listing a. Module

More information

A-1 LISTING PROGRAM. 1. Module1

A-1 LISTING PROGRAM. 1. Module1 A-1 LISTING PROGRAM 1. Module1 Imports System.Data.Odbc Imports System.Data Imports System.Data.SqlClient Imports MySql.Data.MySqlClient Module Module1 Public userid As String Public level As String Public

More information

โปรแกรมช วยทดสอบหม อแปลงกระแส

โปรแกรมช วยทดสอบหม อแปลงกระแส โปรแกรมช วยทดสอบหม อแปลงกระแส 1.เมน ของโปรแกรม ภาพท 1 หน าเมน ของโปรแกรม Public Class frmmain Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

More information

Visual Basic 2008 The programming part

Visual Basic 2008 The programming part Visual Basic 2008 The programming part Code Computer applications are built by giving instructions to the computer. In programming, the instructions are called statements, and all of the statements that

More information

A-1 LISTING PROGRAM. Halaman Koneksi. Universitas Sumatera Utara

A-1 LISTING PROGRAM. Halaman Koneksi. Universitas Sumatera Utara A-1 LISTING PROGRAM Halaman Koneksi Imports System.Data.OleDb Imports System.Data.OleDb.OleDbCommand Module koneksi Public con As OleDbConnection Public cmd As OleDbCommand Public dtr As OleDbDataReader

More information

超音波モータ制御プログラムの作成 (v1.2.1)

超音波モータ制御プログラムの作成 (v1.2.1) 超音波モータ制御プログラムの作成 (v1.2.1) 2008 年 11 月 28 日 Masaaki MATSUO 構成機器 モータ本体 : フコク ロータリーエンコーダー内蔵型超音波モータ USB-60E モータ制御部 : フコク 位置決制御ドライバ DCONT-3-60 (SD13) コントローラ : Interface 2 軸絶縁パルスモーションコントローラ ( 直線補間エンコーダ入力 5V)

More information

MapMatrix NetGIS Application Objects Users Guide. Version 2.3

MapMatrix NetGIS Application Objects Users Guide. Version 2.3 MapMatrix NetGIS Application Objects Users Guide Version 2.3 CONTENTS 1 Overview of MapMatrix NetGIS... 3 1.1 MapMatrix NetGIS Features... 3 1.2 Operating System Requirements... 3 1.3 The MapMatrix Architecture...

More information

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM

My first game. 'function which adds objects with bug tag to bugarray array. Saturday, November 23, :06 AM My first game Saturday, November 23, 2013 5:06 AM Public Class Form1 Dim moveright As Boolean = False Dim moveup As Boolean = False Dim moveleft As Boolean = False Dim movedown As Boolean = False Dim score

More information

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3)

Herefordshire College of Technology Centre Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Student: Candidate Number: Assessor: Len Shand Herefordshire College of Technology Centre 24150 Edexcel BTEC Level 3 Extended Diploma in Information Technology (Assignment 1 of 3) Course: Unit: Title:

More information

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

More information

Introduction. Create a New Project. Create the Main Form. Assignment 1 Lights Out! in C# GUI Programming 10 points

Introduction. Create a New Project. Create the Main Form. Assignment 1 Lights Out! in C# GUI Programming 10 points Assignment 1 Lights Out! in C# GUI Programming 10 points Introduction In this lab you will create a simple C# application with a menu, some buttons, and an About dialog box. You will learn how to create

More information

Sub clear() lblidver.text = Nothing lblstatus.text = Nothing

Sub clear() lblidver.text = Nothing lblstatus.text = Nothing LAMPIRAN Berikut merupakan listing code dari Form Verifikasi: Imports System.IO Public Class FrmVerifikasi_vb Dim FPDatabase As New FingerspotETouchSDK.FinFPDatabase Dim WithEvents verifikasi As FingerspotETouchSDK.FinFPVerification

More information

Function: function procedures and sub procedures share the same characteristics, with

Function: function procedures and sub procedures share the same characteristics, with Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures

More information

"!#... )*! "!# )+, -./ 01 $

!#... )*! !# )+, -./ 01 $ Email engauday@hotmail.com! "!#... $ %&'... )*! "!# )+, -./ 01 $ ) 1+ 2#3./ 01 %.. 7# 89 ; )! 5/< 3! = ;, >! 5 6/.?

More information

VB FUNCTIONS AND OPERATORS

VB FUNCTIONS AND OPERATORS VB FUNCTIONS AND OPERATORS In der to compute inputs from users and generate results, we need to use various mathematical operats. In Visual Basic, other than the addition (+) and subtraction (-), the symbols

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources

FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources FOR 240 Homework Assignment 4 Using DBGridView and Other VB Controls to Manipulate Database Introduction to Computing in Natural Resources This application demonstrates how a DataGridView control can be

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

More information

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop Decision Structures In the programs created thus far, Visual Basic reads and processes each of the procedure instructions in turn, one after the other. This is known as sequential processing or as the

More information

BSc (Hons) Computer Science with. Network Security. BSc (Hons) Business Information Systems. Examinations for 2018 / Semester 1

BSc (Hons) Computer Science with. Network Security. BSc (Hons) Business Information Systems. Examinations for 2018 / Semester 1 BSc (Hons) Computer Science with Network Security BSc (Hons) Business Information Systems Cohort: BCNS/17A/FT Examinations for 2018 / Semester 1 Resit Examinations for BIS/16B/FT, BCNS/15A/FT, BCNS/15B/FT,

More information

System Analysis and Design

System Analysis and Design System Analysis and Design LAB RECORD-INFS -280/L Information Systems Department University of Nizwa, Sultanate of Oman Table of Contents Task. No: Title Page Nos. Date 1) VB Text box and Message Button

More information

DEVELOPING OBJECT ORIENTED APPLICATIONS

DEVELOPING OBJECT ORIENTED APPLICATIONS DEVELOPING OBJECT ORIENTED APPLICATIONS By now, everybody should be comfortable using form controls, their properties, along with methods and events of the form class. In this unit, we discuss creating

More information

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types Managing Data Unit 4 Managing Data Introduction Lesson 4.1 Data types We come across many types of information and data in our daily life. For example, we need to handle data such as name, address, money,

More information

Tutorial, Source code, Request Program Visual Basic

Tutorial, Source code, Request Program Visual Basic Tutorial, Source code, Request Program Visual Basic Oleh : Moh. A Azis Membuat Form Data Barang Program Persediaan Barang Form Data Barang digunakan untuk menyimpan data barang dan memberikan info mengenai

More information

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = Label1. 練習問題 1-1 Label1 Label1.Text = Label1.Text + 2 練習問題 1-2 Button2 Label1 Label1.Text = Label1.Text+ 2 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

More information

I101/B100 Problem Solving with Computers

I101/B100 Problem Solving with Computers I101/B100 Problem Solving with Computers By: Dr. Hossein Hakimzadeh Computer Science and Informatics IU South Bend 1 What is Visual Basic.Net Visual Basic.Net is the latest reincarnation of Basic language.

More information

Updated: Saturday, November 29, 2014 Page 1

Updated: Saturday, November 29, 2014 Page 1 ' Copyright 2013 Safe T Services - All Rights Reserved '=========================================================================================== 'Changed by Change Date Change Tag ' Description of Change

More information

Instant Autosesk Revit 2013 Customization with.net How-to: Bonus Section

Instant Autosesk Revit 2013 Customization with.net How-to: Bonus Section Instant Autosesk Revit 2013 Customization with.net How-to: Bonus Section This is the bonus section of the book Instant Autosesk Revit 2013 Customization with.net How-to. Here we are going to cover recipes

More information

IOS Plus Trade - Web Services Version 4 Walkthrough

IOS Plus Trade - Web Services Version 4 Walkthrough IOS Plus Trade - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IOS Plus Trade information The purpose of this walkthrough is to build the following Windows Forms Application that

More information

IRESS Depth - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IRESS Depth information

IRESS Depth - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IRESS Depth information IRESS Depth - Web Services Version 4 Walkthrough Visual Basic 2008 sample to retrieve IRESS Depth information The purpose of this walkthrough is to build the following Windows Forms Application that will

More information

Lab 4: Adding a Windows User-Interface

Lab 4: Adding a Windows User-Interface Lab 4: Adding a Windows User-Interface In this lab, you will cover the following topics: Creating a Form for use with Investment objects Writing event-handler code to interact with Investment objects Using

More information

VISUAL BASIC 2005 EXPRESS: NOW PLAYING

VISUAL BASIC 2005 EXPRESS: NOW PLAYING VISUAL BASIC 2005 EXPRESS: NOW PLAYING by Wallace Wang San Francisco ADVANCED DATA STRUCTURES: QUEUES, STACKS, AND HASH TABLES Using a Queue To provide greater flexibility in storing information, Visual

More information

The following are required to duplicate the process outlined in this document.

The following are required to duplicate the process outlined in this document. Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

MATFOR In Visual Basic

MATFOR In Visual Basic Quick Start t t MATFOR In Visual Basic ANCAD INCORPORATED TEL: +886(2) 8923-5411 FAX: +886(2) 2928-9364 support@ancad.com www.ancad.com 2 MATFOR QUICK START Information in this instruction manual is subject

More information

LAMPIRAN. Universitas Sumatera Utara

LAMPIRAN. Universitas Sumatera Utara LAMPIRAN 1. Modul Imports System.Data Imports System.Data.OleDb Module Module1 Public conn As OleDbConnection Public CMD As OleDbCommand Public DS As New DataSet Public DA As OleDbDataAdapter Public RD

More information

Computing Science Unit 1

Computing Science Unit 1 Computing Science Unit 1 Software Design and Development Programming Practical Tasks Business Information Technology and Enterprise Contents Input Validation Find Min Find Max Linear Search Count Occurrences

More information

CMPT 110 MIDTERM OCTOBER 18, 2001

CMPT 110 MIDTERM OCTOBER 18, 2001 CMPT 110 MIDTERM OCTOBER 18, 2001 1 What will be displayed when the command button is clicked? 7% Level of difficulty 7 (out of 10) Assume there is a command button called cmdbutton Assume there is a picturebox

More information

DO NOT COPY AMIT PHOTOSTUDIO

DO NOT COPY AMIT PHOTOSTUDIO AMIT PHOTOSTUDIO These codes are provided ONLY for reference / Help developers. And also SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUERMENT FOR THE AWARD OF BACHELOR OF COMPUTER APPLICATION (BCA) All rights

More information

How to Validate DataGridView Input

How to Validate DataGridView Input How to Validate DataGridView Input This example explains how to use DR.net to set validation criteria for a DataGridView control on a Visual Studio.NET form. Why You Should Use This To add extensible and

More information

MapWindow Plug-in Development

MapWindow Plug-in Development MapWindow Plug-in Development Sample Project: Simple Path Analyzer Plug-in A step-by-step guide to creating a custom MapWindow Plug-in using the IPlugin interface by Allen Anselmo shade@turbonet.com Introduction

More information

LAMPIRAN A. LISTING PROGRAM

LAMPIRAN A. LISTING PROGRAM 78 LAMPIRAN A. LISTING PROGRAM Form Login.vb Imports MySql Imports MySql.Data Imports MySql.Data.MySqlClient Public Class FormLogIn Private Sub BtnLoginClick(ByVal sender As System.Object, ByVal e As System.EventArgs)

More information

Repetition Structures

Repetition Structures Repetition Structures There are three main structures used in programming: sequential, decision and repetition structures. Sequential structures follow one line of code after another. Decision structures

More information

A Second Visual BASIC Application : Greetings

A Second Visual BASIC Application : Greetings The Greetings Program A Second Visual BASIC Application : Greetings The following instructions take you through the steps to create a simple application. A greeting is displayed in one of four different

More information

Database Tutorials

Database Tutorials Database Tutorials Hello everyone welcome to database tutorials. These are going to be very basic tutorials about using the database to create simple applications, hope you enjoy it. If you have any notes

More information

05/31/2009. Data Files

05/31/2009. Data Files Data Files Store and retrieve data in files using streams Save the values from a list box and reload for the next program run Check for the end of file Test whether a file exists Display the standard Open

More information

Visual Studio.NET for AutoCAD Programmers

Visual Studio.NET for AutoCAD Programmers December 2-5, 2003 MGM Grand Hotel Las Vegas Visual Studio.NET for AutoCAD Programmers Speaker Name: Andrew G. Roe, P.E. Class Code: CP32-3 Class Description: In this class, we'll introduce the Visual

More information

Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Public Class Cours Private nc As Integer Private Sub Cours_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO : cette ligne de code charge les données dans la table

More information

LAMPIRAN LIST PROGRAM

LAMPIRAN LIST PROGRAM LAMPIRAN LIST PROGRAM 1. Modules Public conn As New ADODB.Connection Public rstb_pendekatan As ADODB.Recordset Public rstb_solusi As ADODB.Recordset Public rstb_alasan As ADODB.Recordset Public rstb_pilihan

More information

This PDF was generated in real-time using DynamicPDF; Generator for.net.

This PDF was generated in real-time using DynamicPDF; Generator for.net. TableReport.aspx 1 1 Imports System 2 Imports System.Data 3 Imports System.Data.SqlClient 4 5 Imports cete.dynamicpdf 6

More information

Hands-On Lab. Getting Started with Office 2010 Development. Lab version: Last updated: 2/23/2011

Hands-On Lab. Getting Started with Office 2010 Development. Lab version: Last updated: 2/23/2011 Hands-On Lab Getting Started with Office 2010 Development Lab version: 1.0.0 Last updated: 2/23/2011 CONTENTS OVERVIEW... 3 Starting Materials 3 EXERCISE 1: CUSTOMIZING THE OFFICE RIBBON IN OFFICE... 4

More information

How to work with data sources and datasets

How to work with data sources and datasets Chapter 14 How to work with data sources and datasets Objectives Applied Use a data source to get the data that an application requires. Use a DataGridView control to present the data that s retrieved

More information

Interacting with External Applications

Interacting with External Applications Interacting with External Applications DLLs - dynamic linked libraries: Libraries of compiled procedures/functions that applications link to at run time DLL can be updated independently of apps using them

More information

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year! EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : 70-547(VB) Title : PRO:Design and Develop Web-Basd

More information

You can call the project anything you like I will be calling this one project slide show.

You can call the project anything you like I will be calling this one project slide show. C# Tutorial Load all images from a folder Slide Show In this tutorial we will see how to create a C# slide show where you load everything from a single folder and view them through a timer. This exercise

More information

The New Brew-CQ Synchronous Sockets and Threading

The New Brew-CQ Synchronous Sockets and Threading The New Brew-CQ Synchronous Sockets and Threading Server Topology: The Brew-CQ server is an application written in the new.net compilers from Microsoft. The language of choice is Visual Basic. The purpose

More information

S.2 Computer Literacy Question-Answer Book

S.2 Computer Literacy Question-Answer Book S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy

More information

Running the Altair SIMH from.net programs

Running the Altair SIMH from.net programs Running the Altair SIMH from.net programs The Altair SIMH simulator can emulate a wide range of computers and one of its very useful features is that it can emulate a machine running 50 to 100 times faster

More information

CS708 Lecture Notes. Visual Basic.NET Object-Oriented Programming. Implementing Client/Server Architectures. Part (I of?) (Lecture Notes 5A)

CS708 Lecture Notes. Visual Basic.NET Object-Oriented Programming. Implementing Client/Server Architectures. Part (I of?) (Lecture Notes 5A) CS708 Lecture Notes Visual Basic.NET Object-Oriented Programming Implementing Client/Server Architectures Part (I of?) (Lecture Notes 5A) Professor: A. Rodriguez CHAPTER 1 IMPLEMENTING CLIENT/SERVER APPLICATIONS...

More information

Procedures (Subroutines) and Functions

Procedures (Subroutines) and Functions VISUAL BASIC Procedures (Subroutines) and Functions Copyright 2014 Dan McElroy Procedures and Functions Serve Two Purposes They allow a programmer to say: `this piece of code does a specific job which

More information

Chapter 6 Sub Procedures

Chapter 6 Sub Procedures Sub Procedures A set of statements that perform a specific task. Divide a program into smaller, more manageable blocks of code. An event procedure is written for a specific object event, while a sub procedure

More information

Connection Example. Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date :

Connection Example. Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date : Connection Example Document ID : Connection_Example.PDF Author : Michele Harris Version : 1.1 Date : 2009-06-19 page 1 Table of Contents Connection Example... 2 Adding the Code... 2 Quick Watch myconnection...

More information