ก Microsoft Visual Studio 2008

Size: px
Start display at page:

Download "ก Microsoft Visual Studio 2008"

Transcription

1

2 58 ก ก ก ก ก 58

3 59 ก Microsoft Visual Studio DVD ก MSVS2008 ก MSVS2008 ก ก MSVS2008 ก ก 180 DVD DVD ก MSVS2008 ก ก Install Visual Studio ก ก ก ก ก Next 3. ก ก Options Page ก Custom ก Next 59

4 60 4. ก ก ก ก ก 5. ก ก ก Install Page ก ก Next 6. ก ก ก ก Finish Page ก Finish 60

5 61 7. ก ก ก -5 ก ก (MSDN) ก Install Product Documentation ก ก ก ก ก ก ก ก Next 8. ก ก ก ก Install Page ก ก Next 9. ก ก ก ก ก ก Finish Page ก Finish 61

6 ก -5 ก MSVS2008 ก Start / Programs / Microsoft Visual Studio 2008 ก Microsoft Visual Studio 2008 ก ก ก 11. MSVS2008 ก ก File / New Project... ก ก Business Intelligence Projects ก ก ก SQL2008 ( SSRS) ก ก ก SQL

7 63 ก Microsoft SQL Server ก SQL Server 2005 Express ก SQLEXPR_ADV ก SQLEXPR_ADV ก ก ก 2. ก ก > ก Next ก 3. ก Install ก 63

8 64 4. ก Next ก 5. ก Next ก 64

9 65 6. ก Next ก 7. ก check box Hide advanced configuration options ก > ก Next ก 65

10 66 8. ก ก Tool ก ก ก ก Patch ก Database Database Services 9. ก Next ก 66

11 ก ก Named instance SQL2005 ( ก Default instance Named instance ก ) Default instance ก Default Computer Connect Database Master Server Name = Master Named instance Computer\ Server Name = Master\SQL ก Next ก 67

12 ก ก Use the bult-in System account > Network service Local System > ก Next 13. ก ก Mixed Mode (Windows Autentication and SQL Server Authentication) > Password Enter password : ( password sa ) Confirm password : ( password sa ) 14. ก Next ก 68

13 ก Next ก 16. ก Next 69

14 ก Next ก 18. ก Next ก 70

15 ก Install 20. ก ก Next ก 71

16 ก Finish 22. ก OK 72

17 73 ก Source Code 73

18 74 Source Code ก ( ) frm_pawn2.vb Imports System.Data.SqlClient ' ก library SQLClient Public Class frm_pawn2 Dim objcon As New connection ' ก Class Connection Dim conn As New SqlConnection(objCon.strCon) ' ก Private Sub fine2_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles fine2.click cmdnew.enabled = False Button1.Enabled = True Dialog_gold1.Show() Private Sub cmdsave_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsave.click Dim strstatus As String = " " Dim SQL, idover As String idover = "OV-000" & objcon.getmaxid("tbl_pawn", "Re_id") Today = Format(DateTime.Now, "dd/mm/yyyy") SQL = "INSERT INTO tbl_pawn ( Pawn_id,IDcard,Over_id, ID_gold,Pawn_mony,Pawn_inter,Pawn_status,myname,Pawn_date,Pawn_fix_date) VALUES ('" & TextBox1.Text & "','" & TextBox2.Text & "','" & idover & "','" & TextBox11.Text & "','" & txtpawn_money.text & "','" & TextBox21.Text & "','" & strstatus & "','" & TextBox12.Text & "', GetDate(),GetDate()+30 )" Dim cmd1 As SqlCommand = New SqlCommand(SQL, conn) cmd1.executenonquery() SQL = "INSERT INTO tbl_over ( Over_id,Pawn_id,Over_status) VALUES ('" & idover & "','" & TextBox1.Text & "','" & strstatus & "') " Dim cmd2 As SqlCommand = New SqlCommand(SQL, conn) cmd2.executenonquery() show_dv1() ' ก Sub Procedure DataGridView cmdprin.enabled = True cmdnew.enabled = True Sub clermam() TextBox1.Text = "" TextBox2.Text = "" TextBox3.Text = "" TextBox4.Text = "" TextBox5.Text = "" TextBox6.Text = "" TextBox7.Text = "" TextBox8.Text = "" TextBox9.Text = "" TextBox10.Text = "" Sub clerin() TextBox11.Text = "" TextBox12.Text = "" TextBox13.Text = "" TextBox14.Text = "" TextBox15.Text = "" ComboBox1.Text = "" TextBox16.Text = "" TextBox17.Text = "" TextBox18.Text = "" TextBox19.Text = "" txtpawn_money.text = "" TextBox21.Text = "" Private Sub cmdnew_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdnew.click cmdnew.enabled = False cmdsave.enabled = False clermam() clerin() fine1.enabled = True fine2.enabled = True TextBox1.Text = "PA0000" & objcon.getmaxid("tbl_pawn", "Re_id") ' orderid Private Sub frm_pawn2_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label25.Text = Today.Date Label26.Text = DateAdd(DateInterval.Day, 30, Today.Date) 74

