LISTING PROGRAM. 1. Menu Utama
|
|
- Buddy Ray
- 5 years ago
- Views:
Transcription
1 LISTING PROGRAM 1. Menu Utama Dim rsupdate As Recordset Dim rscari As Recordset Dim strusername As String * 10 Dim Status As String * 1 Dim JumUser As Integer Public system_mon As String Public service_mon As String Public sp As String Public mon As Boolean Private Const INFINITE = &HFFFF Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hhandle As Long, ByVal dwmilliseconds As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwaccess As Long, ByVal finherit As Integer, ByVal hobject As Long) As Long Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal ncmdshow As Integer) As Integer Private Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wcmd As Integer) As Integer Const RSP_SIMPLE_SERVICE = 1 Const RSP_UNREGISTER_SERVICE = 0 Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwprocessid As Long, ByVal dwtype As Long) As Long Dim dom As IADsDomain Dim comp As IADsComputer Dim strkom As String Private Sub cmdabout_click() Timer2.Enabled = False Timer3.Enabled = False Me.Hide frmabout.show Private Sub cmdhelp_click() Timer2.Enabled = False Timer3.Enabled = False Me.Hide frmhelp.show Private Sub cmdok_click() If (Format(txtJam1.Text <> " : ") And Format(txtJam.Text <> " : ")) Then LoadKom load_service ScanHW Timer2.Enabled = True
2 Timer1.Enabled = True MsgBox "Jam scanning belum lengkap" Private Sub cmdquit_click() Timer2.Enabled = False Timer3.Enabled = False frmlogin.txtadminid = "" frmlogin.txtpwd = "" frmlogin.show Private Sub cmdadmin_click() Timer2.Enabled = False Timer3.Enabled = False frmmenuadm.show Private Sub Form_Activate() txtjam = " : " txtjam1 = " : " txtjam.enabled = False cmdadmin.enabled = False Frame4.Visible = False Sub LoadKom() Set dom = GetObject("WinNT://" & "server") dom.filter = Array("Computer") For Each comp In dom On Error Resume If Not UCase(comp.Name = "SERVER00") Then strkom = strkom & comp.name Sub ScanHW() On Error GoTo salah Dim wmiobjset As WbemScripting.SWbemObjectSet Dim wmiobj As WbemScripting.SWbemObject Dim nmpro1 As String Dim strkec1 As String Dim strram1 As String Dim strvga1 As String Dim strhd1 As String Set wmiobjset = _ GetObject("winmgmts:{impersonationLevel=impersonate}//" &_ strkom & "/root/cimv2").instancesof("win32_processor") nmpro1 = LTrim(wmiobj.Name) strkec1 = wmiobj.maxclockspeed
3 Set wmiobjset = Nothing Set wmiobj = Nothing Set wmiobjset = GetObject("winmgmts:{impersonationLevel=impersonate}//" & strkom & "/root/cimv2").execquery("select DeviceID,FreeSpace,Size,Name from Win32_LogicalDisk where DriveType=3") strhd1 = strhd1 & wmiobj.deviceid & Format(wmiobj.Size / , "###,###,##") Set wmiobjset = Nothing Set wmiobj = Nothing Set wmiobjset = _ GetObject("winmgmts:{impersonationLevel=impersonate}//" strkom & "/root/cimv2").instancesof("win32_operatingsystem") strram1 = Format(wmiobj.TotalVisibleMemorySize / 1024, _ "###.##") & Set rsupdate = New ADODB.Recordset rsupdate.open "Update hw SET tglscan='" & Format(Now, "ddmm-yyyy") & "',JamScan='" & Format(Time$, "HH:MM") & "',nmpro1='" & nmpro1 & "',kec1='" & strkec1 & "', kapamem1='" & strram1 & "', hd1='" & LTrim(strHD1) & "' where kom='" & strkom & "'", CN, 1, 2 Set rsupdate = Nothing nmpro1 = "" strkec1 = "" strram1 = "" strvga1 = "" strhd1 = "" salah: If Err.Number <> 0 Then Exit Sub Private Sub Form_Load() On Error Resume Koneksi lbltglscan = Format(Now, "dd-mm-yyyy") lbljamscan = Format(Time$, "HH:MM") LoadKom load_service Timer1.Enabled = True Private Sub Form_Unload(Cancel As Integer) Timer2.Enabled = False Timer3.Enabled = False frmlogin.txtadminid = "" frmlogin.txtpwd = "" frmlogin.show
4 Public Sub load_service() Dim WmiService1 As WbemScripting.SWbemServices On Error GoTo SalahSatu: Dim fnd As Boolean Dim i As Integer Dim seti As Boolean Dim bolbaca As Boolean fnd = False i = 0 seti = 0 Set WmiService1 = GetObject("winmgmts:\\" & "KOM1" & _ "\root\cimv2") Set running1 = WmiService1.ExecQuery("SELECT * FROM _ Win32_Process") For Each objswbemobject In running1 If bolbaca = False Then If objswbemobject.name = "winlogon.exe" Then lblstkom1.caption = "KOM-1 Sedang On" lblstkom1.forecolor = vbred bolbaca = True If objswbemobject.name = "explorer.exe" Then lblstkom1.caption = "KOM-1 Sedang ON" lblstkom1.forecolor = vbred bolbaca = True lblstkom1.caption = "KOM-1 Sedang OFF" lblstkom1.forecolor = vbblue SalahSatu: If Err.Number <> 0 Then lblstkom1.caption = "KOM-1 Sedang OFF" lblstkom1.forecolor = vbblue Timer3.Enabled = True Call load_service2 Exit Sub Public Sub load_service2() Dim WmiService2 As WbemScripting.SWbemServices On Error GoTo SalahDua: Dim fnd As Boolean Dim i As Integer Dim seti As Boolean Dim bolbaca2 As Boolean fnd = False i = 0 seti = 0 Set WmiService2 = GetObject("winmgmts:\\" & "KOM2" & _ "\root\cimv2") Set running2 = WmiService2.ExecQuery("SELECT * FROM _ Win32_Process")
5 For Each objswbemobject2 In running2 If bolbaca2 = False Then If objswbemobject2.name = "winlogon.exe" Then lblstkom2.caption = "KOM-2 Sedang On" lblstkom2.forecolor = vbred bolbaca2 = True If objswbemobject2.name = "explorer.exe" Then lblstkom2.caption = "KOM-2 Sedang ON" lblstkom2.forecolor = vbred bolbaca2 = True lblstkom2.caption = "KOM-2 Sedang OFF" lblstkom2.forecolor = vbblue SalahDua: If Err.Number <> 0 Then lblstkom2.caption = "KOM-2 Sedang OFF" lblstkom2.forecolor = vbblue Exit Sub Private Sub optmanual_click() Frame4.Visible = False cmdadmin.enabled = True Timer2.Enabled = False cmdadmin.setfocus Private Sub optoto_click() Frame4.Visible = True txtjam.enabled = True txtjam.setfocus Private Sub Timer1_Timer() Adodc2.Refresh grid.refresh grid.colwidth(0) = 0 grid.colwidth(1) = 1000 grid.colwidth(2) = 1200 grid.colwidth(3) = 800 grid.colwidth(4) = 2000 grid.colwidth(5) = 2000 grid.colwidth(6) = 1500 grid.colwidth(7) = 1500 grid.colwidth(8) = 1500 grid.colwidth(9) = 1500 grid.colwidth(10) = 1500 grid.colwidth(11) = 1500 grid.colwidth(12) = 4000 grid.colwidth(13) = 4000 grid.textmatrix(0, 0) = "" grid.textmatrix(0, 1) = "Kom"
6 grid.textmatrix(0, 2) = "Tgl Scan" grid.textmatrix(0, 3) = "Jam Scan" grid.textmatrix(0, 4) = "Prosesor" grid.textmatrix(0, 5) = "Prosesor Scan" grid.textmatrix(0, 6) = "Speed" grid.textmatrix(0, 7) = "Speed Scan" grid.textmatrix(0, 8) = "RAM" grid.textmatrix(0, 9) = "RAM Scan" grid.textmatrix(0, 10) = "Harddisk" grid.textmatrix(0, 11) = "Harddisk Scan" grid.textmatrix(0, 12) = "VGA" grid.textmatrix(0, 13) = "VGA Scan" grid.refresh lbljamscan = Format(Time$, "HH:MM") Timer4.Enabled = True Private Sub Timer2_Timer() List1.Clear Dim dom As IADsDomain Dim comp As IADsComputer Set dom = GetObject("WinNT://" & "server") dom.filter = Array("Computer") For Each comp In dom If Not UCase(comp.Name) = "SERVER00" Then List1.AddItem comp.name Timer2.Enabled = False Private Sub Timer3_Timer() Call load_service Private Sub Timer4_Timer() If (Format(Now, "HH:MM") = txtjam.text Or Format(Now, "HH:MM")_ = txtjam1.text) Then Me.Caption = "Scanning hardware client..." Call ScanHW Me.Caption = "Menu Utama" Timer4.Enabled = False 2. Daftar Hardware Private Sub cmdinfohw_click() frmscanhw.show Private Sub cmdkeluar_click() Me.Hide frmmenu.show Private Sub cmdkom_click() frmstatuskom.show
7 Private Sub cmdscanvga_click() frmscanvga.show Private Sub Form_Unload(Cancel As Integer) Me.Hide frmmenu.show 3. Scan Status Komputer Client Public system_mon As String Public service_mon As String Public sp As String Public mon As Boolean Private Const INFINITE = &HFFFF Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hhandle As Long, ByVal dwmilliseconds As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwaccess As Long, ByVal finherit As Integer, ByVal hobject As Long) As Long Private Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal ncmdshow As Integer) As Integer Private Declare Function GetWindow Lib "user32" (ByVal hwnd As Long, ByVal wcmd As Integer) As Integer Const RSP_SIMPLE_SERVICE = 1 Const RSP_UNREGISTER_SERVICE = 0 Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwprocessid As Long, ByVal dwtype As Long) As Long Dim rsupdate As Recordset Public Sub load_service() Dim wmilocator As New WbemScripting.SWbemLocator Dim wmiservice As WbemScripting.SWbemServices List1.Clear On Error GoTo err2 Set wmiservice = GetObject("winmgmts:\\" & cmb_computer &_ "\root\cimv2") Set running1 = wmiservice.execquery("select * FROM_ Win32_Process") Dim fnd As Boolean Dim i As Integer Dim seti As Boolean Dim bolbaca As Boolean fnd = False i = 0 seti = 0 For Each objswbemobject In running1 List1.AddItem objswbemobject.name If bolbaca = False Then If objswbemobject.name = "explorer.exe" Then Label3.Caption = cmb_computer & " On" strstatus = "1" bolbaca = True If objswbemobject.name = "userinit.exe" Then Label3.Caption = cmb_computer & " On" strstatus = "1"
8 bolbaca = True If objswbemobject.name = "LanmanServer" Then Label3.Caption = cmb_computer & " On" strstatus = "1" bolbaca = True Label3.Caption = "" Set rsupdate = New ADODB.Recordset rsupdate.open "Update hw set status='1' where kom='" & cmb_computer.text & "'", CN, 1, 2 Exit Sub err2: MsgBox "koneksi gagal...", vbcritical + vbokonly, Err.Number Public Sub load_computer() Dim dom As IADsDomain Dim comp As IADsComputer Set dom = GetObject("WinNT://" & "server") dom.filter = Array("Computer") For Each comp In dom On Error Resume If Not UCase(comp.Name = "SERVER00") Then cmb_computer.additem comp.name Private Sub cmb_computer_click() load_service Private Sub cmdkeluar_click() Me.Hide Private Sub Form_Load() cmb_computer.clear Call Koneksi load_computer 4. Scan Prosesor, RAM dan Harddisk Dim rssave As Recordset Dim rscari As Recordset Dim strdrive As String Sub LoadKom() Dim dom As IADsDomain Dim comp As IADsComputer Set dom = GetObject("WinNT://" & "server") dom.filter = Array("Computer") For Each comp In dom On Error Resume If Not UCase(comp.Name = "SERVER00") Then
9 cbokom.additem comp.name Private Sub cbokom_click() On Error GoTo salah On Error Resume Dim wmiobjset As WbemScripting.SWbemObjectSet Dim wmiobj As WbemScripting.SWbemObject Dim strprosesor, strprosesor1 As String Dim strkec, strkec1 As String Dim strram, strram1 As String Dim strvga, strvga1 As String Dim strhd, strhd1 As String Set rscari = New ADODB.Recordset rscari.open "Select * from hw where kom='" & cbokom.text & "'",_ CN, 1, 2 If Not rscari.eof = True Then stat1.caption = rscari!nmpro lblkec1.caption = rscari!kec srvmem1.caption = rscari!kapamem List2.AddItem rscari!hd strprosesor1 = rscari!nmpro strram1 = rscari!kapamem strhd1 = rscari!hd strkec1 = rscari!kec Set rssave = New ADODB.Recordset rssave.open "hw", CN, 1, 2 rssave.addnew rssave!kom = cbokom.text rssave!nmpro = stat.caption rssave!kec = lblkec.caption rssave!kapamem = srvmem.caption rssave!hd = strdrive rssave!status = "1" rssave.update stat = "" Set wmiobjset = _ GetObject("winmgmts:{impersonationLevel=impersonate}//" & _ cbokom.text & "/root/cimv2").instancesof("win32_processor") stat.caption = LTrim(wmiobj.Name) lblkec.caption = wmiobj.maxclockspeed strprosesor = LTrim(wmiobj.Name) strkec = wmiobj.maxclockspeed Set wmiobjset = Nothing Set wmiobj = Nothing disk = "" Set wmiobjset = _ GetObject("winmgmts:{impersonationLevel=impersonate}//" & _
10 cbokom.text & "/root/cimv2").execquery("select DeviceID,FreeSpace,Size,Name from Win32_LogicalDisk where _ DriveType=3") strdrive = strdrive & wmiobj.deviceid & Format(wmiobj.Size /_ , "###,###,##") '& " " & " Total Free Space(MBytes) : "_ & CInt(((wmiobj.FreeSpace) / 1024) / 1024) & " Utilized(%): " _ & CInt(((wmiobj.Size - wmiobj.freespace) * 100) / wmiobj.size)_ strhd = strhd & " " & wmiobj.deviceid & Format(wmiobj.Size / _ , "###,###,##") lblhd.caption = strhd Set wmiobjset = Nothing Set wmiobj = Nothing srvmem = "" Set wmiobjset =_ GetObject("winmgmts:{impersonationLevel=impersonate}//" &_ cbokom.text & _ "/root/cimv2").instancesof("win32_operatingsystem") srvmem.caption = Format(wmiobj.TotalVisibleMemorySize / _ 1024,"###.##") '& " Percentage Free(%) : _ " & CInt((wmiobj.FreePhysicalMemory * 100)/ _ wmiobj.totalvisiblememorysize) & vbcrlf strram = strram & Format(wmiobj.TotalVisibleMemorySize _ / 1024, "###.##") If (strprosesor = strprosesor1 And strram = strram1 And LTrim(lblHD.Caption) = strhd1 And strkec = strkec1) Then lblket.caption = "Spesifikasi masih tetap" lblket.caption = "Spesifikasi sudah berubah" salah: If Err.Number <> 0 Then MsgBox "Hardware " & cbokom.text & " tidak terkoneksi... " Private Sub cmdkeluar_click() Private Sub cmdsave_click() Set rscari = New ADODB.Recordset rscari.open "Update hw SET nmpro='" & stat.caption & "',kec='" & lblkec.caption & "', kapamem='" & srvmem.caption & "', hd='" & LTrim(lblHD.Caption) & "' where kom='" & cbokom.text & "'", CN, 1, 2 Set rscari = Nothing cbokom.text = "" stat.caption = "" lblkec.caption = ""
11 srvmem.caption = "" strdrive = "" lblhd = "" txt_server.text = "" stat1.caption = "" lblkec1.caption = "" srvmem1.caption = "" strdrive = "" List2.Clear Set rssave = Nothing cbokom.setfocus Private Sub Form_Activate() cbokom.setfocus Private Sub Form_Load() Call Koneksi LoadKom Private Sub txt_server_keypress(keyascii As Integer) 'On Error GoTo salah On Error Resume Dim wmiobjset As WbemScripting.SWbemObjectSet Dim wmiobj As WbemScripting.SWbemObject If KeyAscii = 13 Then Set rscari = New ADODB.Recordset rscari.open "Select * from hw where kom='" & txt_server.text_ & "'", CN, 1, 2 If Not rscari.eof = True Then stat1.caption = rscari!nmpro lblkec1.caption = rscari!kec srvmem1.caption = rscari!kapamem List2.AddItem rscari!hd stat1.caption = "" lblkec1.caption = "" srvmem1.caption = "" List2.Text = "" stat = "" Set wmiobjset = _ GetObject("winmgmts:{impersonationLevel=impersonate}//" & _ txt_server.text & "/root/cimv2").instancesof("win32_processor") stat.caption = LTrim(wmiobj.Name) '& vbcrlf & " Max Clock _ Speed : " & wmiobj.maxclockspeed & vbcrlf & "Utilization :_ " & wmiobj.loadpercentage & "%" & vbcrlf & " _ Family : " & wmiobj.family & vbcrlf lblkec.caption = wmiobj.maxclockspeed Set wmiobjset = Nothing Set wmiobj = Nothing disk = "" Set wmiobjset =_
12 GetObject("winmgmts:{impersonationLevel=impersonate}//" &_ txt_server.text & "/root/cimv2").execquery _ ("select DeviceID,FreeSpace,Size,Name from Win32_LogicalDisk _ where DriveType=3") List1.AddItem "DRIVE : " & wmiobj.deviceid &_ Format(wmiobj.Size / , "###,###,##")_ CInt(((wmiobj.Size) / 1024) / 1024) '& " " & " Total Free _ Space(MBytes) : " & CInt(((wmiobj.FreeSpace) / 1024) / 1024) &_ " Utilized(%) : " & CInt(((wmiobj.Size - wmiobj.freespace) * _ 100) / wmiobj.size) & vbcrlf & " MB" strdrive = strdrive & " " & wmiobj.deviceid & _ Format(wmiobj.Size / , "###,###,##") '& " " & " Total _ Free Space(MBytes) : " & CInt(((wmiobj.FreeSpace) / 1024) / 1024)_ & Utilized(%) : " & CInt(((wmiobj.Size - wmiobj.freespace) * 100) _ / wmiobj.size) Set wmiobjset = Nothing Set wmiobj = Nothing srvmem = "" Set wmiobjset =_ GetObject("winmgmts:{impersonationLevel=impersonate}//" &_ txt_server.text & "/root/cimv2").instancesof("win32_operatingsystem") srvmem.caption = Format(wmiobj.TotalVisibleMemorySize _ / 1024, "###.##") '& " Percentage Free(%) : " &_ CInt((wmiobj.FreePhysicalMemory * 100) /_ wmiobj.totalvisiblememorysize) & vbcrlf salah: If Err.Number <> 0 Then MsgBox "Device " & txt_server.text & " over load" 5. Scan VGA Dim DeviceFound() As Variant Dim DeviceList() As Variant Dim DeviCecount As Integer Dim rsupdate As Recordset Dim rscari As Recordset Dim ada As Boolean Dim strvga As String Private Sub cbokom_click() On Error Resume Set rscari = New ADODB.Recordset rscari.open "Select * from hw where kom='" & cbokom.text & "' and status='1'", CN, 1, 2 If Not rscari.eof = True Then ada = True lblvga.caption = rscari!vga lblvga.caption = "" ada = False
13 Set rscari = Nothing Private Sub Close_Click() Public Sub ScanH() Prompt.Show eilute = 0 ReDim Preserve DeviceList(40) ReDim Preserve DeviceFound(40) DeviceListLen = 16 DeviceList = Array("Win32_FloppyDrive", _ "Win32_DiskDrive", _ "Win32_CDROMDrive", _ "Win32_Processor", _ "Win32_PhysicalMemory", _ "Win32_SoundDevice", _ "Win32_SCSIController", _ "Win32_VideoController", _ "Win32_Keyboard", _ "Win32_PointingDevice", _ "Win32_NetworkAdapter", _ "Win32_POTSModem", _ "Win32_InfraredDevice", _ "Win32_PCMCIAController", _ "Win32_TapeDrive", _ "Win32_Printer", _ "Win32_PortableBattery") strserver = cbokom.text isconnect = ConnectTO("root\cimv2", strusername, strpassword, strserver, objservice) If Not isconnect Then MsgBox "Periksa koneksi jaringan" DeviCecount = 0 For i = 0 To DeviceListLen - 1 Set objdeviceset = objservice.instancesof(devicelist(i)) If objdeviceset.count <> 0 Then DeviceFound(DeviCecount) = DeviceList(i) DeviCecount = DeviCecount + 1 Call GetSndDevInfo(objService, DeviceList(i)) Prompt.Hide cmdsave.enabled = True Private Sub cmdclear_click() cbokom = "" lblvga1 = "" lblvga = "" lblket = ""
14 Private Sub cmdsave_click() Set rsupdate = New ADODB.Recordset rsupdate.open "Update hw set vga='" & strvga & "' where kom='" & cbokom.text & "'", CN, 1, 2 Set rsupdate = Nothing lblvga.caption = "" lblvga1.caption = "" lblket.caption = "" Sub LoadKom() Dim dom As IADsDomain Dim comp As IADsComputer Set dom = GetObject("WinNT://" & "server") dom.filter = Array("Computer") For Each comp In dom On Error Resume If Not UCase(comp.Name = "SERVER00") Then cbokom.additem comp.name Private Sub cmdscan_click() Call ScanH Private Sub Form_Activate() cmdsave.enabled = False Private Sub Form_Load() Call Koneksi eilute = 0 webusername = "" webpassword = "" isclient = False isclienta = False klientoid = 0 LoadKom Private Function ConnectTO(ByVal strnamespace, _ ByVal strusername, _ ByVal strpassword, _ ByRef strserver, _ ByRef objservice) On Error Resume Dim objlocator, objwshnet ConnectTO = True Set objlocator = CreateObject("WbemScripting.SWbemLocator") If Err.Number Then MsgBox "Error 0x" & CStr(Hex(Err.Number)) & _ " occurred in creating a locator object." If Err.Description <> "" Then MsgBox "Error description: " & Err.Description & "." Err.Clear
15 ConnectTO = False Exit Function Set objservice = objlocator.connectserver(strserver, strnamespace, _ strusername, strpassword) objservice.security_.impersonationlevel = 3 If Err.Number Then MsgBox "Error 0x" & CStr(Hex(Err.Number)) & _ " occurred in connecting to server " _ & strserver & "." If Err.Description <> "" Then MsgBox "Error description: " & Err.Description & "." Err.Clear ConnectTO = False End Function Private Sub GetSndDevInfo(objService, strwbemclass) On Error Resume ReDim Preserve odevicetype(100) ReDim Preserve odevicecaption(100) ReDim Preserve odeviceparam(100) ReDim Preserve odeviceinterf(100) Set objdeviceset = objservice.instancesof(strwbemclass) If objdeviceset.count <> 0 Then For Each Device In objdeviceset Select Case strwbemclass Case "Win32_VideoController" List1.AddItem Device.Caption & " " & Device.AdapterRAM / & vbtab & "" odevicetype(eilute) = "Video Controller" odevicecaption(eilute) = Device.Caption odeviceparam(eilute) = Device.AdapterRAM / odeviceinterf(eilute) = "" eilute = eilute + 1 strvga = strvga & Device.Caption & " " & Device.AdapterRAM / cmdsave.enabled = True End Select lblvga1.caption = strvga If lblvga.caption <> lblvga1.caption Then lblket.caption = "VGA Berubah" lblket.caption = "VGA Belum Berubah"
LISTING PROGRAM. 1. Menu Utama
LISTING PROGRAM 1. Menu Utama Option Explicit Dim rssms As Recordset Dim stopen As String * 1 Dim IDSms As Integer Dim rspesan As Recordset Dim Kode As String * 1 Dim rspaket As Recordset Dim NmPaket As
More informationLAMPIRAN 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 informationLAMPIRAN. Universitas Sumatera Utara
61 LAMPIRAN 61 Listing Program Form 1 ( Barang ) Dim CnSuzuya As ADODB.Connection Dim CommBar As ADODB.Command Dim rsbar As ADODB.Recordset Dim StrSql As String Dim psn As Byte Private Sub Form_Load()
More informationLAMPIRAN A : LISTING PROGRAM
LAMPIRAN A : LISTING PROGRAM 1. frmmenu.frm Dim CN As Connection Dim rshapus As Recordset Private Sub DfaHasil_Click() Call frmlap.cetak Private Sub Form_Load() Set CN = New ADODB.Connection CN.ConnectionString
More informationVisual Basic 6 Lecture 7. The List Box:
The List Box: The function of the List Box is to present a list of items where the user can click and select the items from the list or we can use the List Box control as a simple memory to save data.
More informationLampiran A : Listing Program
Lampiran A : Listing Program 1. Server Private Declare Sub InitCommonControls Lib "comctl32.dll" () Dim InData(10) As String, InLayar(10) As String, InTk(10) As String, NoRM As String Private Sub Command1_Click()
More information1. Menu Utama. Private Sub abt_click() frmabout.show End Sub. Private Sub dafabsenhar_click() frmdafabsensihar.show End Sub
1. Menu Utama Private Sub abt_click() frmabout.show Private Sub dafabsenhar_click() frmdafabsensihar.show Private Sub dafpeg_click() frmdafpegawai.show Private Sub dafuser_click() frmdaftaruser.show Private
More informationL A M P I R A N. Universitas Sumatera Utara
L A M P I R A N LISTING PROGRAM 1. Listing Pembuka Dim strado$ Dim n As Integer Private Sub Close_Click() End Private Sub Command1_Click() If Option1.Value = True Then Search.Show If Option2.Value = True
More informationLAMPIRAN FORM 1 Universitas Sumatera Universitas Utara
LAMPIRAN FORM 1 Private Sub Text2_KeyPress(KeyAscii As Integer) If KeyAscii = vbkeyreturn Then Set tbladministrator = New ADODB.Recordset With tbladministrator.open "SELECT * FROM Administrator WHERE userid
More informationPROGRAM 1: SIMPLE CALCULATOR
PROGRAM 1: SIMPLE CALCULATOR Option Explicit Dim operand1 As Double, operand2 As Double Dim op1 As Double, op2 As Double Dim operator As String Dim cleardisplay As Boolean Private Sub Cmdclear_Click()
More informationLAMPIRAN A: LISTING PROGRAM
LAMPIRAN A: LISTING PROGRAM 1. Form Home Private Sub Command1_Click() frmhome.hide frmnavigasi.show Private Sub Command2_Click() End Private Sub Timer1_Timer() If Picture1.Visible = False Then Picture1.Visible
More informationLISTING PROGRAM. 1. Form Login. Private Sub BATAL_Click() End End Sub
LISTING PROGRAM 1. Form Login Private Sub BATAL_Click() End Sub Bersih() USERNAME.Text = "" PASSWORD.Text = "" Private Sub Form_Load() Bersih Private Sub OK_Click() Sql = "select*from tbl_login where username='"
More informationLAMPIRAN : LISTING PROGRAM
LAMPIRAN : LISTING PROGRAM Kode Program Form Login Private Sub cbolevel_click() If cbolevel.text = "Pengguna" Then txtlogin.enabled = False txtpass.enabled = False txtlogin.visible = False txtpass.visible
More informationReverse Engineering & Memory patching
Reverse Engineering & Memory patching Author Richard Davy Email rd@secureyour.it Sage Line 50 Version 2010 Fully updated and patched http://www.sage.co.uk/ Attack tools Softice, IDA Pro, Excel 2003 After
More informationVISUAL BASIC SERVER INTERFACE CODE. Visual Basic 6 Graphical Interface 103. Visual Basic Module rtsscomm.bas Code.115
APPENDIX E VISUAL BASIC SERVER INTERFACE CODE Page E.1: E.2: E.3: E.4: E.5: Visual Basic 6 Graphical Interface 103 Visual Basic Form gyrofront.frm Code.....104 Visual Basic Module mydatatypes.bas Code..114
More informationEnd Sub. Sub Kunci() Dim i As Integer For i = 0 To 4 Txtfield(i).Locked = True Next i grddatagrid.enabled = False End Sub
Source Aplikasi Sistem Informasi Akademik GENERAL Dim db As Connection Dim WithEvents adoprimaryrs1 As Recordset Dim WithEvents adoprimaryrs2 As Recordset Dim WithEvents rscaridata As Recordset Dim cekid
More informationFunction: 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'... '... '... Module created: unknown '... Proj finished: March 21, 2012 '... '...
ThisWorkbook - 1 If g_bdebugmode Then '... Module created: unknown '... Proj finished: March 21, 2012 '************************* CLASS-LEVEL DECLARATIONS ************************** Option Explicit Option
More informationUniversitas Sumatera Utara
43 L A M P I R A N 44 Penulisan Kode Program Aplikasi Game Tetris A. Kode program aplikasi game tetris untuk form1 ( MainF.frm ) adalah sebagai berikut. Dim BANK As Database Dim RS As DAO.Recordset Private
More informationTech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson
Tech-Talk Using the PATROL Agent COM Server August 1999 Authored By: Eric Anderson Introduction Among the many new features of PATROL version 3.3, is support for Microsoft s Component Object Model (COM).
More informationLAMPIRAN A LISTING PROGRAM. Universitas Sumatera Utara
LAMPIRAN A LISTING PROGRAM LISTING PROGRAM MENU UTAMA Dim T As String Dim i Private Sub Dafsis_Click() Form5.Show Private Sub Dafwai_Click() Form5.Show Private Sub Dasis_Click() Form2.Show Private Sub
More informationL A M P I R A N. Universitas Sumatera Utara
L A M P I R A N Form 1 '====================================================== 'SUHU FLUIDA : ' Suhu 10 C Const a1 = 0.9998 Const B1 = 1.307 Const C1 = 0.01251 ' Suhu 20 C Const a2 = 0.9983 Const B2 =
More informationLISTING PROGRAM. Form Splash
LISTING PROGRAM Form Splash Private Sub Form_Load() lblversion.caption = "Version " & App.Major & "." & App.Minor & "." & App.Revision lblproductname.caption = App.Title lblcopyright.caption = App.LegalCopyright
More informationNATIONAL DIPLOMA IN COMPUTER TECHNOLOGY
UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY OOBASIC/VISUAL BASIC PROGRAMMING COURSE CODE: COM 211 YEAR I SEMESTER II PRACTICAL
More informationA Back-End Link Checker for Your Access Database
A Back-End for Your Access Database Published: 30 September 2018 Author: Martin Green Screenshots: Access 2016, Windows 10 For Access Versions: 2007, 2010, 2013, 2016 Working with Split Databases When
More informationAn 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 informationNHS e-referral Service
Extracting Advice and Guidance data Published July 2017 Copyright 2016 Health and Social Care Information Centre. The Health and Social Care Information Centre is a non-departmental body created by statute,
More informationUniversitas Sumatera Utara
Option Explicit DefLng A-Z '--------------------------------------------------------------------------------------------- #Const Test = False '---------------------------------------------------------------------------------------------
More informationVisual Basic ,
Visual Basic 6.0..!"# !"# $#%$$"& ( ( 6.0) 2 $, -&, - 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm. 2/59 !"# $#%$$"& ( ( 6.0) 3 $, -&, - 3/59 !"# $#%$$"&
More informationBulk Transfers Using Visual Basic 6.0
Revision 0.BMay 11, 2001 Introduction This document describes Bulk_XferVB, a small Windows application that uses Bulk Transfers to move data in and out of EZ-USB / EZ-USB FX devices using the EZ-USB General
More informationDroidBasic Syntax Contents
DroidBasic Syntax Contents DroidBasic Syntax...1 First Edition...3 Conventions Used In This Book / Way Of Writing...3 DroidBasic-Syntax...3 Variable...4 Declaration...4 Dim...4 Public...4 Private...4 Static...4
More informationHow to modify convert task to use variable value from source file in output file name
Page 1 of 6 How to modify convert task to use variable value from source file in output file name The default SolidWorks convert task add-in does not have support for extracting variable values from the
More informationRevisions: jee Initial jee SW Version 1.1 now includes the leave type Other
Memorandum To: From: File John Effland Date: 2005-03-10 Revisions: 2005-03-10 jee Initial 2006-02-24 jee SW Version 1.1 now includes the leave type Other Subject: Leave Calendar Program Architecture and
More informationTutorial, 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 informationDATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)
Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA
More informationFile Organization and Management
1 UNESCO-NIGERIA TECHNICAL & VOCATIONAL EDUCATION REVITALISATION PROJECT-PHASE II NATIONAL DIPLOMA IN COMPUTER TECHNOLOGY File Organization and Management YEAR II- SE MESTER I PRACTICAL Version 1: December
More informationEnableBasic. The Enable Basic language. Modified by Admin on Sep 13, Parent page: Scripting Languages
EnableBasic Old Content - visit altium.com/documentation Modified by Admin on Sep 13, 2017 Parent page: Scripting Languages This Enable Basic Reference provides an overview of the structure of scripts
More informationVisual Basic , ,. Caption Hello, On Off. * + +, -. 1-Arrow, , 2- Cross. - project1.vbp, 4-form1.frm.
Visual Basic 6.0 1.,. Caption Hello, On Off. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...
More information22. VB Programming Fundamentals Data Access with Data Objects
22. VB Programming Fundamentals Data Access with Data Objects 22.1 Data Access Object MS Data Access Object (DAO) enables you to use a programming language to access and manipulate data in local or remote
More informationProgramming with visual Basic:
Programming with visual Basic: 1-Introdution to Visual Basics 2-Forms and Control tools. 3-Project explorer, properties and events. 4-make project, save it and its applications. 5- Files projects and exercises.
More informationLISTING PROGRAM. Source Code Tampilan Awal. Source Code Menu Utama
LISTING PROGRAM Source Code Tampilan Awal Private Sub cmdkeluar_click() MsgBox "Terima Kasih Telah Membuka Program Ini.", vbinformation, "Quick IP Ver 1.0" End Private Sub cmdmasuk_click() MenuUtama.Show
More informationContents Introduction Getting Started Visual Basic Form Configuration Entering the VB Code
Your comments and suggestions on the operation of this software are welcome. Please address them to: ICONICS 100 Foxborough Blvd. Foxborough, MA 02035 Tel: 508-543-8600 Fax: 508-543-1503 E-mail: support@iconics.com
More informationVBSCRIPT - INTERVIEW QUESTIONS
VBSCRIPT - INTERVIEW QUESTIONS http://www.tutorialspoint.com/vbscript/vbscript_interview_questions.htm Copyright tutorialspoint.com Dear readers, these VBScript Interview Questions have been designed specially
More informationPROGRAM BASCOM AVR. ' inisialisasi '
PROGRAM BASCOM AVR '--------------------------------------- inisialisasi '----------------------- $prog &HFF, &HC4, &HD9, &H00 ' generated. Take care that the chip supports all fuse bytes. $regfile = "m8def.dat"
More informationVisual Basic ,
Visual Basic 6.0 1.,. Caption Hello, On O ff. * + +, -. 1-Arrow, + - 4 +, 2- Cross. - project1.vbp, 4-form1.frm...!"# 2/59 3...
More informationPROGRAMMING TECHNIQUES
Subclassing? Class modules aren t just for business rules. by Karl E. Peterson f all the innovations Visual Basic 4.0 introduced, the most revolutionary is probably the new Class module. By now, you ve
More informationControl Properties. Example: Program to change background color
Control Properties Before writing an event procedure for the control to response to an event, you have to set certain properties for the control to determine its appearance and how will it work with the
More informationC:\MasterPageWeb\HAPR\docu\HAPR_VB6_version15sept06.rtf 19/10/08. HARP_VB projet en VB6
HARP_VB projet en VB6 Option Explicit Dim Value As Integer Dim i As Integer Dim il As Long Dim LL, L1S, L250µS, L500µS, L1mS, L2mS, L5mS, L10mS As Single Dim offsetdepart As Long Dim police(256, 8) As
More informationDIGIBRANDING SIGNATURE SCRIPT Stepped Out
DIGIBRANDING SIGNATURE SCRIPT Stepped Out Here I walked the script and added some info on setup variables. Pay Attention to notes and items in RED START ** Declare some constants 'On the next line edit
More information'... '... '... Developer: William H. White (consultant) '... With: TEKsystems Inc. '... For: AIG. Financial Information Systems
ThisWorkbook - 1 Developer: William H. White (consultant) With: TEKsystems Inc. www.teksystems.com For: AIG Financial Information Systems 1 NY Plaza, 15th floor Current contact: william.white@aig.com (212)
More informationPerceptive Intelligent Capture
Perceptive Intelligent Capture Scripting Guide Version: 5.7.x Written by: Product Development, R&D Date: September 2016 2016 Lexmark. All rights reserved. Lexmark is a trademark of Lexmark International
More information11-1 11-1.1 11-1.2 11-2 11-2.1 11-2.2 108 II 11-1 Timer 11-1.1 Windows 11-1 11-1 Visual Basic Animation Animation 11 109 Animation Animation RLE AVI AVI 11-2 Visual Basic Animation / Microsoft Windows
More informationNOTES: Procedures (module 15)
Computer Science 110 NAME: NOTES: Procedures (module 15) Introduction to Procedures When you use a top-down, structured program design, you take a problem, analyze it to determine what the outcome should
More informationPlease answer questions in the space provided. Question point values are shown in parentheses.
IS 320 Spring 99 Page 1 Please answer questions in the space provided. Question point values are shown in parentheses. 1. (15) Assume you have the following variable declarations and assignments: Dim A
More informationProject : Version : Date : 11/04/2016 Author : Freeware, for evaluation and non-commercial use only Company : Comments:
Lampiran 1 Listing program dari seluruh sistem. /***************************************************** This program was produced by the CodeWizardAVR V2.04.9 Evaluation Automatic Program Generator Copyright
More informationADVANCED ALGORITHMS TABLE OF CONTENTS
ADVANCED ALGORITHMS TABLE OF CONTENTS ADVANCED ALGORITHMS TABLE OF CONTENTS...1 SOLVING A LARGE PROBLEM BY SPLITTING IT INTO SEVERAL SMALLER SUB-PROBLEMS CASE STUDY: THE DOOMSDAY ALGORITHM... INTRODUCTION
More informationUnit 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 informationLAMPIRAN. Universitas Sumatera Utara
67 LAMPIRAN Lampiran A-1 Listing Program Visual Basic Private Sub mn_isidata_click() frm_isi_data.show Me.Hide Private Sub mn_koneksiport_click() frm_koneksi_port.show Me.Hide Private Sub mn_tentang_click()
More informationRooftop Industries Pvt. Ltd.
Rooftop Industries Pvt. Ltd. Production and inventory management system A level Computing Project Shritesh Bhattarai Little Angels' College 1 Table of Contents Definition, investigation and analysis...
More informationPerceptive Intelligent Capture
Perceptive Intelligent Capture Scripting Guide Version: 5.6.x Written by: Product Knowledge, R&D Date: September 2016 2015 Perceptive Software. All rights reserved. Lexmark and Perceptive Software are
More informationL A M P I R A N. Universitas Sumatera Utara
L A M P I R A N A TAMPILAN PROGRAM 1. Form Login 2. Form Menu Utama 3. Form Entry Data Mahasiswa Baru 4. Form Kasir 5. Form Transaksi 6. Laporan cetak mahasiswa 6. Laporan cetak mahasiswa 7. Laporan cetak
More informationInformation Hiding In Images Using Randomly Selected Points
Republic of Iraq Ministry Of Higher Education And Scientific Research University Of Baghdad College Of Science Department Of Computer Science Information Hiding In Images Using Randomly Selected Points
More informationAdvanced Topics in Automated Test Scripting
*534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 253 Part Four Advanced Topics in Automated Test Scripting *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 254 *534_CH08_CMP4.qxd 7/3/01 1:10 PM Page 255 CHAPTER 8 Introduction
More informationChapter 14 Sequential Files
CHAPTER 14 SEQUENTIAL FILES 1 Chapter 14 Sequential Files (Main Page) 14.1 DirListBox, FileListBox, and DriveListBox toolbox icons. 14.2 Some DirListBox, FileListBox, and DriveListBox common properties
More informationThe name of this type library is LabelManager2 with the TK Labeling Interface reference.
Page 1 of 10 What is an ActiveX object? ActiveX objects support the COM (Component Object Model) - Microsoft technology. An ActiveX component is an application or library that is able to create one or
More informationTABLE OF CONTENTS ADVANCED VISUAL BASIC
TABLE OF CONTENTS ADVANCED VISUAL BASIC TABLE OF CONTENTS ADVANCED VISUAL BASIC...1 REVIEW OF IMPORTANT PROGRAMMING CONCEPTS...4 OVERVIEW...4 EXCERPT FROM WIKIPEDIA ARTICLE ON CAMELCASE...5 REVIEW QUESTIONS...6
More informationIS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses.
IS 320 Spring 96 Page 1 Please use your own paper to answer the following questions. Point values are shown in parentheses. 1. (10) Consider the following segment of code: If txtansicode.text < "0" Or
More informationHow to detect the CPU and OS Architecture
How to detect the CPU and OS Architecture The client I am working for now, has both XP and Windows 7. XP is 32 bits and Windows 7 is 64 bits. To avoid that I have to make the packages twice, I make both
More informationIDENTIFYING UNIQUE VALUES IN AN ARRAY OR RANGE (VBA)
Date: 20/11/2012 Procedure: Identifying Unique Values In An Array Or Range (VBA) Source: LINK Permalink: LINK Created by: HeelpBook Staff Document Version: 1.0 IDENTIFYING UNIQUE VALUES IN AN ARRAY OR
More informationRespond to Errors and Unexpected Conditions
Respond to Errors and Unexpected Conditions Callahan Chapter 7 Practice Time Artie s List Loose Ends ensure that frmrestaurant s module has Option Explicit modify tblrestaurant field sizes Restaurant -
More informationOUR company has recognized that forms design is
User Interface Standards for Forms Smart Access 2000 2002 Dennis Schumaker User interface standards are critical for both programmer and end-user productivity. An important part of any application is Application
More informationPropose a mathematical formula to verify the authenticity of any product of the integers using a scale (9) and verified using computer
(9) Propose a mathematical formula to verify the authenticity of any product of the integers using a scale (9) and verified using computer. (9). Abstract This research aims to propose a mathematical formula
More informationWORKING WITH WINDOWS SHELL
Chapter 11 Scripting Quicktest Professional Page 1 WORKING WITH WINDOWS SHELL32... 3 MANAGING DISK QUOTAS ON THE NTFS FILE SYSTEM... 4 MICROSOFT.DIDISKQUOTAUSER OBJECT... 4 DIDiskQuotaUser.AccountContainerName
More informationSyntax. Table of Contents
Syntax Table of Contents First Edition2 Conventions Used In This Book / Way Of Writing..2 KBasic-Syntax..3 Variable.4 Declaration4 Dim4 Public..4 Private.4 Protected.4 Static.4 As..4 Assignment4 User Defined
More informationLISTING 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 informationVisual Basic Visual Basic
9-1 9-2 9-1.1 9-1.2 9-1.3 9-2.1 9-2.2 9-2.3 9-3 Visual Basic 9-3.1 Visual Basic 9-3.2 9-4 9-4.1 9-4.2 2 II 9-1 GoTo http://noi.stinfo.net/ xbqj/xbqj_12.htm structured programming 9-1 9-1 a goto b c goto
More informationLISTING PROGRAM. 1. Form Menu Utama. Universitas Sumatera Utara
LISTING PROGRAM 1. Form Menu Utama Dim LenTemp As Integer Dim SrtTemp As String Dim n As Integer Private Sub Form_Load() Call Tengah(Me) lhsysmenu = GetSystemMenu(Me.hwnd, False) lretval = RemoveMenu(lhSysMenu,
More informationd2vbaref.doc Page 1 of 22 05/11/02 14:21
Database Design 2 1. VBA or Macros?... 2 1.1 Advantages of VBA:... 2 1.2 When to use macros... 3 1.3 From here...... 3 2. A simple event procedure... 4 2.1 The code explained... 4 2.2 How does the error
More informationMr.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 information2-26 Learn Visual Basic 6.0
2-26 Learn Visual Basic 6.0 cmdcompute Click Event: Private Sub cmdcompute_click() Dim Mean As Single Dim StdDev As Single txtinput.setfocus Make sure there are at least two values If NumValues < 2 Then
More informationAdvanced VBA Techniques. Alison Balter InfoTech Services Group
Advanced VBA Techniques Alison Balter InfoTech Services Group About Me Started InfoTech Services Group in 1990 Wrote first book for SAMS on Access 2.0 Have written 15 books on Access and SQL Server Have
More information20. VB Programming Fundamentals Variables and Procedures
20. VB Programming Fundamentals Variables and Procedures 20.1 Variables and Constants VB, like other programming languages, uses variables for storing values. Variables have a name and a data type. Array
More informationHow-To Guide. SigIDp (With Microsoft Access) Demo. Copyright Topaz Systems Inc. All rights reserved.
How-To Guide SigIDp (With Microsoft Access) Demo Copyright Topaz Systems Inc. All rights reserved. For Topaz Systems, Inc. trademarks and patents, visit www.topazsystems.com/legal. Table of Contents Overview...
More informationRemainder Cordial Labeling of Graphs
Journal of Algorithms and Computation journal homepage: http://jac.ut.ac.ir Remainder Cordial Labeling of Graphs R. Ponraj 1, K. Annathurai and R. Kala 3 1 Department of Mathematics, Sri Paramakalyani
More informationIntroduction to Microsoft Message Queuing Services (MSMQ)
3 Introduction to Microsoft Message Queuing Services (MSMQ) Distributed applications run on two or more computers. They communicate with one another by passing data over machine boundaries through appropriate
More informationTIPS & TRICKS SERIES
TIPS & TRICKS SERIES TIPS & TRICKS OFFICE XP MACROS C o m p i l e d b y MUHAMMAD AJMAL BEIG NAZ TIPS & TRICKS OFFICE XP MACROS P a g e 1 CONTENTS Table of Contents OFFICE XP MACROS 3 ABOUT MACROS 3 MICROSOFT
More informationPowershell. Functions, Parameters, User Input, Providers, WMI Objects COMP2101 Fall 2017
Powershell Functions, Parameters, User Input, Providers, WMI Objects COMP2101 Fall 2017 Script Parameters Scripts can have parameters Use the param statement as the first line in your script to add parameters
More informationPrivate Sub Command2_Click() End End Sub. Private Sub Command3_Click() frmchangepassword.show End Sub. Private Sub Form_Activate() check_db End Sub
Private Sub Command1_Click() On Error Resume If rs.state = adstateopen Then rs.close rs.open "select * from login where UserName='" & txtusername & "' And Log_Password='" & txtpassword & "'", conn, 1,
More informationHP Client Automation. Reporting Server. Installation and Configuration Guide. for the Windows operating system. Software Release Version: 7.
HP Client Automation Reporting Server for the Windows operating system Software Release Version: 7.80 Installation and Configuration Guide Manufacturing Part Number: None Document Release Date: November
More informationShibboleth Best Practice Guide Guidance for Installing and Running Shibboleth on Windows
Shibboleth Best Practice Guide Guidance for Installing and Running Shibboleth on Windows Colin Bruce Coventry University 18 September 2008 1 Contents Introduction...3 Installation...3 Research...3 Virtualisation...3
More informationبسن اهلل الزمحن الزحين اكواد الفيجوال بيسك تأليف : أمحد صادق
بسن اهلل الزمحن الزحين اكواد الفيجوال بيسك تأليف : أمحد صادق مقذمح : يضم هذا انكرية انصغيز اكثز اكىاد انثيسك اهميح تانىسثح نهمثرذئيه وانهغاخ انثسيطح انر قذ يصعة انحصىل عهيها نرشرد مىضىعاذها وقذ قمد تجمعها
More informationCreating a Dynamo with VBA Scripts
Creating a Dynamo with VBA Scripts Creating a Dynamo with VBA 1 Table of Contents 1. CREATING A DYNAMO WITH VBA... 3 1.1 NAMING CONVENTIONS FOR DYNAMO OBJECTS...3 1.2 CREATING A DYNAMO...4 1.3 DESIGNING
More informationProgramming Concepts and Skills. Arrays continued and Functions
Programming Concepts and Skills Arrays continued and Functions Fixed-Size vs. Dynamic Arrays A fixed-size array has a limited number of spots you can place information in. Dim strcdrack(0 to 2) As String
More informationRandom numbers program
Fundamentals of Computer Science 2010-2011 Laboratory 11 Vectors (1) Objectives: Acquire abilities in the use of vectors (one-dimensional arrays) Get to know the generation of pseudo-random numbers Lower
More informationTechnical Note #70. GE PMCS App Note 70 Page 1 of 9. Broadcast Time Syncronization Utility
GE PMCS App Note 70 Page 1 of 9 Technical Note #70 Broadcast Time Syncronization Utility Home Product Information Case Studies FAQs Download Area 'Virtual' Demo Glossary of Terms Links Contact Us Search
More informationLab Sheet 4.doc. Visual Basic. Lab Sheet 4: Non Object-Oriented Programming Practice
Visual Basic Lab Sheet 4: Non Object-Oriented Programming Practice This lab sheet builds on the basic programming you have done so far, bringing elements of file handling, data structuring and information
More informationHELP - VB TIPS. ANIMATE AN IMAGE BOX Insert a module. In this module, create a global variable: Global x
HELP - VB TIPS Load an image to an image box from a certain folder If you use this method, won t work on N:\ To load an image to a image control Image1.Picture = LoadPicture("H:\MyVBfolder\stop.gif") Load
More informationLoop Structures. Loop Structures. Algorithm to record 5 TV programmes. Recall Structured Programming..3 basic control structures.
Loop Structures Recall Structured Programming..3 basic control structures Sequence Input -> Process -> Output Selection IF ENDIF SELECT CASE END SELECT Loop Structures DO WHILE LOOP DO LOOP UNTIL FOR NEXT
More informationLevel 3 Computing Year 2 Lecturer: Phil Smith
Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the
More information1) Identify the recording mode, by which you can record the non-standard object in QTP
1) Identify the recording mode, by which you can record the non-standard object in QTP A) Standard recording B) Analog recording C) Low level recording D) None 2) By default, how many no of tables would
More information