19 75 show_dv1() ' ก Sub Procedure DataGridView Me.dv1.Columns.Item(0).HeaderText = " " Me.dv1.Columns.Item(1).HeaderText = " " Me.dv1.Columns.Item(2).HeaderText = " " Me.dv1.Columns.Item(3).HeaderText = " ก" Me.dv1.Columns.Item(4).HeaderText = " " Me.dv1.Columns.Item(5).HeaderText = " ก / " dv1.columns.item(0).width = 100 dv1.columns.item(1).width = 100 dv1.columns.item(2).width = 100 dv1.columns.item(3).width = 100 dv1.columns.item(4).width = 100 dv1.columns.item(5).width = 100 txtpawn_money.enabled = False fine1.enabled = False fine2.enabled = False cmdnew.enabled = True cmdsave.enabled = False cmddelete.enabled = False cmdprin.enabled = False cmdas.enabled = False Button1.Enabled = False Button3.Enabled = False Sub show_dv1() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "select Pawn_id,ID_Gold,Convert(varchar, Pawn_date, 103),Convert(varchar,Pawn_fix_date,103),Pawn_mony,Pawn_inter from tbl_pawn where IDcard='" & TextBox2.Text & "'" Dim objdataadapter1 As New SqlDataAdapter(SQL, conn) Dim objdataset1 As DataSet = New DataSet() objdataadapter1.fill(objdataset1, "c1") dv1.datasource = objdataset1 dv1.datamember = "c1" Private Sub fine1_click(byval sender As System.Object, ByVal e As System.EventArgs) cmdnew.enabled = False Dialog1.Show() Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button3.Enabled = True Dim a, b, c As String a = TextBox17.Text b = TextBox18.Text c = TextBox15.Text If ComboBox1.Text = " " Then TextBox19.Text = Format((c * b) * (a / 100)) ElseIf ComboBox1.Text = " " Then TextBox19.Text = Format(((c / 4) * b) * (a / 100)) Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdas.click Dim d, f, g As Integer d = txtpawn_money.text f = TextBox19.Text g = TextBox16.Text If f * 1 < d * 1 Then MsgBox(" ก ", vbcritical, " ") Else TextBox21.Text = (g / 100) * d MsgBox(" ก ", MsgBoxStyle.OkOnly, " ") cmdsave.enabled = True Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click cmdas.enabled = True txtpawn_money.enabled = True 75

20 76 Private Sub txtpawn_money_keypress(byval sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtpawn_money.keypress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub fine1_click_1(byval sender As System.Object, ByVal e As System.EventArgs) Handles fine1.click Dialog1.Show() Private Sub cmdprin_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprin.click frm_report_pawn.show() End Class Source Code ก frm_interest.vb Imports System.Data.SqlClient ' ก library SQLClient Public Class frm_interest Dim objcon As New connection ' ก Class Connection Dim conn As New SqlConnection(objCon.strCon) ' ก Private Sub Interest_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load show_dv1() ' ก Sub Procedure DataGridView Me.dv1.Columns.Item(0).HeaderText = " ก" Me.dv1.Columns.Item(1).HeaderText = " - ก " Me.dv1.Columns.Item(2).HeaderText = " " Me.dv1.Columns.Item(3).HeaderText = " ก " Me.dv1.Columns.Item(4).HeaderText = " " Me.dv1.Columns.Item(5).HeaderText = " " dv1.columns.item(0).width = 100 dv1.columns.item(1).width = 130 dv1.columns.item(2).width = 100 dv1.columns.item(3).width = 100 dv1.columns.item(4).width = 100 dv1.columns.item(5).width = 100 today1.text = Today.Date cmdfine.enabled = False Button5.Enabled = False cmdsavemonny.enabled = False cmdsavein.enabled = False cmdprin.enabled = False cmdtadyod.enabled = False cmdsave2.enabled = False Sub show_dv1() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "select inter_id,mynames,convert(varchar, Pawn_date, 103),inter_in,inter_com,total from tbl_inter " Dim objdataadapter1 As New SqlDataAdapter(SQL, conn) Dim objdataset1 As DataSet = New DataSet() objdataadapter1.fill(objdataset1, "c1") dv1.datasource = objdataset1 dv1.datamember = "c1" Sub show_dv2() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "select ID_Gold,Gold_name,Gold_type,Gold_unit,Gold_w,Gold_b,mycode from tbl_gold" Dim objdataadapter1 As New SqlDataAdapter(SQL, conn) Dim objdataset1 As DataSet = New DataSet() objdataadapter1.fill(objdataset1, "c1") dv1.datasource = objdataset1 dv1.datamember = "c1" Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdfine.click 76

21 77 Button5.Enabled = True Dialog_in2.Show() Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click If txtstatus.text = " " Then MessageBox.Show(" ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) clentxt() Else cmstotal.enabled = True Dim q, w, t As Integer q = lbloverday.text ' ก w = TextBox4.Text ' / t = TextBox1.Text ' ก Label12.Text = q * w Label11.Text = (t / 30) * (q + 30) Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdsavemonny.click Dim d, f As Integer d = TextBox2.Text f = TextBox9.Text If f * 1 < d * 1 Then MsgBox(" ", vbcritical, " ") Else MsgBox(" ", MsgBoxStyle.OkOnly, " ") TextBox10.Text = f - d cmdsavein.enabled = True Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdtadyod.click Dim a, b As Integer a = TextBox8.Text b = TextBox5.Text If a < b Then TextBox11.Text = b - a cmdsave2.enabled = True Else MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) Private Sub cmdsave2_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsave2.click Dim a, b, c, g As Integer a = TextBox5.Text b = TextBox1.Text g = TextBox11.Text c = (b / a) * g Dim sql As String sql = "UPDATE tbl_pawn SET Pawn_inter = '" & c & "',Pawn_mony = '" & TextBox11.Text & "',Pawn_tadyod = '" & TextBox8.Text & "'where Pawn_mony = '" & TextBox5.Text & "'" Dim cmd2 As SqlCommand = New SqlCommand(sql, conn) cmd2.executenonquery() MsgBox(" ก ", MsgBoxStyle.OkOnly, " ") Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdnew.click clentxt() cmdfine.enabled = True Button5.Enabled = False cmstotal.enabled = False cmdsavemonny.enabled = False cmdsavein.enabled = False cmdprin.enabled = False cmdtadyod.enabled = False cmdsave2.enabled = False TextBox7.Text = "IN0000" & objcon.getmaxid("tbl_inter", "in_idd") ' orderid Sub clentxt() mycodes.text = "" TextBox7.Text = "" IDcard.Text = "" mynames.text = "" lblfix_return_date.text = "" addess.text = "" TextBox5.Text = "" TextBox1.Text = "" 77

22 78 TextBox4.Text = "" TextBox2.Text = "" TextBox11.Text = "" TextBox10.Text = "" Private Sub cmdsavein_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsavein.click cmdtadyod.enabled = True cmdprin.enabled = True cmdfine.enabled = False cmdnew.enabled = False cmdsavemonny.enabled = False Button5.Enabled = False Dim sql As String Dim strstatus As String = " ก" sql = "INSERT INTO tbl_inter ( inter_id,pawn_id, Pawn_date,inter_in,in_total,in_ton,inter_com,mynames,total) VALUES ('" & TextBox7.Text & "','" & mycodes.text & "', GetDate(),'" & Label11.Text & "','" & TextBox9.Text & "','" & TextBox10.Text & "','" & Label12.Text & "','" & mynames.text & "','" & TextBox2.Text & "')" Dim cmd1 As SqlCommand = New SqlCommand(sql, conn) cmd1.executenonquery() sql = "Update tbl_pawn SET Pawn_status = '" & strstatus & "',inter_id = '" & TextBox7.Text & "' Where Pawn_id = '" & mycodes.text & "'" Dim cmd2 As SqlCommand = New SqlCommand(sql, conn) cmd2.executenonquery() MsgBox(" ก ", MsgBoxStyle.OkOnly, " ") show_dv1() Private Sub cmdprin_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprin.click cmdfine.enabled = False Button5.Enabled = False cmdsavemonny.enabled = False cmdsavein.enabled = False cmdnew.enabled = True cmdprin.enabled = False frm_report_interest.show() Private Sub TextBox9_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox9.KeyPress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub TextBox8_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox8.KeyPress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub cmstotal_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmstotal.click Dim x, y As Integer x = Label11.Text ' y = Label12.Text TextBox2.Text = x + y cmdsavemonny.enabled = True Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click frm_report_tadyod.show() End Class Source Code frm_redeem.vb Imports System.Data.SqlClient ' ก library SQLClient Public Class frm_redeem Dim objcon As New connection ' ก Class Connection Dim conn As New SqlConnection(objCon.strCon) ' ก Private Sub Redeem_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load show_dv1() ' ก Sub Procedure DataGridView Me.dv1.Columns.Item(0).HeaderText = " " Me.dv1.Columns.Item(1).HeaderText = " - ก " Me.dv1.Columns.Item(2).HeaderText = " " Me.dv1.Columns.Item(3).HeaderText = " ก " Me.dv1.Columns.Item(4).HeaderText = " " 78

23 79 Me.dv1.Columns.Item(5).HeaderText = " " Me.dv1.Columns.Item(6).HeaderText = " " dv1.columns.item(0).width = 90 dv1.columns.item(1).width = 130 dv1.columns.item(2).width = 80 dv1.columns.item(3).width = 80 dv1.columns.item(4).width = 80 dv1.columns.item(5).width = 80 dv1.columns.item(5).width = 100 today1.text = Today.Date cmdfine.enabled = False Button5.Enabled = False cmdsavemonny.enabled = False cmdsavein.enabled = False cmdprin.enabled = False Sub show_dv1() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "select ID_redim,mynames,Convert(varchar, redim_date, 103),redim_in,redim_com,redim_total,redim_status from tbl_redim " Dim objdataadapter1 As New SqlDataAdapter(SQL, conn) Dim objdataset1 As DataSet = New DataSet() objdataadapter1.fill(objdataset1, "c1") dv1.datasource = objdataset1 dv1.datamember = "c1" Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdfine.click Button5.Enabled = True Dialog_Re.Show() Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdnew.click cmdfine.enabled = True TextBox7.Text = "RE0000" & objcon.getmaxid("tbl_redim", "id_re") ' orderid Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click cmdsavemonny.enabled = True Dim z, a, b, c, d As Integer z = TextBox5.Text ' b = TextBox1.Text c = TextBox4.Text a = lbloverday.text Label11.Text = (b / 30) * (a + 30) ' Label12.Text = c * a ' ก Private Sub cmdsavemonny_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsavemonny.click Button2.Enabled = True Dim d, f As Integer d = TextBox2.Text f = TextBox9.Text If f * 1 < d * 1 Then MsgBox(" ", vbcritical, " ") Else MsgBox(" ", MsgBoxStyle.OkOnly, " ") TextBox10.Text = f - d TextBox11.Text = " ก " Private Sub cmdsavein_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsavein.click cmdnew.enabled = True cmdprin.enabled = True Dim sql As String sql = "INSERT INTO tbl_redim ( ID_redim,inter_id, redim_date,mynames,redim_in,redim_com,redim_total,redim_monay,redim_ton,redim_status) VALUES ('" & TextBox7.Text & "','" & mycodes.text & "'," & Format(Convert.ToDateTime(today1.Text), 103) & ",'" & mynames.text & "','" & Label11.Text & "','" & Label12.Text & "','" & TextBox2.Text & "','" & TextBox9.Text & "','" & TextBox10.Text & "','" & TextBox11.Text & "')" Dim cmd3 As SqlCommand = New SqlCommand(sql, conn) cmd3.executenonquery() MsgBox(" ก ", MsgBoxStyle.OkOnly, " ") show_dv1() 79

24 80 Private Sub TextBox9_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox9.KeyPress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x, y, z As Integer z = TextBox5.Text x = Label12.Text y = Label11.Text TextBox2.Text = x + y + z Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim Sql As String Dim strstatus As String = " " 'ก ก B ก Borrow Sql = "Update tbl_pawn SET Pawn_status = '" & strstatus & "',ID_redim = '" & TextBox7.Text & "' Where Pawn_id = '" & mycodes.text & "'" Dim cmd2 As SqlCommand = New SqlCommand(Sql, conn) cmd2.executenonquery() cmdsavein.enabled = True Private Sub cmdprin_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprin.click frm_report_frm_redeem.show() End Class Source Code frm_order_gold.vb Imports System.Data.SqlClient ' ก library SQLClient Public Class frm_order_gold Dim objcon As New connection ' ก Class Connection Dim conn As New SqlConnection(objCon.strCon) ' ก Private Sub fine1_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles fine1.click DateTimePicker2.Enabled = True Button1.Enabled = True Dialog_MemOrder.Show() Private Sub frm_order_gold_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Button1.Enabled = False show_dv1() ' ก Sub Procedure DataGridView Me.dv1.Columns.Item(0).HeaderText = " " Me.dv1.Columns.Item(1).HeaderText = " ก " Me.dv1.Columns.Item(2).HeaderText = " " Me.dv1.Columns.Item(3).HeaderText = " " Me.dv1.Columns.Item(4).HeaderText = " ก " Me.dv1.Columns.Item(5).HeaderText = " ก" Me.dv1.Columns.Item(6).HeaderText = " " Me.dv1.Columns.Item(6).HeaderText = " " show_dv1() com() fine1.enabled = False fine1.enabled = False Button2.Enabled = False cmddelete.enabled = False cmdedit.enabled = False cmdsave.enabled = False cmdprin.enabled = False cmdsum.enabled = False Button8.Enabled = False DateTimePicker2.Enabled = False Sub com() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "SELECT * from myunit" Dim obja As New SqlDataAdapter(SQL, conn) Dim objs As DataSet = New DataSet() obja.fill(objs, "c1") ComboUnit.DataSource = objs.tables(0) ComboUnit.DisplayMember = "unit_text" 80

25 81 ComboUnit.ValueMember = "unit_code" Sub cletxt() TextBox2.Text = "" TextBox3.Text = "" TextBox4.Text = "" TextBox5.Text = "" TextBox6.Text = "" TextBox8.Text = "" TextBox10.Text = "" Label10.Text = "" TextBox9.Text = "" TextBox11.Text = "" txtnamnag.text = "" txtpric_gold.text = "" ComboUnit.Text = "" txtpricglod.text = "" txtgamnad.text = "" txtblog.text = "" Private Sub cmdnew_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdnew.click fine1.enabled = True cletxt() txtidorder.text = "OR0000" & objcon.getmaxid("tbl_order", "ID_or") ' orderid Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Button2.Enabled = True Dialog_Type.Show() Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click cmdsum.enabled = True Dim a, b, c As String a = txtpric_gold.text b = txtpricglod.text c = txtnamnag.text ' ก ก If ComboUnit.Text = " " Then txtpric_gold.text = Format((c * b)) ElseIf ComboUnit.Text = " " Then txtpric_gold.text = Format(((c / 4) * b)) Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdsum.click Button8.Enabled = True Dim a, b, c, d, f As Integer a = txtjamnun.text b = txtpric_gold.text c = txtgamnad.text d = txtblog.text f = ((b + c) * a) + d total.text = f Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button8.Click cmdsave.enabled = True Dim a, b As Integer a = total.text b = txtmadjam.text If a > b Then txtcamra.text = a - b Else MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) Private Sub cmdsave_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdsave.click cmdprin.enabled = True Dim sql As String Dim strstatus As String = " " sql = "INSERT INTO tbl_order ( Order_id,IDcard, Order_name,Order_type,Order_outer,Order_K,Order_unit,Order_Jam,Order_brog,Order_gam,Order_date,Order_Fix,Orde r_mad,order_kong,order_total,order_status) VALUES ('" & txtidorder.text & "','" & TextBox2.Text & "','" & TextBox9.Text & "','" & Label10.Text & "','" & TextBox11.Text & "','" & txtnamnag.text & "','" & ComboUnit.Text & "','" & txtjamnun.text & "','" & txtblog.text & "','" & txtgamnad.text & "','" & DateTimePicker1.Text & "','" & DateTimePicker2.Text & "','" & txtmadjam.text & "','" & txtcamra.text & "','" & total.text & "','" & strstatus & "' )" Dim cmd1 As SqlCommand = New SqlCommand(sql, conn) cmd1.executenonquery() show_dv1() ' ก Sub Procedure DataGridView 81

26 82 Sub show_dv1() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "select tbl_order.order_id,mycustomer.mynames,tbl_order.order_name,tbl_order.order_jam,tbl_order.order_gam,tbl_order.o rder_brog,tbl_order.order_total,tbl_order.order_type,tbl_order.order_outer,tbl_order.order_k,tbl_order.order_unit,tbl_ Order.Order_date,tbl_Order.Order_Fix,tbl_Order.Order_mad,tbl_Order.Order_kong,tbl_Order.IDcard,tbl_Order.Order_Pic from mycustomer,tbl_order where tbl_order.idcard=mycustomer.idcard" Dim objdataadapter1 As New SqlDataAdapter(SQL, conn) Dim objdataset1 As DataSet = New DataSet() objdataadapter1.fill(objdataset1, "c1") dv1.datasource = objdataset1 dv1.datamember = "c1" Private Sub dv1_cellcontentclick(byval sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dv1.cellcontentclick If e.rowindex = -1 Then Exit Sub ' ก ก ก ก ก ก With dv1 txtidorder.text =.Rows.Item(e.RowIndex).Cells(0).Value.ToString TextBox9.Text =.Rows.Item(e.RowIndex).Cells(2).Value.ToString txtjamnun.text =.Rows.Item(e.RowIndex).Cells(3).Value.ToString txtgamnad.text =.Rows.Item(e.RowIndex).Cells(4).Value.ToString txtblog.text =.Rows.Item(e.RowIndex).Cells(5).Value.ToString total.text =.Rows.Item(e.RowIndex).Cells(6).Value.ToString Label10.Text =.Rows.Item(e.RowIndex).Cells(7).Value.ToString TextBox11.Text =.Rows.Item(e.RowIndex).Cells(8).Value.ToString txtnamnag.text =.Rows.Item(e.RowIndex).Cells(9).Value.ToString ComboUnit.Text =.Rows.Item(e.RowIndex).Cells(10).Value.ToString txtmadjam.text =.Rows.Item(e.RowIndex).Cells(13).Value.ToString txtcamra.text =.Rows.Item(e.RowIndex).Cells(14).Value.ToString TextBox2.Text =.Rows.Item(e.RowIndex).Cells(15).Value.ToString End With cmdedit.enabled = True cmddelete.enabled = True cmdsave.enabled = False Button1.Enabled = True Button8.Enabled = True Private Sub cmdedit_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdedit.click Dim SQL As String SQL = "UPDATE tbl_order SET Order_type ='" & Label10.Text & "',Order_name ='" & TextBox9.Text & "',Order_outer ='" & TextBox11.Text & "',Order_K ='" & txtnamnag.text & "',Order_unit ='" & ComboUnit.Text & "',Order_Jam ='" & txtjamnun.text & "',Order_gam ='" & txtgamnad.text & "',Order_brog ='" & txtblog.text & "',Order_total ='" & total.text & "',Order_mad ='" & txtmadjam.text & "',Order_kong ='" & txtcamra.text & "' WHERE Order_id = '" & txtidorder.text & "'" Dim cmd2 As SqlCommand = New SqlCommand(SQL, conn) cmd2.executenonquery() show_dv1() Private Sub txtnamnag_keypress(byval sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtnamnag.keypress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub txtjamnun_keypress(byval sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtjamnun.keypress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub txtgamnad_keypress(byval sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtgamnad.keypress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub txtblog_keypress(byval sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtblog.keypress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) 82

27 83 e.handled = True Private Sub txtmadjam_keypress(byval sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtmadjam.keypress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub cmdprin_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprin.click frm_reprot_order.show() End Class Source Code frm_fix_order.vb Imports System.Data.SqlClient ' ก library SQLClient Public Class frm_fix_order Dim objcon As New connection ' ก Class Connection Dim conn As New SqlConnection(objCon.strCon) ' ก Private Sub frm_fix_order_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load show_dv1() ' ก Sub Procedure DataGridView Me.dv1.Columns.Item(0).HeaderText = " " Me.dv1.Columns.Item(1).HeaderText = " - ก " Me.dv1.Columns.Item(2).HeaderText = " " Me.dv1.Columns.Item(3).HeaderText = " " Me.dv1.Columns.Item(4).HeaderText = " " Me.dv1.Columns.Item(5).HeaderText = " " dv1.columns.item(0).width = 100 dv1.columns.item(1).width = 130 dv1.columns.item(2).width = 100 dv1.columns.item(3).width = 100 dv1.columns.item(4).width = 100 dv1.columns.item(5).width = 100 fine1.enabled = False cmdsave.enabled = False cmdprin.enabled = False Button3.Enabled = False txtchamra.enabled = False Sub show_dv1() If conn.state <> ConnectionState.Open Then conn.open() Dim SQL As String SQL = "select tbl_reorder.reorder_id,mycustomer.mynames,tbl_reorder.reorder_date,tbl_order.order_total,tbl_order.order_mad,t bl_reorder.reorder_monny from tbl_reorder,tbl_order,mycustomer where tbl_reorder.order_id=tbl_order.order_id AND tbl_reorder. mynames=mycustomer. mynames" Dim objdataadapter1 As New SqlDataAdapter(SQL, conn) Dim objdataset1 As DataSet = New DataSet() objdataadapter1.fill(objdataset1, "c1") dv1.datasource = objdataset1 dv1.datamember = "c1" Private Sub cmdsave_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdnew.click fine1.enabled = True IDREOrder.Text = "REOR000" & objcon.getmaxid("tbl_reorder", "ID_REOrder") ' orderid Private Sub fine1_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles fine1.click Button3.Enabled = True Dialog_ReOrder.Show() Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click txtchamra.enabled = True Dim a, b As Integer a = txttotal.text b = txtmad.text total.text = a - b Private Sub txtchamra_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles txtchamra.click cmdnew.enabled = False cmdsave.enabled = True 83

28 84 Dim d, f As Integer d = total.text f = TextBox1.Text If f * 1 < d * 1 Then MsgBox(" ", vbcritical, " ") Else MsgBox(" ", MsgBoxStyle.OkOnly, " ") Label14.Text = f - d Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress If Not (e.keychar >= "0" And e.keychar <= "9" Or e.keychar = "." Or e.keychar = ControlChars.Back) Then MessageBox.Show("ก ก ก ", " ", MessageBoxButtons.OK, MessageBoxIcon.Exclamation) e.handled = True Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdsave.click Dim sql As String Dim strstatus As String = " " sql = "INSERT INTO tbl_reorder ( ReOrder_Id,Order_id, mynames,reorder_date,reorder_monny,reorder_chamra,reorder_ton) VALUES ('" & IDREOrder.Text & "','" & txtidorder.text & "','" & namemam.text & "','" & DateTimePicker1.Text & "','" & total.text & "','" & TextBox1.Text & "','" & Label14.Text & "' )" Dim cmd1 As SqlCommand = New SqlCommand(sql, conn) cmd1.executenonquery() sql = "Update tbl_order SET Order_status = '" & strstatus & "' Where Order_id = '" & txtidorder.text & "'" Dim cmd2 As SqlCommand = New SqlCommand(sql, conn) cmd2.executenonquery() show_dv1() cmdprin.enabled = True cmdsave.enabled = False Private Sub cmdprin_click(byval sender As System.Object, ByVal e As System.EventArgs) Handles cmdprin.click frm_reorder_show.show() End Class 84

29 85 ก ก 85

30 86 ก 1 1/2553 : ก 1 1 ก (0-2-0) : ก : 1. - ก ก :... ( ) (...) ก ก ก.../.../... (...) ก ก 1.../.../... (...) ก ก 2.../.../... 86

31 87 1. ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก 87

32 88 2. ก ก 2.1. ก 2.2. ก ก ก 2.3. ก ก ก ก 3. ก ก ก ก ก ก ก ก ก 3.1 ก ก USER ก ก USER 3.2 ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก 30 ก ก ก ก ก ก ก ก ก ก ก/ ก ก ก ก 3.3 ก ก ก ก ก ก ก 88

33 ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก 3.5 ก ก ก ก ก 3.6 ก ก ก ก ( ) ก 3.7 ก ก ก ก ก ก ก ก 3.8 ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก 3.9 ก ก ก ก ก ก ก ก กก 89 89

34 ก ก ก ก ก ก ก Microsoft Windows XP ก Microsoft SQL Server 2005 ก Microsoft Visual Studio 2008 ก Adobe Photoshop 7.0 ก ก ก Microsoft Office Word 2003 ก ก VISIO2003 ก Flowchart,Context Diagram,Data Flow Diagram 5. ก ก ( ก ) ก ก

35 ก ก ก ก ก ก 6. ก ก จกรรม ก ก ก เสนอห วข อต ออาจารย ท ปร กษา รวบรวมข อม ลท จะน ามาใช ประกอบการพ ฒนาระบบ ว เคราะห และออกแบบ ระบบงานใหม พ ฒนาระบบ ทดสอบระบบ และแก ไข ข อผ ดพลาด น าเสนอผลงานต อคณะกรรมการ จ ดท าค ม อ 91

36 ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก ก 92

37 93 ก ก ก 93

38 94 ก ก 2 ก ก ก ก / / ก ก 1 10/7/53 ก ก 2 20/7/53 ก ก 3 25/7/53 CODE 4 3/8/53 CODE 5 12/8/53 ก ก code 6 20/8/ /8/53 CODE 94

ภาคผนวก ก การต ดต งโปรแกรม

ภาคผนวก ก การต ดต งโปรแกรม ภาคผนวก ภาคผนวก ก การต ดต งโปรแกรม โปรแกรม Visual Basic.Net ข นตอนการต ดต งโปรแกรม Visual Basic.Net (Visual Studio.net 2008) 1. ใส แผ นโปรแกรม Visual Studio.net 2008 ลงใน CD-Rom Drive 2. รอให โปรแกรมท

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

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

ภาคผนวก ก. Source Code

ภาคผนวก ก. Source Code ภาคผนวก ภาคผนวก ก. Source Code 154 155 Source Code ช อ Empbook Option Explicit On Option Strict On Imports System.data Imports System.Data.OleDb Public Class Empbook Dim Book_status As Integer = 1 'ęğŀşľłŀăăő

More information

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

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

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

Visual Basic: Opdracht Structuur

Visual Basic: Opdracht Structuur Visual Basic: Opdracht Structuur HoofdMenu.vb SubMenu_Kwadraat.vb Form1.vb Form2.vb Submenu_Som.vb Form3.vb Form4.vb SubMenu_Gem.vb Form5.vb Form6.vb Form10.vb SubMenu_Naam.vb Form7.vb Form11.vb Form8.vb

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

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

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

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

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

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

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

Source Code ช อ frmcar

Source Code ช อ frmcar 122 Source Code ช อ frmcar Imports System.Data Imports System.Data.SqlClient Imports System.Globalization Public Class frmcar Dim ds, ds1, dsc As New DataSet Dim hit As DataGridView.HitTestInfo Dim N As

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

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

VB.NET Programs. ADO.NET (insert, update, view records)

VB.NET Programs. ADO.NET (insert, update, view records) ADO.NET (insert, update, view records) VB.NET Programs Database: Student Table : Studtab (adno, name, age, place) Controls: DataGridView, Insert button, View button, Update button, TextBox1 (for Admission

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

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

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

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. 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

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

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

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

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

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

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel

Form Connection. Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Form Connection Imports System Imports System.Threading Imports System.IO.Ports Imports System.ComponentModel Public Class connection '------------------------------------------------ Dim myport As Array

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

STEP 1: CREATING THE DATABASE

STEP 1: CREATING THE DATABASE Date: 18/02/2013 Procedure: Creating a simple registration form in ASP.NET (Programming) Source: LINK Permalink: LINK Created by: HeelpBook Staff Document Version: 1.0 CREATING A SIMPLE REGISTRATION FORM

More information

Programming with Visual Studio Higher (v. 2013)

Programming with Visual Studio Higher (v. 2013) Programming with Visual Studio Higher (v. 2013) Contents/Requirements Checklist Multiple selection: using ifs & case While Loops Using arrays Filling arrays Displaying array contents Types of variables:

More information

Code: Week 13. Write a Program to perform Money Conversion. Public Class Form1

Code: Week 13. Write a Program to perform Money Conversion. Public Class Form1 Write a Program to perform Money Conversion. Week 13 Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Dim a As Double a = TextBox1.Text If ComboBox1.SelectedItem

More information

A Complete Tutorial for Beginners LIEW VOON KIONG

A Complete Tutorial for Beginners LIEW VOON KIONG I A Complete Tutorial for Beginners LIEW VOON KIONG Disclaimer II Visual Basic 2008 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been

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

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

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

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

Check out the demo video of this application so you know what you will be making in this tutorial.

Check out the demo video of this application so you know what you will be making in this tutorial. Visual Basic - System Information Viewer Welcome to our special tutorial of visual basic. In this tutorial we will use Microsoft visual studio 2010 version. You can download it for free from their website.

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

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

WEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled.

WEEK 1. Event: Tick: Occurs when the specified timer interval has elapsed and the timer is enabled. WEEK 1 Timer: A Timer is used to raise an event at user-defined intervals. It is optimized for use in Windows Forms applications. Timer is used to control and manage events that are time related. For example:

More information

Apéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1

Apéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1 Apéndice E Código de software de ayuda en Visual Basic 2005 Public Class Form1 Dim checkcont As Integer = 0, foto = 0 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

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

COPYRIGHTED MATERIAL. Taking Web Services for a Test Drive. Chapter 1. What s a Web Service?

COPYRIGHTED MATERIAL. Taking Web Services for a Test Drive. Chapter 1. What s a Web Service? Chapter 1 Taking Web Services for a Test Drive What s a Web Service? Understanding Operations That Are Well Suited for Web Services Retrieving Weather Information Using a Web Service 101 Retrieving Stock

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

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

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

In the previous chapter we created a web site with images programmed into HTML page code using commands such as: <img src="images/train.

In the previous chapter we created a web site with images programmed into HTML page code using commands such as: <img src=images/train. Chapter 6: Mountain Bike Club 113 6 Mountain Bike Club In the previous chapter we created a web site with images programmed into HTML page code using commands such as: In

More information

LISTING PROGRAM. frmmenu.vb. frmlogin.vb. Universitas Sumatera Utara. Public Class frmmenu

LISTING PROGRAM. frmmenu.vb. frmlogin.vb. Universitas Sumatera Utara. Public Class frmmenu LISTING PROGRAM frmmenu.vb Public Class frmmenu Private Sub QuitToolStripMenuItem_Click(ByVal sender As QuitToolStripMenuItem.Click Close() Private Sub OtoritasToolStripMenuItem_Click(ByVal sender As OtoritasToolStripMenuItem.Click

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

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

ADO.NET 2.0. database programming with

ADO.NET 2.0. database programming with TRAINING & REFERENCE murach s ADO.NET 2.0 database programming with (Chapter 3) VB 2005 Thanks for downloading this chapter from Murach s ADO.NET 2.0 Database Programming with VB 2005. We hope it will

More information

GUI Design and Event- Driven Programming

GUI Design and Event- Driven Programming 4349Book.fm Page 1 Friday, December 16, 2005 1:33 AM Part 1 GUI Design and Event- Driven Programming This Section: Chapter 1: Getting Started with Visual Basic 2005 Chapter 2: Visual Basic: The Language

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

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

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

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

Unit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol

Unit 3. Lesson Designing User Interface-2. TreeView Control. TreeView Contol Designing User Interface-2 Unit 3 Designing User Interface-2 Lesson 3.1-3 TreeView Control A TreeView control is designed to present a list in a hierarchical structure. It is similar to a directory listing.

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

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England

DAFTAR PUSTAKA. Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England DAFTAR PUSTAKA Bojic, Paul, 2008, Business Information System. Pearson Education Ltd., England Elib.unikom.ac.id, SQL Server, 27 April 2014. Jogiyanto. 2005. Analisis & Desain Sistem Informasi : Pendekatan

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

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

C# winforms gridview

C# winforms gridview C# winforms gridview using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

COPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1

COPYRIGHTED MATERIAL. Visual Basic: The Language. Part 1 Part 1 Visual Basic: The Language Chapter 1: Getting Started with Visual Basic 2010 Chapter 2: Handling Data Chapter 3: Visual Basic Programming Essentials COPYRIGHTED MATERIAL Chapter 1 Getting Started

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

Code: Write a Program for perform Money Conversion. Public Class Form1

Code: Write a Program for perform Money Conversion. Public Class Form1 Write a Program for perform Money Conversion. Code: Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim a As Double a = TextBox1.Text

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

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

ISI Web of Science. SciFinder Scholar. PubMed ส บค นจากฐานข อม ล

ISI Web of Science. SciFinder Scholar. PubMed ส บค นจากฐานข อม ล 2.3.3 Search Chem. Info. in Journal ส บค นจากฐานข อม ล - ฐานข อม ลท รวบรวมข อม ลของ journal จากหลาย ๆ แหล ง ISI http://portal.isiknowledge.com/portal.cgi/ SciFinder ต องต ดต งโปรแกรมพ เศษ และสม ครสมาช

More information

Serial-out Color Sensor. Overview. Features

Serial-out Color Sensor. Overview. Features Visit us @ www.thearyatechnologies.com Email: aryaprotech@gmail.com / info@thearyatechnologies.com Contact us@ 0253-2512131 Serial-out Color Sensor Overview Color sensor identifies primary colors (Red,

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

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

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

Lab 4 (Introduction to C# and windows Form Applications)

Lab 4 (Introduction to C# and windows Form Applications) Lab 4 (Introduction to C# and windows Form Applications) In this the following goals will be achieved: 1. C# programming language is introduced 2. Creating C# console application using visual studio 2008

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

Accessing Databases 7/6/2017 EC512 1

Accessing Databases 7/6/2017 EC512 1 Accessing Databases 7/6/2017 EC512 1 Types Available Visual Studio 2017 does not ship with SQL Server Express. You can download and install the latest version. You can also use an Access database by installing

More information

How to use data sources with databases (part 1)

How to use data sources with databases (part 1) Chapter 14 How to use data sources with databases (part 1) 423 14 How to use data sources with databases (part 1) Visual Studio 2005 makes it easier than ever to generate Windows forms that work with data

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

Disclaimer. Trademarks. Liability

Disclaimer. Trademarks. Liability Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft

More information

Answer on Question# Programming, C#

Answer on Question# Programming, C# Answer on Question#38723 - Programming, C# 1. The development team of SoftSols Inc. has revamped the software according to the requirements of FlyHigh Airlines and is in the process of testing the software.

More information

Building Datacentric Applications

Building Datacentric Applications Chapter 4 Building Datacentric Applications In this chapter: Application: Table Adapters and the BindingSource Class Application: Smart Tags for Data. Application: Parameterized Queries Application: Object

More information

Developing Student Programming and Problem-Solving Skills With Visual Basic

Developing Student Programming and Problem-Solving Skills With Visual Basic t e c h n o l o g y Del Siegle, Ph.D. Developing Student Programming and Problem-Solving Skills With Visual Basic TThree decades have passed since computers were first introduced into American classrooms.

More information

Savoy ActiveX Control User Guide

Savoy ActiveX Control User Guide Savoy ActiveX Control User Guide Jazz Soft, Inc. Revision History 1 Revision History Version Date Name Description 1.00 Jul, 31 st, 2009 Hikaru Okada Created as new document 1.00a Aug, 22 nd, 2009 Hikaru

More information

フラクタル 1 ( ジュリア集合 ) 解説 : ジュリア集合 ( 自己平方フラクタル ) 入力パラメータの例 ( 小さな数値の変化で模様が大きく変化します. Ar や Ai の数値を少しずつ変化させて描画する. ) プログラムコード. 2010, AGU, M.

フラクタル 1 ( ジュリア集合 ) 解説 : ジュリア集合 ( 自己平方フラクタル ) 入力パラメータの例 ( 小さな数値の変化で模様が大きく変化します. Ar や Ai の数値を少しずつ変化させて描画する. ) プログラムコード. 2010, AGU, M. フラクタル 1 ( ジュリア集合 ) PictureBox 1 TextBox 1 TextBox 2 解説 : ジュリア集合 ( 自己平方フラクタル ) TextBox 3 複素平面 (= PictureBox1 ) 上の点 ( に対して, x, y) 初期値 ( 複素数 ) z x iy を決める. 0 k 1 z k 1 f ( z) z 2 k a 写像 ( 複素関数 ) (a : 複素定数

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

Unit 7. Lesson 7.1. Loop. For Next Statements. Introduction. Loop

Unit 7. Lesson 7.1. Loop. For Next Statements. Introduction. Loop Loop Unit 7 Loop Introduction So far we have seen that each instruction is executed once and once only. Some time we may require that a group of instructions be executed repeatedly, until some logical

More information

Disclaimer. Trademarks. Liability

Disclaimer. Trademarks. Liability Disclaimer II Visual Basic 2010 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft

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

Remote Web Server. Develop Locally. foldername. publish project files to

Remote Web Server. Develop Locally. foldername. publish project files to Create a Class and Instantiate an Object in a Two-Tier Tier Web App By Susan Miertschin For ITEC 4339 Enterprise Applications Development 9/20/2010 1 Development Model foldername Remote Web Server Develop

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

WinForms Applications

WinForms Applications Agenda WinForms Applications Writing native Windows programs Tuesday, November 2, 2004 1 PWindows Applications PEvents and event handlers PLayered (tiered) model of software PFocus PForm designer and controls

More information

CT862 Section 1 Introduction

CT862 Section 1 Introduction CT862 Section 1 Introduction VB.NET: VB introduced in 1991 Provided the first easily accessible means of writing Windows applications o The VB IDE was inherently graphical and mirrored the Windows OS itself

More information

: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET

: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET 2006-938: CREATING WEB BASED APPLICATIONS FOR INSTRUMENT DATA TRANSFER USING VISUAL STUDIO.NET David Hergert, Miami University American Society for Engineering Education, 2006 Page 11.371.1 Creating Web

More information

ComponentOne. DataObjects for.net

ComponentOne. DataObjects for.net ComponentOne DataObjects for.net Copyright 1987-2012 GrapeCity, Inc. All rights reserved. ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Internet:

More information

ComponentOne. DataObjects for.net

ComponentOne. DataObjects for.net ComponentOne DataObjects for.net ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com Sales: sales@componentone.com

More information

C Programming

C Programming 204216 -- C Programming Chapter 9 Character Strings Adapted/Assembled for 204216 by Areerat Trongratsameethong A First Book of ANSI C, Fourth Edition Objectives String Fundamentals Library Functions Input

More information

LISTING PROGRAM. PrivateSub KeluarToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles KeluarToolStripMenuItem.Click Close() EndSub

LISTING PROGRAM. PrivateSub KeluarToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles KeluarToolStripMenuItem.Click Close() EndSub LISTING PROGRAM 1.Tampilan awal PublicClassmm PrivateSub InputDataGuruToolStripMenuItem_Click(sender AsObject, e AsEventArgs) Handles InputDataGuruToolStripMenuItem.Click guru.show() Me.Hide() EndSub PrivateSub

More information

An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is

An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is InputBox( ) Function An InputBox( ) function will display an input Box window where the user can enter a value or a text. The format is A = InputBox ( Question or Phrase, Window Title, ) Example1: Integer:

More information

To get started with Visual Basic 2005, I recommend that you jump right in

To get started with Visual Basic 2005, I recommend that you jump right in In This Chapter Chapter 1 Wading into Visual Basic Seeing where VB fits in with.net Writing your first Visual Basic 2005 program Exploiting the newfound power of VB To get started with Visual Basic 2005,

More information