<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6134872469536066566</id><updated>2012-02-17T08:10:51.994+07:00</updated><category term='Visual Basic'/><category term='Microcontroller'/><category term='Assembler'/><category term='Produk'/><category term='Belajar VB'/><category term='Jaringan'/><category term='Website'/><category term='General Ledger'/><category term='Programming'/><category term='Article'/><title type='text'>Thomas IPT</title><subtitle type='html'>Design Development Management Information System And Accounting Operations</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-1147665304372245160</id><published>2011-03-29T22:25:00.000+07:00</published><updated>2011-03-29T22:25:00.482+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Read Write Registry</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;Attribute VB_Name = "mdlRegistry"&lt;br /&gt;Option Explicit&lt;br /&gt;&lt;br /&gt;Global Const REG_SZ As Long = 1&lt;br /&gt;Global Const REG_DWORD As Long = 4&lt;br /&gt;&lt;br /&gt;Global Const HKEY_CLASSES_ROOT = &amp;H80000000&lt;br /&gt;Global Const HKEY_CURRENT_USER = &amp;H80000001&lt;br /&gt;Global Const HKEY_LOCAL_MACHINE = &amp;H80000002&lt;br /&gt;Global Const HKEY_USERS = &amp;H80000003&lt;br /&gt;&lt;br /&gt;Global Const ERROR_NONE = 0&lt;br /&gt;Global Const ERROR_BADDB = 1&lt;br /&gt;Global Const ERROR_BADKEY = 2&lt;br /&gt;Global Const ERROR_CANTOPEN = 3&lt;br /&gt;Global Const ERROR_CANTREAD = 4&lt;br /&gt;Global Const ERROR_CANTWRITE = 5&lt;br /&gt;Global Const ERROR_OUTOFMEMORY = 6&lt;br /&gt;Global Const ERROR_INVALID_PARAMETER = 7&lt;br /&gt;Global Const ERROR_ACCESS_DENIED = 8&lt;br /&gt;Global Const ERROR_INVALID_PARAMETERS = 87&lt;br /&gt;Global Const ERROR_NO_MORE_ITEMS = 259&lt;br /&gt;&lt;br /&gt;Global Const KEY_ALL_ACCESS = &amp;H3F&lt;br /&gt;&lt;br /&gt;Global Const REG_OPTION_NON_VOLATILE = 0&lt;br /&gt;&lt;br /&gt;Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hKey As Long) As Long&lt;br /&gt;Declare Function RegCreateKeyEx Lib "advapi32.dll" Alias "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, &lt;br /&gt;&lt;br /&gt;ByVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions As Long, ByVal samDesired As Long, ByVal &lt;br /&gt;&lt;br /&gt;lpSecurityAttributes As Long, phkResult As Long, lpdwDisposition As Long) As Long&lt;br /&gt;Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal &lt;br /&gt;&lt;br /&gt;ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long&lt;br /&gt;Declare Function RegQueryValueExString Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As &lt;br /&gt;&lt;br /&gt;String, ByVal lpReserved As Long, lpType As Long, ByVal lpData As String, lpcbData As Long) As Long&lt;br /&gt;Declare Function RegQueryValueExLong Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As &lt;br /&gt;&lt;br /&gt;String, ByVal lpReserved As Long, lpType As Long, lpData As Long, lpcbData As Long) As Long&lt;br /&gt;Declare Function RegQueryValueExNULL Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hKey As Long, ByVal lpValueName As &lt;br /&gt;&lt;br /&gt;String, ByVal lpReserved As Long, lpType As Long, ByVal lpData As Long, lpcbData As Long) As Long&lt;br /&gt;Declare Function RegSetValueExString Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As &lt;br /&gt;&lt;br /&gt;String, ByVal Reserved As Long, ByVal dwType As Long, ByVal lpValue As String, ByVal cbData As Long) As Long&lt;br /&gt;Declare Function RegSetValueExLong Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hKey As Long, ByVal lpValueName As &lt;br /&gt;&lt;br /&gt;String, ByVal Reserved As Long, ByVal dwType As Long, lpValue As Long, ByVal cbData As Long) As Long&lt;br /&gt;Private Declare Function RegDeleteKey&amp; Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As &lt;br /&gt;&lt;br /&gt;String)&lt;br /&gt;Private Declare Function RegDeleteValue&amp; Lib "advapi32.dll" Alias "RegDeleteValueA" (ByVal hKey As Long, ByVal lpValueName As &lt;br /&gt;&lt;br /&gt;String)&lt;br /&gt;&lt;br /&gt;Public Function DeleteKey(lPredefinedKey As Long, sKeyName As String)&lt;br /&gt;' Description:&lt;br /&gt;'   This Function will Delete a key&lt;br /&gt;'&lt;br /&gt;' Syntax:&lt;br /&gt;'   DeleteKey Location, KeyName&lt;br /&gt;'&lt;br /&gt;'   Location must equal HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_lOCAL_MACHINE&lt;br /&gt;'   , HKEY_USERS&lt;br /&gt;'&lt;br /&gt;'   KeyName is name of the key you wish to delete, it may include subkeys (example "Key1\SubKey1")&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    Dim lRetVal As Long         'result of the SetValueEx function&lt;br /&gt;    Dim hKey As Long         'handle of open key&lt;br /&gt;    &lt;br /&gt;    'open the specified key&lt;br /&gt;    &lt;br /&gt;    'lRetVal = RegOpenKeyEx(lPredefinedKey, sKeyName, 0, KEY_ALL_ACCESS, hKey)&lt;br /&gt;&lt;br /&gt;    lRetVal = RegDeleteKey(lPredefinedKey, sKeyName)&lt;br /&gt;    'RegCloseKey (hKey)&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function DeleteValue(lPredefinedKey As Long, sKeyName As String, sValueName As String)&lt;br /&gt;' Description:&lt;br /&gt;'   This Function will delete a value&lt;br /&gt;'&lt;br /&gt;' Syntax:&lt;br /&gt;'   DeleteValue Location, KeyName, ValueName&lt;br /&gt;'&lt;br /&gt;'   Location must equal HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_lOCAL_MACHINE&lt;br /&gt;'   , HKEY_USERS&lt;br /&gt;'&lt;br /&gt;'   KeyName is the name of the key that the value you wish to delete is in&lt;br /&gt;'   , it may include subkeys (example "Key1\SubKey1")&lt;br /&gt;'&lt;br /&gt;'   ValueName is the name of value you wish to delete&lt;br /&gt;&lt;br /&gt;       Dim lRetVal As Long         'result of the SetValueEx function&lt;br /&gt;       Dim hKey As Long         'handle of open key&lt;br /&gt;&lt;br /&gt;       'open the specified key&lt;br /&gt;&lt;br /&gt;       lRetVal = RegOpenKeyEx(lPredefinedKey, sKeyName, 0, KEY_ALL_ACCESS, hKey)&lt;br /&gt;       lRetVal = RegDeleteValue(hKey, sValueName)&lt;br /&gt;       RegCloseKey (hKey)&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function SetValueEx(ByVal hKey As Long, sValueName As String, lType As Long, vValue As Variant) As Long&lt;br /&gt;    Dim lValue As Long&lt;br /&gt;    Dim sValue As String&lt;br /&gt;&lt;br /&gt;    Select Case lType&lt;br /&gt;        Case REG_SZ&lt;br /&gt;            sValue = vValue&lt;br /&gt;            SetValueEx = RegSetValueExString(hKey, sValueName, 0&amp;, lType, sValue, Len(sValue))&lt;br /&gt;        Case REG_DWORD&lt;br /&gt;            lValue = vValue&lt;br /&gt;            SetValueEx = RegSetValueExLong(hKey, sValueName, 0&amp;, lType, lValue, 4)&lt;br /&gt;        End Select&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Function QueryValueEx(ByVal lhKey As Long, ByVal szValueName As String, vValue As Variant) As Long&lt;br /&gt;    Dim cch As Long&lt;br /&gt;    Dim lrc As Long&lt;br /&gt;    Dim lType As Long&lt;br /&gt;    Dim lValue As Long&lt;br /&gt;    Dim sValue As String&lt;br /&gt;&lt;br /&gt;    On Error GoTo QueryValueExError&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    ' Determine the size and type of data to be read&lt;br /&gt;&lt;br /&gt;    lrc = RegQueryValueExNULL(lhKey, szValueName, 0&amp;, lType, 0&amp;, cch)&lt;br /&gt;    If lrc &lt;&gt; ERROR_NONE Then Error 5&lt;br /&gt;&lt;br /&gt;    Select Case lType&lt;br /&gt;        ' For strings&lt;br /&gt;        Case REG_SZ:&lt;br /&gt;            sValue = String(cch, 0)&lt;br /&gt;            lrc = RegQueryValueExString(lhKey, szValueName, 0&amp;, lType, sValue, cch)&lt;br /&gt;            If lrc = ERROR_NONE Then&lt;br /&gt;                vValue = Left$(sValue, cch)&lt;br /&gt;            Else&lt;br /&gt;                vValue = Empty&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;        ' For DWORDS&lt;br /&gt;        Case REG_DWORD:&lt;br /&gt;            lrc = RegQueryValueExLong(lhKey, szValueName, 0&amp;, lType, lValue, cch)&lt;br /&gt;            If lrc = ERROR_NONE Then vValue = lValue&lt;br /&gt;        Case Else&lt;br /&gt;            'all other data types not supported&lt;br /&gt;            lrc = -1&lt;br /&gt;    End Select&lt;br /&gt;&lt;br /&gt;QueryValueExExit:&lt;br /&gt;&lt;br /&gt;    QueryValueEx = lrc&lt;br /&gt;    Exit Function&lt;br /&gt;&lt;br /&gt;QueryValueExError:&lt;br /&gt;&lt;br /&gt;    Resume QueryValueExExit&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;Public Function CreateNewKey(lPredefinedKey As Long, sNewKeyName As String)&lt;br /&gt;' Description:&lt;br /&gt;'   This Function will create a new key&lt;br /&gt;'&lt;br /&gt;' Syntax:&lt;br /&gt;'   QueryValue Location, KeyName&lt;br /&gt;'&lt;br /&gt;'   Location must equal HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_lOCAL_MACHINE&lt;br /&gt;'   , HKEY_USERS&lt;br /&gt;'&lt;br /&gt;'   KeyName is name of the key you wish to create, it may include subkeys (example "Key1\SubKey1")&lt;br /&gt;&lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;    Dim hNewKey As Long         'handle to the new key&lt;br /&gt;    Dim lRetVal As Long         'result of the RegCreateKeyEx function&lt;br /&gt;    &lt;br /&gt;    lRetVal = RegCreateKeyEx(lPredefinedKey, sNewKeyName, 0&amp;, vbNullString, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, 0&amp;, &lt;br /&gt;&lt;br /&gt;hNewKey, lRetVal)&lt;br /&gt;    RegCloseKey (hNewKey)&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub Main()&lt;br /&gt;    'Examples of each function:&lt;br /&gt;    'CreateNewKey HKEY_CURRENT_USER, "TestKey\SubKey1\SubKey2"&lt;br /&gt;    'SetKeyValue HKEY_CURRENT_USER, "TestKey\SubKey1", "Test", "Testing, Testing", REG_SZ&lt;br /&gt;    'MsgBox QueryValue(HKEY_CURRENT_USER, "TestKey\SubKey1", "Test")&lt;br /&gt;    'DeleteKey HKEY_CURRENT_USER, "TestKey\SubKey1\SubKey2"&lt;br /&gt;    'DeleteValue HKEY_CURRENT_USER, "TestKey\SubKey1", "Test"&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Function SetKeyValue(lPredefinedKey As Long, sKeyName As String, sValueName As String, vValueSetting As Variant, &lt;br /&gt;&lt;br /&gt;lValueType As Long)&lt;br /&gt;' Description:&lt;br /&gt;'   This Function will set the data field of a value&lt;br /&gt;'&lt;br /&gt;' Syntax:&lt;br /&gt;'   QueryValue Location, KeyName, ValueName, ValueSetting, ValueType&lt;br /&gt;'&lt;br /&gt;'   Location must equal HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_lOCAL_MACHINE&lt;br /&gt;'   , HKEY_USERS&lt;br /&gt;'&lt;br /&gt;'   KeyName is the key that the value is under (example: "Key1\SubKey1")&lt;br /&gt;'&lt;br /&gt;'   ValueName is the name of the value you want create, or set the value of (example: "ValueTest")&lt;br /&gt;'&lt;br /&gt;'   ValueSetting is what you want the value to equal&lt;br /&gt;'&lt;br /&gt;'   ValueType must equal either REG_SZ (a string) Or REG_DWORD (an integer)&lt;br /&gt;&lt;br /&gt;       Dim lRetVal As Long         'result of the SetValueEx function&lt;br /&gt;       Dim hKey As Long         'handle of open key&lt;br /&gt;&lt;br /&gt;       'open the specified key&lt;br /&gt;&lt;br /&gt;       lRetVal = RegOpenKeyEx(lPredefinedKey, sKeyName, 0, KEY_ALL_ACCESS, hKey)&lt;br /&gt;       lRetVal = SetValueEx(hKey, sValueName, lValueType, vValueSetting)&lt;br /&gt;       RegCloseKey (hKey)&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function QueryValue(lPredefinedKey As Long, sKeyName As String, sValueName As String)&lt;br /&gt;' Description:&lt;br /&gt;'   This Function will return the data field of a value&lt;br /&gt;'&lt;br /&gt;' Syntax:&lt;br /&gt;'   Variable = QueryValue(Location, KeyName, ValueName)&lt;br /&gt;'&lt;br /&gt;'   Location must equal HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_lOCAL_MACHINE&lt;br /&gt;'   , HKEY_USERS&lt;br /&gt;'&lt;br /&gt;'   KeyName is the key that the value is under (example: "Software\Microsoft\Windows\CurrentVersion\Explorer")&lt;br /&gt;'&lt;br /&gt;'   ValueName is the name of the value you want to access (example: "link")&lt;br /&gt;&lt;br /&gt;       Dim lRetVal As Long         'result of the API functions&lt;br /&gt;       Dim hKey As Long         'handle of opened key&lt;br /&gt;       Dim vValue As Variant      'setting of queried value&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       lRetVal = RegOpenKeyEx(lPredefinedKey, sKeyName, 0, KEY_ALL_ACCESS, hKey)&lt;br /&gt;       lRetVal = QueryValueEx(hKey, sValueName, vValue)&lt;br /&gt;       'MsgBox vValue&lt;br /&gt;       QueryValue = vValue&lt;br /&gt;       RegCloseKey (hKey)&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-1147665304372245160?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/1147665304372245160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/read-write-registry.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/1147665304372245160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/1147665304372245160'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/read-write-registry.html' title='Read Write Registry'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8378981659002947521</id><published>2011-03-28T22:24:00.000+07:00</published><updated>2011-03-28T22:24:01.052+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Print String</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt; '//Place This Code in a Module&lt;br /&gt;&lt;br /&gt;Public PrinterPresent As Boolean&lt;br /&gt;'Print module v3&lt;br /&gt;'sub PrintString&lt;br /&gt;'PrintString Text, leftfmargin, rightmargin, topmargin, bottommargin&lt;br /&gt;'margins are long values 0-100 percent&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option Explicit&lt;br /&gt;&lt;br /&gt;Public Function PrintString(printVar As String, leftMargePrcnt As Long, rightMargePrcnt As Long, topMargePrcnt As Long, bottomMargePrcnt As Long)&lt;br /&gt;Dim lMarge As Long&lt;br /&gt;Dim rMarge As Long&lt;br /&gt;Dim tMarge As Long&lt;br /&gt;Dim bMarge As Long&lt;br /&gt;Dim printLijn As String&lt;br /&gt;Dim staPos  As Long&lt;br /&gt;Dim endPos As Long&lt;br /&gt;Dim txtHoogte As Long&lt;br /&gt;Dim printHoogte As Long&lt;br /&gt;Dim objectHoogte As Long&lt;br /&gt;Dim objectBreedte As Long&lt;br /&gt;Dim currYpos As Long&lt;br /&gt;Dim cutChar As String&lt;br /&gt;Dim k As Long&lt;br /&gt;Dim cutPos As Long&lt;br /&gt;&lt;br /&gt;On Error Resume Next&lt;br /&gt;&lt;br /&gt;Screen.MousePointer = 11&lt;br /&gt;&lt;br /&gt;Printer.FontName = "Courier New"&lt;br /&gt;Printer.FontSize = 10&lt;br /&gt;Printer.FontBold = False&lt;br /&gt;Printer.FontItalic = False&lt;br /&gt;Printer.FontUnderline = False&lt;br /&gt;Printer.FontStrikethru = False&lt;br /&gt;&lt;br /&gt;txtHoogte = Printer.TextHeight("AbgWq")&lt;br /&gt;lMarge = Int((Printer.Width / 100) * leftMargePrcnt)&lt;br /&gt;rMarge = Int((Printer.Width / 100) * rightMargePrcnt)&lt;br /&gt;tMarge = Int((Printer.Height / 100) * topMargePrcnt)&lt;br /&gt;bMarge = Int((Printer.Height / 100) * bottomMargePrcnt)&lt;br /&gt;objectHoogte = Printer.Height - tMarge - bMarge&lt;br /&gt;objectBreedte = Printer.Width - lMarge - rMarge&lt;br /&gt;Printer.CurrentY = tMarge&lt;br /&gt;staPos = 1&lt;br /&gt;endPos = 0&lt;br /&gt;Do&lt;br /&gt;&lt;br /&gt;'get next line to crlf&lt;br /&gt;endPos = InStr(staPos, printVar, vbCrLf)&lt;br /&gt;If endPos &lt;&gt; 0 Then&lt;br /&gt;    printLijn = Mid(printVar, staPos, endPos - staPos)&lt;br /&gt;    Else&lt;br /&gt;    printLijn = Mid(printVar, staPos)&lt;br /&gt;    endPos = Len(printVar)&lt;br /&gt;    End If&lt;br /&gt;    &lt;br /&gt;'check lenght one line&lt;br /&gt;If Printer.TextWidth(printLijn) &lt;= objectBreedte Then&lt;br /&gt;    'line ok, keep line as it is&lt;br /&gt;    staPos = endPos + 2&lt;br /&gt;    Else&lt;br /&gt;    'line to big, try to cut of at space or other signs within limits&lt;br /&gt;    cutPos = 0&lt;br /&gt;    For k = 1 To Len(printLijn)&lt;br /&gt;        cutChar = Mid(printLijn, k, 1)&lt;br /&gt;        If cutChar = " " Or cutChar = "." Or cutChar = "," Or cutChar = ":" Or cutChar = ")" Then&lt;br /&gt;            If Printer.TextWidth(Left(printLijn, k)) &gt; objectBreedte Then Exit For&lt;br /&gt;            cutPos = k&lt;br /&gt;        End If&lt;br /&gt;    Next k&lt;br /&gt;    'check result search for space&lt;br /&gt;    If cutPos &gt; 1 Then&lt;br /&gt;        'cut off on space&lt;br /&gt;        printLijn = Mid(printVar, staPos, cutPos)&lt;br /&gt;        staPos = staPos + cutPos&lt;br /&gt;        Else&lt;br /&gt;        'no cut-character found within limits, so cut line on paperwidth&lt;br /&gt;        For k = 1 To Len(printLijn)&lt;br /&gt;            If Printer.TextWidth(Left(printLijn, k)) &gt; objectBreedte Then Exit For&lt;br /&gt;        Next k&lt;br /&gt;        printLijn = Mid(printVar, staPos, k - 1)&lt;br /&gt;        staPos = staPos + (k - 1)&lt;br /&gt;    End If&lt;br /&gt;End If&lt;br /&gt;'print line&lt;br /&gt;Printer.CurrentX = lMarge&lt;br /&gt;currYpos = Printer.CurrentY + txtHoogte&lt;br /&gt;If currYpos &gt; (tMarge + objectHoogte) - txtHoogte Then&lt;br /&gt;    Printer.NewPage&lt;br /&gt;    Printer.CurrentY = tMarge&lt;br /&gt;    Printer.CurrentX = lMarge&lt;br /&gt;    End If&lt;br /&gt;Printer.Print printLijn&lt;br /&gt;Loop While staPos &lt; Len(printVar)&lt;br /&gt;Printer.EndDoc&lt;br /&gt;Screen.MousePointer = 0&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;'Alignements&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Function AlignLeft(NData, CFormat) As String&lt;br /&gt;  If NData &gt; 0 Then 'if not empty string&lt;br /&gt;    AlignLeft = Format(NData, CFormat)&lt;br /&gt;    AlignLeft = AlignLeft + Space(Len(CFormat) - Len(AlignLeft))&lt;br /&gt;  Else 'empty string&lt;br /&gt;    AlignLeft = Format(NData, CFormat)&lt;br /&gt;    AlignLeft = "" + Space(Len(CFormat) - 1)&lt;br /&gt;  End If&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;'This will make a string right align (usualy just for&lt;br /&gt;'text in currency or number of something or numeric data)&lt;br /&gt;Function AlignRight(NData, CFormat) As String&lt;br /&gt;  If NData &gt; 0 Then&lt;br /&gt;    AlignRight = Format(NData, CFormat)&lt;br /&gt;    AlignRight = Space(Len(CFormat) - Len(AlignRight)) + AlignRight&lt;br /&gt;  Else&lt;br /&gt;    AlignRight = Format(NData, CFormat)&lt;br /&gt;    AlignRight = Space(Len(CFormat) - 1) + "0"&lt;br /&gt;  End If&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8378981659002947521?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8378981659002947521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/print-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8378981659002947521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8378981659002947521'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/print-string.html' title='Print String'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-4897797426858567306</id><published>2011-03-28T22:22:00.000+07:00</published><updated>2011-03-28T22:22:00.230+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>NTFS Permissions</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;'Example from MSDN (Q240176)&lt;br /&gt;'The following code changes permissions on a folder to Add &amp; Read or Change.&lt;br /&gt;'The folder needs to be created on an NTFS partition.&lt;br /&gt;'You need to be an Administrator on the machine in question and have read/write&lt;br /&gt;'(READ_CONTROL and WRITE_DAC) access to the file or directory.&lt;br /&gt;&lt;br /&gt;Private Sub Command1_Click()&lt;br /&gt;    Dim sUserName As String&lt;br /&gt;    Dim sFolderName As String&lt;br /&gt;    sUserName = Trim$(CStr(Text2.Text))&lt;br /&gt;    sFolderName = Trim$(CStr(Text1.Text))&lt;br /&gt;    SetAccess sUserName, sFolderName, GENERIC_READ Or GENERIC_EXECUTE Or DELETE Or GENERIC_WRITE&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Command2_Click()&lt;br /&gt;    Dim sUserName As String&lt;br /&gt;    Dim sFolderName As String&lt;br /&gt;    sUserName = Trim$(Text2.Text)&lt;br /&gt;    sFolderName = Trim$(Text1.Text)&lt;br /&gt;    SetAccess sUserName, sFolderName, GENERIC_EXECUTE Or GENERIC_READ&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;    Text1.Text = "enter folder name"&lt;br /&gt;    Text2.Text = "enter username"&lt;br /&gt;    Command1.Caption = "Change"&lt;br /&gt;    Command2.Caption = "Read &amp;&amp; Add"&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;' Constants used within our API calls. Refer to the MSDN for more&lt;br /&gt;' information on how/what these constants are used for.&lt;br /&gt;&lt;br /&gt;' Memory constants used through various memory API calls.&lt;br /&gt;Public Const GMEM_MOVEABLE = &amp;H2&lt;br /&gt;Public Const LMEM_FIXED = &amp;H0&lt;br /&gt;Public Const LMEM_ZEROINIT = &amp;H40&lt;br /&gt;Public Const LPTR = (LMEM_FIXED + LMEM_ZEROINIT)&lt;br /&gt;Public Const GENERIC_READ = &amp;H80000000&lt;br /&gt;Public Const GENERIC_ALL = &amp;H10000000&lt;br /&gt;Public Const GENERIC_EXECUTE = &amp;H20000000&lt;br /&gt;Public Const GENERIC_WRITE = &amp;H40000000&lt;br /&gt;&lt;br /&gt;' The file/security API call constants.&lt;br /&gt;' Refer to the MSDN for more information on how/what these constants&lt;br /&gt;' are used for.&lt;br /&gt;Public Const DACL_SECURITY_INFORMATION = &amp;H4&lt;br /&gt;Public Const SECURITY_DESCRIPTOR_REVISION = 1&lt;br /&gt;Public Const SECURITY_DESCRIPTOR_MIN_LENGTH = 20&lt;br /&gt;Public Const SD_SIZE = (65536 + SECURITY_DESCRIPTOR_MIN_LENGTH)&lt;br /&gt;Public Const ACL_REVISION2 = 2&lt;br /&gt;Public Const ACL_REVISION = 2&lt;br /&gt;Public Const MAXDWORD = &amp;HFFFFFFFF&lt;br /&gt;Public Const SidTypeUser = 1&lt;br /&gt;Public Const AclSizeInformation = 2&lt;br /&gt;&lt;br /&gt;'  The following are the inherit flags that go into the AceFlags field&lt;br /&gt;'  of an Ace header.&lt;br /&gt;&lt;br /&gt;Public Const OBJECT_INHERIT_ACE = &amp;H1&lt;br /&gt;Public Const CONTAINER_INHERIT_ACE = &amp;H2&lt;br /&gt;Public Const NO_PROPAGATE_INHERIT_ACE = &amp;H4&lt;br /&gt;Public Const INHERIT_ONLY_ACE = &amp;H8&lt;br /&gt;Public Const INHERITED_ACE = &amp;H10&lt;br /&gt;Public Const VALID_INHERIT_FLAGS = &amp;H1F&lt;br /&gt;Public Const DELETE = &amp;H10000&lt;br /&gt;&lt;br /&gt;' Structures used by our API calls.&lt;br /&gt;' Refer to the MSDN for more information on how/what these&lt;br /&gt;' structures are used for.&lt;br /&gt;Type ACE_HEADER&lt;br /&gt;   AceType As Byte&lt;br /&gt;   AceFlags As Byte&lt;br /&gt;   AceSize As Integer&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Type ACCESS_DENIED_ACE&lt;br /&gt;  Header As ACE_HEADER&lt;br /&gt;  Mask As Long&lt;br /&gt;  SidStart As Long&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type ACCESS_ALLOWED_ACE&lt;br /&gt;   Header As ACE_HEADER&lt;br /&gt;   Mask As Long&lt;br /&gt;   SidStart As Long&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type ACL&lt;br /&gt;   AclRevision As Byte&lt;br /&gt;   Sbz1 As Byte&lt;br /&gt;   AclSize As Integer&lt;br /&gt;   AceCount As Integer&lt;br /&gt;   Sbz2 As Integer&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type ACL_SIZE_INFORMATION&lt;br /&gt;   AceCount As Long&lt;br /&gt;   AclBytesInUse As Long&lt;br /&gt;   AclBytesFree As Long&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Type SECURITY_DESCRIPTOR&lt;br /&gt;   Revision As Byte&lt;br /&gt;   Sbz1 As Byte&lt;br /&gt;   Control As Long&lt;br /&gt;   Owner As Long&lt;br /&gt;   Group As Long&lt;br /&gt;   sACL As ACL&lt;br /&gt;   Dacl As ACL&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;' API calls used within this sample. Refer to the MSDN for more&lt;br /&gt;' information on how/what these APIs do.&lt;br /&gt;&lt;br /&gt;Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long&lt;br /&gt;Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long&lt;br /&gt;Declare Function LookupAccountName Lib "advapi32.dll" Alias "LookupAccountNameA" (lpSystemName As String, ByVal lpAccountName As String, sid As Any, cbSid As Long, ByVal ReferencedDomainName As String, cbReferencedDomainName As Long, peUse As Long) As Long&lt;br /&gt;Declare Function InitializeSecurityDescriptor Lib "advapi32.dll" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal dwRevision As Long) As Long&lt;br /&gt;Declare Function GetSecurityDescriptorDacl Lib "advapi32.dll" (pSecurityDescriptor As Byte, lpbDaclPresent As Long, pDacl As Long, lpbDaclDefaulted As Long) As Long&lt;br /&gt;Declare Function GetFileSecurityN Lib "advapi32.dll" Alias "GetFileSecurityA" (ByVal lpFileName As String, ByVal RequestedInformation As Long, ByVal pSecurityDescriptor As Long, ByVal nLength As Long, lpnLengthNeeded As Long) As Long&lt;br /&gt;Declare Function GetFileSecurity Lib "advapi32.dll" Alias "GetFileSecurityA" (ByVal lpFileName As String, ByVal RequestedInformation As Long, pSecurityDescriptor As Byte, ByVal nLength As Long, lpnLengthNeeded As Long) As Long&lt;br /&gt;Declare Function GetAclInformation Lib "advapi32.dll" (ByVal pAcl As Long, pAclInformation As Any, ByVal nAclInformationLength As Long, ByVal dwAclInformationClass As Long) As Long&lt;br /&gt;Public Declare Function EqualSid Lib "advapi32.dll" (pSid1 As Byte, ByVal pSid2 As Long) As Long&lt;br /&gt;Declare Function GetLengthSid Lib "advapi32.dll" (pSid As Any) As Long&lt;br /&gt;Declare Function InitializeAcl Lib "advapi32.dll" (pAcl As Byte, ByVal nAclLength As Long, ByVal dwAclRevision As Long) As Long&lt;br /&gt;Declare Function GetAce Lib "advapi32.dll" (ByVal pAcl As Long, ByVal dwAceIndex As Long, pace As Any) As Long&lt;br /&gt;Declare Function AddAce Lib "advapi32.dll" (ByVal pAcl As Long, ByVal dwAceRevision As Long, ByVal dwStartingAceIndex As Long, ByVal pAceList As Long, ByVal nAceListLength As Long) As Long&lt;br /&gt;Declare Function AddAccessAllowedAce Lib "advapi32.dll" (pAcl As Byte, ByVal dwAceRevision As Long, ByVal AccessMask As Long, pSid As Byte) As Long&lt;br /&gt;Public Declare Function AddAccessDeniedAce Lib "advapi32.dll" (pAcl As Byte, ByVal dwAceRevision As Long, ByVal AccessMask As Long, pSid As Byte) As Long&lt;br /&gt;Declare Function SetSecurityDescriptorDacl Lib "advapi32.dll" (pSecurityDescriptor As SECURITY_DESCRIPTOR, ByVal bDaclPresent As Long, pDacl As Byte, ByVal bDaclDefaulted As Long) As Long&lt;br /&gt;Declare Function SetFileSecurity Lib "advapi32.dll" Alias "SetFileSecurityA" (ByVal lpFileName As String, ByVal SecurityInformation As Long, pSecurityDescriptor As SECURITY_DESCRIPTOR) As Long&lt;br /&gt;Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (hpvDest As Any, ByVal hpvSource As Long, ByVal cbCopy As Long)&lt;br /&gt;Public Sub SetAccess(sUserName As String, sFileName As String, lMask As Long)&lt;br /&gt;   Dim lResult As Long            ' Result of various API calls.&lt;br /&gt;   Dim I As Integer               ' Used in looping.&lt;br /&gt;   Dim bUserSid(255) As Byte      ' This will contain your SID.&lt;br /&gt;   Dim bTempSid(255) As Byte      ' This will contain the Sid of each ACE in the ACL .&lt;br /&gt;   Dim sSystemName As String      ' Name of this computer system.&lt;br /&gt;&lt;br /&gt;   Dim lSystemNameLength As Long  ' Length of string that contains&lt;br /&gt;                                  ' the name of this system.&lt;br /&gt;&lt;br /&gt;   Dim lLengthUserName As Long    ' Max length of user name.&lt;br /&gt;&lt;br /&gt;   'Dim sUserName As String * 255  ' String to hold the current user&lt;br /&gt;                                  ' name.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   Dim lUserSID As Long           ' Used to hold the SID of the&lt;br /&gt;                                  ' current user.&lt;br /&gt;&lt;br /&gt;   Dim lTempSid As Long            ' Used to hold the SID of each ACE in the ACL&lt;br /&gt;   Dim lUserSIDSize As Long          ' Size of the SID.&lt;br /&gt;   Dim sDomainName As String * 255   ' Domain the user belongs to.&lt;br /&gt;   Dim lDomainNameLength As Long     ' Length of domain name needed.&lt;br /&gt;&lt;br /&gt;   Dim lSIDType As Long              ' The type of SID info we are&lt;br /&gt;                                     ' getting back.&lt;br /&gt;&lt;br /&gt;   Dim sFileSD As SECURITY_DESCRIPTOR   ' SD of the file we want.&lt;br /&gt;&lt;br /&gt;   Dim bSDBuf() As Byte           ' Buffer that holds the security&lt;br /&gt;                                  ' descriptor for this file.&lt;br /&gt;&lt;br /&gt;   Dim lFileSDSize As Long           ' Size of the File SD.&lt;br /&gt;   Dim lSizeNeeded As Long           ' Size needed for SD for file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   Dim sNewSD As SECURITY_DESCRIPTOR ' New security descriptor.&lt;br /&gt;&lt;br /&gt;   Dim sACL As ACL                   ' Used in grabbing the DACL from&lt;br /&gt;                                     ' the File SD.&lt;br /&gt;&lt;br /&gt;   Dim lDaclPresent As Long          ' Used in grabbing the DACL from&lt;br /&gt;                                     ' the File SD.&lt;br /&gt;&lt;br /&gt;   Dim lDaclDefaulted As Long        ' Used in grabbing the DACL from&lt;br /&gt;                                     ' the File SD.&lt;br /&gt;&lt;br /&gt;   Dim sACLInfo As ACL_SIZE_INFORMATION  ' Used in grabbing the ACL&lt;br /&gt;                                         ' from the File SD.&lt;br /&gt;&lt;br /&gt;   Dim lACLSize As Long           ' Size of the ACL structure used&lt;br /&gt;                                  ' to get the ACL from the File SD.&lt;br /&gt;&lt;br /&gt;   Dim pAcl As Long               ' Current ACL for this file.&lt;br /&gt;   Dim lNewACLSize As Long        ' Size of new ACL to create.&lt;br /&gt;   Dim bNewACL() As Byte          ' Buffer to hold new ACL.&lt;br /&gt;&lt;br /&gt;   Dim sCurrentACE As ACCESS_ALLOWED_ACE    ' Current ACE.&lt;br /&gt;   Dim pCurrentAce As Long                  ' Our current ACE.&lt;br /&gt;&lt;br /&gt;   Dim nRecordNumber As Long&lt;br /&gt;&lt;br /&gt;   ' Get the SID of the user. (Refer to the MSDN for more information on SIDs&lt;br /&gt;   ' and their function/purpose in the operating system.) Get the SID of this&lt;br /&gt;   ' user by using the LookupAccountName API. In order to use the SID&lt;br /&gt;   ' of the current user account, call the LookupAccountName API&lt;br /&gt;   ' twice. The first time is to get the required sizes of the SID&lt;br /&gt;   ' and the DomainName string. The second call is to actually get&lt;br /&gt;   ' the desired information.&lt;br /&gt;&lt;br /&gt;   lResult = LookupAccountName(vbNullString, sUserName, _&lt;br /&gt;      bUserSid(0), 255, sDomainName, lDomainNameLength, _&lt;br /&gt;      lSIDType)&lt;br /&gt;&lt;br /&gt;   ' Now set the sDomainName string buffer to its proper size before&lt;br /&gt;   ' calling the API again.&lt;br /&gt;   sDomainName = Space(lDomainNameLength)&lt;br /&gt;&lt;br /&gt;   ' Call the LookupAccountName again to get the actual SID for user.&lt;br /&gt;   lResult = LookupAccountName(vbNullString, sUserName, _&lt;br /&gt;      bUserSid(0), 255, sDomainName, lDomainNameLength, _&lt;br /&gt;      lSIDType)&lt;br /&gt;&lt;br /&gt;   ' Return value of zero means the call to LookupAccountName failed;&lt;br /&gt;   ' test for this before you continue.&lt;br /&gt;     If (lResult = 0) Then&lt;br /&gt;        MsgBox "Error: Unable to Lookup the Current User Account: " _&lt;br /&gt;           &amp; sUserName&lt;br /&gt;        Exit Sub&lt;br /&gt;     End If&lt;br /&gt;&lt;br /&gt;   ' You now have the SID for the user who is logged on.&lt;br /&gt;   ' The SID is of interest since it will get the security descriptor&lt;br /&gt;   ' for the file that the user is interested in.&lt;br /&gt;   ' The GetFileSecurity API will retrieve the Security Descriptor&lt;br /&gt;   ' for the file. However, you must call this API twice: once to get&lt;br /&gt;   ' the proper size for the Security Descriptor and once to get the&lt;br /&gt;   ' actual Security Descriptor information.&lt;br /&gt;&lt;br /&gt;   lResult = GetFileSecurityN(sFileName, DACL_SECURITY_INFORMATION, _&lt;br /&gt;      0, 0, lSizeNeeded)&lt;br /&gt;&lt;br /&gt;   ' Redimension the Security Descriptor buffer to the proper size.&lt;br /&gt;   ReDim bSDBuf(lSizeNeeded)&lt;br /&gt;&lt;br /&gt;   ' Now get the actual Security Descriptor for the file.&lt;br /&gt;   lResult = GetFileSecurity(sFileName, DACL_SECURITY_INFORMATION, _&lt;br /&gt;      bSDBuf(0), lSizeNeeded, lSizeNeeded)&lt;br /&gt;&lt;br /&gt;   ' A return code of zero means the call failed; test for this&lt;br /&gt;   ' before continuing.&lt;br /&gt;   If (lResult = 0) Then&lt;br /&gt;      MsgBox "Error: Unable to Get the File Security Descriptor"&lt;br /&gt;      Exit Sub&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;   ' Call InitializeSecurityDescriptor to build a new SD for the&lt;br /&gt;   ' file.&lt;br /&gt;   lResult = InitializeSecurityDescriptor(sNewSD, _&lt;br /&gt;      SECURITY_DESCRIPTOR_REVISION)&lt;br /&gt;&lt;br /&gt;   ' A return code of zero means the call failed; test for this&lt;br /&gt;   ' before continuing.&lt;br /&gt;   If (lResult = 0) Then&lt;br /&gt;      MsgBox "Error: Unable to Initialize New Security Descriptor"&lt;br /&gt;      Exit Sub&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;   ' You now have the file's SD and a new Security Descriptor&lt;br /&gt;   ' that will replace the current one. Next, pull the DACL from&lt;br /&gt;   ' the SD. To do so, call the GetSecurityDescriptorDacl API&lt;br /&gt;   ' function.&lt;br /&gt;&lt;br /&gt;   lResult = GetSecurityDescriptorDacl(bSDBuf(0), lDaclPresent, _&lt;br /&gt;      pAcl, lDaclDefaulted)&lt;br /&gt;&lt;br /&gt;   ' A return code of zero means the call failed; test for this&lt;br /&gt;   ' before continuing.&lt;br /&gt;   If (lResult = 0) Then&lt;br /&gt;      MsgBox "Error: Unable to Get DACL from File Security " _&lt;br /&gt;         &amp; "Descriptor"&lt;br /&gt;      Exit Sub&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;   ' You have the file's SD, and want to now pull the ACL from the&lt;br /&gt;   ' SD. To do so, call the GetACLInformation API function.&lt;br /&gt;   ' See if ACL exists for this file before getting the ACL&lt;br /&gt;   ' information.&lt;br /&gt;   If (lDaclPresent = False) Then&lt;br /&gt;      MsgBox "Error: No ACL Information Available for this File"&lt;br /&gt;      Exit Sub&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;   ' Attempt to get the ACL from the file's Security Descriptor.&lt;br /&gt;   lResult = GetAclInformation(pAcl, sACLInfo, Len(sACLInfo), 2&amp;)&lt;br /&gt;&lt;br /&gt;   ' A return code of zero means the call failed; test for this&lt;br /&gt;   ' before continuing.&lt;br /&gt;   If (lResult = 0) Then&lt;br /&gt;      MsgBox "Error: Unable to Get ACL from File Security Descriptor"&lt;br /&gt;      Exit Sub&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;   ' Now that you have the ACL information, compute the new ACL size&lt;br /&gt;   ' requirements.&lt;br /&gt;   lNewACLSize = sACLInfo.AclBytesInUse + (Len(sCurrentACE) + _&lt;br /&gt;      GetLengthSid(bUserSid(0))) * 2 - 4&lt;br /&gt;&lt;br /&gt;   ' Resize our new ACL buffer to its proper size.&lt;br /&gt;   ReDim bNewACL(lNewACLSize)&lt;br /&gt;&lt;br /&gt;   ' Use the InitializeAcl API function call to initialize the new&lt;br /&gt;   ' ACL.&lt;br /&gt;   lResult = InitializeAcl(bNewACL(0), lNewACLSize, ACL_REVISION)&lt;br /&gt;&lt;br /&gt;   ' A return code of zero means the call failed; test for this&lt;br /&gt;   ' before continuing.&lt;br /&gt;   If (lResult = 0) Then&lt;br /&gt;      MsgBox "Error: Unable to Initialize New ACL"&lt;br /&gt;      Exit Sub&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;   ' If a DACL is present, copy it to a new DACL.&lt;br /&gt;   If (lDaclPresent) Then&lt;br /&gt;&lt;br /&gt;      ' Copy the ACEs from the file to the new ACL.&lt;br /&gt;      If (sACLInfo.AceCount &gt; 0) Then&lt;br /&gt;&lt;br /&gt;         ' Grab each ACE and stuff them into the new ACL.&lt;br /&gt;         nRecordNumber = 0&lt;br /&gt;         For I = 0 To (sACLInfo.AceCount - 1)&lt;br /&gt;&lt;br /&gt;            ' Attempt to grab the next ACE.&lt;br /&gt;            lResult = GetAce(pAcl, I, pCurrentAce)&lt;br /&gt;&lt;br /&gt;            ' Make sure you have the current ACE under question.&lt;br /&gt;            If (lResult = 0) Then&lt;br /&gt;               MsgBox "Error: Unable to Obtain ACE (" &amp; I &amp; ")"&lt;br /&gt;               Exit Sub&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;            ' You have a pointer to the ACE. Place it&lt;br /&gt;            ' into a structure, so you can get at its size.&lt;br /&gt;            CopyMemory sCurrentACE, pCurrentAce, LenB(sCurrentACE)&lt;br /&gt;&lt;br /&gt;            'Skip adding the ACE to the ACL if this is same usersid&lt;br /&gt;            lTempSid = pCurrentAce + 8&lt;br /&gt;            If EqualSid(bUserSid(0), lTempSid) = 0 Then&lt;br /&gt;&lt;br /&gt;                ' Now that you have the ACE, add it to the new ACL.&lt;br /&gt;                lResult = AddAce(VarPtr(bNewACL(0)), ACL_REVISION, _&lt;br /&gt;                  MAXDWORD, pCurrentAce, _&lt;br /&gt;                  sCurrentACE.Header.AceSize)&lt;br /&gt;&lt;br /&gt;                 ' Make sure you have the current ACE under question.&lt;br /&gt;                 If (lResult = 0) Then&lt;br /&gt;                   MsgBox "Error: Unable to Add ACE to New ACL"&lt;br /&gt;                    Exit Sub&lt;br /&gt;                 End If&lt;br /&gt;                 nRecordNumber = nRecordNumber + 1&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;         Next I&lt;br /&gt;&lt;br /&gt;         ' You have now rebuilt a new ACL and want to add it to&lt;br /&gt;         ' the newly created DACL.&lt;br /&gt;         lResult = AddAccessAllowedAce(bNewACL(0), ACL_REVISION, _&lt;br /&gt;            lMask, bUserSid(0))&lt;br /&gt;&lt;br /&gt;         ' Make sure added the ACL to the DACL.&lt;br /&gt;         If (lResult = 0) Then&lt;br /&gt;            MsgBox "Error: Unable to Add ACL to DACL"&lt;br /&gt;            Exit Sub&lt;br /&gt;         End If&lt;br /&gt;&lt;br /&gt;         'If it's directory, we need to add inheritance staff.&lt;br /&gt;         If GetAttr(sFileName) And vbDirectory Then&lt;br /&gt;&lt;br /&gt;            ' Attempt to grab the next ACE which is what we just added.&lt;br /&gt;            lResult = GetAce(VarPtr(bNewACL(0)), nRecordNumber, pCurrentAce)&lt;br /&gt;&lt;br /&gt;            ' Make sure you have the current ACE under question.&lt;br /&gt;            If (lResult = 0) Then&lt;br /&gt;               MsgBox "Error: Unable to Obtain ACE (" &amp; I &amp; ")"&lt;br /&gt;               Exit Sub&lt;br /&gt;            End If&lt;br /&gt;            ' You have a pointer to the ACE. Place it&lt;br /&gt;            ' into a structure, so you can get at its size.&lt;br /&gt;            CopyMemory sCurrentACE, pCurrentAce, LenB(sCurrentACE)&lt;br /&gt;            sCurrentACE.Header.AceFlags = OBJECT_INHERIT_ACE + INHERIT_ONLY_ACE&lt;br /&gt;            CopyMemory ByVal pCurrentAce, VarPtr(sCurrentACE), LenB(sCurrentACE)&lt;br /&gt;&lt;br /&gt;            'add another ACE for files&lt;br /&gt;            lResult = AddAccessAllowedAce(bNewACL(0), ACL_REVISION, _&lt;br /&gt;               lMask, bUserSid(0))&lt;br /&gt;&lt;br /&gt;            ' Make sure added the ACL to the DACL.&lt;br /&gt;            If (lResult = 0) Then&lt;br /&gt;               MsgBox "Error: Unable to Add ACL to DACL"&lt;br /&gt;               Exit Sub&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;            ' Attempt to grab the next ACE.&lt;br /&gt;            lResult = GetAce(VarPtr(bNewACL(0)), nRecordNumber + 1, pCurrentAce)&lt;br /&gt;&lt;br /&gt;            ' Make sure you have the current ACE under question.&lt;br /&gt;            If (lResult = 0) Then&lt;br /&gt;               MsgBox "Error: Unable to Obtain ACE (" &amp; I &amp; ")"&lt;br /&gt;               Exit Sub&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;            CopyMemory sCurrentACE, pCurrentAce, LenB(sCurrentACE)&lt;br /&gt;            sCurrentACE.Header.AceFlags = CONTAINER_INHERIT_ACE&lt;br /&gt;            CopyMemory ByVal pCurrentAce, VarPtr(sCurrentACE), LenB(sCurrentACE)&lt;br /&gt;        End If&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;         ' Set the file's Security Descriptor to the new DACL.&lt;br /&gt;         lResult = SetSecurityDescriptorDacl(sNewSD, 1, _&lt;br /&gt;            bNewACL(0), 0)&lt;br /&gt;&lt;br /&gt;         ' Make sure you set the SD to the new DACL.&lt;br /&gt;         If (lResult = 0) Then&lt;br /&gt;            MsgBox "Error: " &amp; _&lt;br /&gt;                "Unable to Set New DACL to Security Descriptor"&lt;br /&gt;            Exit Sub&lt;br /&gt;         End If&lt;br /&gt;&lt;br /&gt;         ' The final step is to add the Security Descriptor back to&lt;br /&gt;         ' the file!&lt;br /&gt;         lResult = SetFileSecurity(sFileName, _&lt;br /&gt;            DACL_SECURITY_INFORMATION, sNewSD)&lt;br /&gt;&lt;br /&gt;         ' Make sure you added the Security Descriptor to the file!&lt;br /&gt;         If (lResult = 0) Then&lt;br /&gt;            MsgBox "Error: Unable to Set New Security Descriptor " _&lt;br /&gt;               &amp; " to File : " &amp; sFileName&lt;br /&gt;            MsgBox Err.LastDllError&lt;br /&gt;         Else&lt;br /&gt;            MsgBox "Updated Security Descriptor on File: " _&lt;br /&gt;               &amp; sFileName&lt;br /&gt;         End If&lt;br /&gt;&lt;br /&gt;      End If&lt;br /&gt;&lt;br /&gt;   End If&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-4897797426858567306?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/4897797426858567306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/ntfs-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4897797426858567306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4897797426858567306'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/ntfs-permissions.html' title='NTFS Permissions'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-3929278904713260820</id><published>2011-03-28T22:19:00.000+07:00</published><updated>2011-03-28T22:19:00.476+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Functions &amp; Statements</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;Visual Basic provides more than 200 built-in statements and functions. Some are used frequently; some are seldom used at all. Even experienced programmers sometimes happen upon a statement or function they didn't know about.&lt;br /&gt;&lt;br /&gt;This appendix can be considered a quick-reference guide to all of VB's built-in statements and functions. It offers the syntax for each, as well as a brief description of what it does and how its arguments (if any) are used. This is by no means a complete reference. Microsoft's Visual Basic 6.0 Language Reference is probably the best source for in-depth information on VB's statements and functions. If you have any questions about syntax or use of a particular statement or function, then you are strongly urged to consult that reference to obtain additional information.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Functions and Statements&lt;br /&gt;Abs Function&lt;br /&gt;Abs(number)&lt;br /&gt;&lt;br /&gt;Returns the absolute value of number. The data type returned is the same as the data type of the number argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AppActivate Statement&lt;br /&gt;AppActivate title[,wait]&lt;br /&gt;&lt;br /&gt;Activates the application window that has the string title in its title bar or, alternatively, the task ID specified by title. The optional wait argument (Boolean) can be used to specify whether the calling application should wait until it has the focus before the application window is activated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Array Function&lt;br /&gt;Array(arglist)&lt;br /&gt;&lt;br /&gt;Returns a Variant data item that contains an array. arglist refers to a comma-delimited list of values that make up the elements of the array, with the first value corresponding to the first element of the array, the second value corresponding to the second element of the array, and so on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Asc Function&lt;br /&gt;Asc(string)&lt;br /&gt;&lt;br /&gt;Returns an Integer value that represents the ASCII code for the first character in the string.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Atn Function&lt;br /&gt;Atn(number)&lt;br /&gt;&lt;br /&gt;Returns a Double value that is the arctangent of number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Beep Statement&lt;br /&gt;Beep&lt;br /&gt;&lt;br /&gt;Sounds a tone through the PC's speaker. Frequency and duration of the tone may vary from system to system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Call Statement&lt;br /&gt;[Call] name [argumentlist]&lt;br /&gt;&lt;br /&gt;Executes a sub, function, or DLL procedure. The name argument specifies the name of the procedure to call, and argumentlist is an optional list of arguments that will be passed to the called procedure. The Call keyword is optional, but if it is included, then at least one or more arguments for argumentlist must also be included.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CBool Function&lt;br /&gt;CBool(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Boolean data type. The argument expression can be any valid string or numeric expression.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CByte Function&lt;br /&gt;CByte(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Byte data type. The argument expression must be a numeric value between 0 and 255.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CCur Function&lt;br /&gt;CCur(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Currency data type. The argument expression must be a numeric value between -922,337,203,685,477.5808 and 922,337,203,685,477.5807.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CDate Function&lt;br /&gt;CDate(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Date data type. The argument expression must be a valid date expression.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CDbl Function&lt;br /&gt;CDbl(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Double data type. The argument expression must be a numeric value between -1.79769313486232E308 and -4.94065645841247E-324 for negative values, or between 4.94065645841247E-324 and 1.79769313486232E308 for positive values.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CDec Function&lt;br /&gt;CDec(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Decimal data type. The argument expression must be a numeric value of +/-79,228,162,514,264,337,593,543,950,335 for zero-scaled numbers (numbers with no decimal places), or +/-7.9228162514264337593543950335 for numbers with 28 decimal places.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ChDir Statement&lt;br /&gt;ChDir path&lt;br /&gt;&lt;br /&gt;Changes the current directory to the one specified by the path argument. Note that although ChDir changes the default directory, it does not change the default drive as well.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ChDrive Statement&lt;br /&gt;ChDrive drive&lt;br /&gt;&lt;br /&gt;Changes the current drive to the one specified by the drive argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Choose Function&lt;br /&gt;Choose(index, choice-1[, choice-2, ... [, choice-n]])&lt;br /&gt;&lt;br /&gt;Returns a value from a list of choices (specified by the arguments choice-1 through choice-n) based on the value of the index argument. If index is 1, then the value returned by the Choose function will be the value represented by choice-1; if index is 2, then the value returned will be that of choice-2; and so on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Chr Function&lt;br /&gt;Chr(charcode)&lt;br /&gt;&lt;br /&gt;Returns a one-character String value that represents the ASCII character of the number specified by the charcode argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CInt Function&lt;br /&gt;CInt(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to an Integer data type. The argument expression must be a numeric value from -32,768 to 32,767. Fractions are rounded.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CLng Function&lt;br /&gt;CLng(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Long data type. The argument expression must be a numeric value from -2,147,483,648 to 2,147,483,647. Fractions are rounded.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Close Statement&lt;br /&gt;Close [filenumberlist]&lt;br /&gt;&lt;br /&gt;Closes any files opened with the Open statement that corre- spond to the file numbers specified by filenumberlist. The filenumberlist argument can contain a single file number (for example, #1) or multiple file numbers (for example, #1, #4, #5). If the filenumberlist argument is omitted, all open files will be closed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Command Function&lt;br /&gt;Command&lt;br /&gt;&lt;br /&gt;Returns any command-line arguments specified when launching Visual Basic. For compiled programs, Command returns the command-line arguments specified when the program was launched.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Const Statement&lt;br /&gt;[Public | Private] Const constname [As type] = expression&lt;br /&gt;&lt;br /&gt;Declares a constant with the name constname and the value represented by expression. The Public and Private keywords define the constant's scope, and the optional As type specifies the constant's data type. If the As type is omitted, the constant will be declared as the data type most appropriate for expression.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cos Function&lt;br /&gt;Cos(number)&lt;br /&gt;&lt;br /&gt;Returns a Double value that is the cosine of the angle specified by the number argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CreateObject Function&lt;br /&gt;CreateObject(class)&lt;br /&gt;&lt;br /&gt;Creates and returns a reference to an ActiveX object of type class. The class argument should use the syntax appname.objecttype, where appname is the name of the application providing the object, and objecttype is the class of the object to be created.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CSng Function&lt;br /&gt;CSng(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Single data type. The argument expression must be a numeric value from -3.402823E38 to -1.401298E-45 for negative values, or from 1.401298E-45 to 3.402823E38 for positive values.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CStr Function&lt;br /&gt;CStr(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a String data type. The string that CStr returns depends on the data type of the expression argument: For Booleans, CStr returns either True or False; for Dates, CStr returns a date based on the short date format on your system; for Errors, CStr returns the word Error followed by the error number. expression values that are Empty return a zero-length string, and numeric expression values return a string containing the number. A Null expression value will cause a runtime error.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CurDir Function&lt;br /&gt;CurDir[(drive)]&lt;br /&gt;&lt;br /&gt;Returns a String value that represents the full path of the current directory. If the drive argument is given, then CurDir returns the directory path of the current directory for that drive.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CVar Function&lt;br /&gt;CVar(expression)&lt;br /&gt;&lt;br /&gt;Converts the value of expression to a Variant data type. The argument expression can be either numeric or a string.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CVErr Function&lt;br /&gt;CVErr(errornumber)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Error that contains the error number specified by the errornumber argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Date Function&lt;br /&gt;Date&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Date that contains the current system date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Date Statement&lt;br /&gt;Date = date&lt;br /&gt;&lt;br /&gt;Sets the current system date as specified by the date argument. For Windows 95 systems, date must be a valid date between January 1, 1980 and December 31, 2099. For Windows NT systems, date must be a valid date between January 1, 1980 and December 31, 2079.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DateAdd Function&lt;br /&gt;DateAdd(interval, number, date)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Date calculated by taking the date specified by the date argument and adding or subtracting the amount of time specified by interval and time. The interval argument contains a code that represents a unit of time (for example, yyyy for years, m for months, d for days), and number is the number of units to be added to date.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DateDiff Function&lt;br /&gt;DateDiff(interval, date1, date2[,firstdayofweek[, firstweekofyear]])&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Long that represents the number of time units between two dates (date1 and date2). The interval argument contains a code that represents the unit of time (for example, yyyy for years) that will be returned by the function. The optional firstdayofweek and firstweekofyear arguments are used to specify how the time difference should be calculated when certain codes are used for interval.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DatePart Function&lt;br /&gt;DatePart(interval, date[,firstdayofweek[,firstweekofyear]])&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that contains the part of date specified by interval. The interval argument contains a code that represents the unit of time (for example, ww for weeks) that will be returned by the function. The optional firstdayofweek and firstweekofyear arguments are used to specify how the date should be calculated when certain interval codes are used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DateSerial Function&lt;br /&gt;DateSerial(year, month, day)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Date that represents a date as specified by the year, month, and day arguments.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DateValue Function&lt;br /&gt;DateValue(date)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Date that is derived from the date value specified by the date argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Day Function&lt;br /&gt;Day(date)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that represents the day of the month (1[nd]31) for the date value specified by the date argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DDB Function&lt;br /&gt;DDB(cost, salvage, life, period[, factor])&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the depreciation of an asset for a specified amount of time using a given method of depreciation. The cost argument represents the initial cost of the asset, salvage represents the value of the asset at the end of its working lifetime, life represents the lifetime of the asset, and period represents the period (in months) for which the depreciation is calculated. The optional factor argument specifies the rate at which the balance declines. If it is omitted, then the double-declining depreciation method is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Declare Statement&lt;br /&gt;[Public | Private] Declare Sub name Lib "libname" [Alias _ "aliasname"][([arglist])]&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Public | Private] Declare Function name Lib "libname" &lt;br /&gt;[Alias "aliasname"][([arglist])][As type]&lt;br /&gt;&lt;br /&gt;Declares references to Sub or Function procedures in an external DLL (dynamic-link library). The optional Public and Private keywords define the procedure's scope. The name argument is the name of the procedure, and the libname argument specifies the DLL that contains the procedure. The optional aliasname argument specifies an alternate name for the procedure in the DLL. arglist is a list of arguments passed to the procedure. For Function procedures, the As type specifies the data type of the value returned by the Function. Declare statements can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefBool Statement&lt;br /&gt;DefBool letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Boolean data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefBool can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefByte Statement&lt;br /&gt;DefByte letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Byte data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefByte can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefCur Statement&lt;br /&gt;DefCur letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Currency data type. The letterrange arguments should be constructed as letter1 [-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefCur can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefDate Statement&lt;br /&gt;DefDate letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Date data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefDate can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefDbl Statement&lt;br /&gt;DefDbl letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Double data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefDbl can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefDec Statement&lt;br /&gt;DefDec letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Decimal data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefDec can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefInt Statement&lt;br /&gt;DefInt letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Integer data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefInt can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefLng Statement&lt;br /&gt;DefLng letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Long data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefLng can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefObj Statement&lt;br /&gt;DefObj letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Object data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefObj can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefSng Statement&lt;br /&gt;DefSng letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Single data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefSng can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefStr Statement&lt;br /&gt;DefStr letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the String data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefStr can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DefVar Statement&lt;br /&gt;DefVar letterrange[, letterrange]...&lt;br /&gt;&lt;br /&gt;Specifies that all variables and function return values that begin with the letters specified by the letterrange arguments are automatically defined to be of the Variant data type. The letterrange arguments should be constructed as letter1[-letter2], where letter1 is the first (or only) letter in the range, and letter2 is the last letter in the range. DefVar can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DeleteSetting Statement&lt;br /&gt;DeleteSetting appname, section[, key]&lt;br /&gt;&lt;br /&gt;Deletes an application's section or key setting entries from the System Registry. The appname argument specifies the name of the application, and section is the name of the section to be deleted. If the optional key argument is used, then only that key (and not the whole section) will be deleted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dim Statement&lt;br /&gt;Dim [WithEvents] varname[([subscripts])] [As [New] type] [,[WithEvents] &lt;br /&gt;varname[([subscripts])] [As [New] type]]...&lt;br /&gt;&lt;br /&gt;Declares one or more variables or objects. The varname argument is the name of the variable, and the optional As [New] type indicates its data type. If the New keyword is used, then an implicit creation of the object is made. The optional WithEvents keyword (valid only when the Dim statement is used in class modules) indicates that varname is an object variable as is used to respond to events triggered by an ActiveX object. The optional subscripts are the dimensions of an array variable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dir Function&lt;br /&gt;Dir[(pathname[, attributes])]&lt;br /&gt;&lt;br /&gt;Returns a String value containing the name of a file, directory, or folder that matches a pattern (specified in the pathname argument) and/or a file attribute (specified in attributes). The first time the Dir function is called, it returns the name of a file based on the pathname and attributes arguments. If the function is called again and no arguments are given, then it returns the second file name for the given pathname and attributes, and so on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do...Loop Statement&lt;br /&gt;Do [{While | Until} condition]&lt;br /&gt;   [statements]&lt;br /&gt;   [Exit Do]&lt;br /&gt;   [statements]&lt;br /&gt;Loop&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do&lt;br /&gt;   [statements]&lt;br /&gt;   [Exit Do]&lt;br /&gt;   [statements]&lt;br /&gt;Loop [{While | Until} condition]&lt;br /&gt;&lt;br /&gt;Repeats one or more statements while a condition is True or until a condition becomes True. The optional Exit Do keywords pass control to the line of code immediately following the Do...Loop structure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DoEvents Function&lt;br /&gt;DoEvents( )&lt;br /&gt;&lt;br /&gt;Temporarily gives control to the operating system so that it can process other events. The DoEvents function is typically used inside loops so that a program does not tie up system resources for a long period of time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Statement&lt;br /&gt;End&lt;br /&gt;End Function&lt;br /&gt;End If&lt;br /&gt;End Property&lt;br /&gt;End Select&lt;br /&gt;End Sub&lt;br /&gt;End Type&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;Ends a program (End), procedure (End Function, End Property, or End Sub), type structure (End Type), or program block (End If, End Select, or End With).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enum Statement&lt;br /&gt;[Public | Private] Enum name&lt;br /&gt;    membername [= constantexpression]&lt;br /&gt;    membername [= constantexpression]&lt;br /&gt;      ...&lt;br /&gt;End Enum&lt;br /&gt;&lt;br /&gt;Declares an enumeration type named name that is composed of one or more members specified by membername. Members can be assigned values using constantexpression. The optional Public and Private keywords define the enumeration's scope.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Environ Function&lt;br /&gt;Environ({envstring | number})&lt;br /&gt;&lt;br /&gt;Returns the String value of the operating system variable specified by envstring or, alternatively, the numeric order of the environment string in the environment-string table specified by number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EOF Function&lt;br /&gt;EOF(filenumber)&lt;br /&gt;&lt;br /&gt;Returns a True or False value (Integer) that indicates whether the end of file marker has been reached for the Random or Input file associated with the filenumber argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Erase Statement&lt;br /&gt;Erase arraylist&lt;br /&gt;&lt;br /&gt;Reinitializes the elements in one or more fixed-size array and frees up the dynamic-array storage space that was taken up by the array(s). The arraylist argument is one or more comma-delimited array names.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error Function&lt;br /&gt;Error[(errornumber)]&lt;br /&gt;&lt;br /&gt;Returns a String value that contains the error message that corresponds to the errornumber argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error Statement&lt;br /&gt;Error errornumber&lt;br /&gt;&lt;br /&gt;Causes an error to occur. The errornumber argument indicates the type of error that should occur.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Event Statement&lt;br /&gt;[Public] Event procedurename [(arglist)]&lt;br /&gt;&lt;br /&gt;Declares a user-defined event with the name procedurename. The optional Public keyword indicates that the Event should be visible throughout the project, even though that is the default. The optional argument list (arglist) should contain one or more arguments defined using the syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   [ByVal | ByRef] varname[()] [As type]&lt;br /&gt;&lt;br /&gt;where varname is the name of the argument, As type indicates the data type of the argument, and the optional ByRef or ByVal keywords specify whether the argument should be passed by reference (ByRef) or by value (ByVal). If ByRef and ByVal are not specified, then the argument will be passed by reference.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exit Statement&lt;br /&gt;Exit Do&lt;br /&gt;Exit For&lt;br /&gt;Exit Function&lt;br /&gt;Exit Property&lt;br /&gt;Exit Sub&lt;br /&gt;&lt;br /&gt;Exits a procedure (Exit Function, Exit Property, or Exit Sub) or looping structure (Exit Do or Exit For).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Exp Function&lt;br /&gt;Exp(number)&lt;br /&gt;&lt;br /&gt;Returns a Double value that is e (the base of natural logarithms) raised to the power specified by number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FileAttr Function&lt;br /&gt;FileAttr(filenumber, returntype)&lt;br /&gt;&lt;br /&gt;Returns a Long value that indicates the file mode for a file opened using the Open statement. The argument filenumber is the file number for the open file, and returntype indicates the type of information to be returned. Although returntype can be set to 2 to return the operating system file handle for the open file, it only works on 16-bit systems and should be avoided in VB5. Instead, use a value of 1 for returntype to return the open file type. The possible values returned by the FileAttr function for indicating file type are: 1 for Input, 2 for Output, 4 for Random, 8 for Append, and 32 for Binary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FileCopy Statement&lt;br /&gt;FileCopy source, destination&lt;br /&gt;&lt;br /&gt;Copies the filename and path specified by the source argument to the filename and path specified by the destination argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FileDateTime Function&lt;br /&gt;FileDateTime(pathname)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Date that indicates the date and time when the file specified by the pathname argument was last modified.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FileLen Function&lt;br /&gt;FileLen(pathname)&lt;br /&gt;&lt;br /&gt;Returns a Long value that contains the file size (in bytes) of the file specified by the pathname argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fix Function&lt;br /&gt;Fix(number)&lt;br /&gt;&lt;br /&gt;Returns the integer portion of the number specified by the number argument. If number is negative, then Fix returns the first negative integer greater than or equal to number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Each...Next Statement&lt;br /&gt;For Each element In group&lt;br /&gt;    [statements]&lt;br /&gt;    [Exit For]&lt;br /&gt;    [statements]&lt;br /&gt;Next [element]&lt;br /&gt;&lt;br /&gt;Executes one or more statements for each element in the array or collection specified by group. The optional Exit For can be used to immediately exit the looping structure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For...Next Statement&lt;br /&gt;For counter = start To end [Step step]&lt;br /&gt;    [statements]&lt;br /&gt;    [Exit For]&lt;br /&gt;    [statements]&lt;br /&gt;Next [counter]&lt;br /&gt;&lt;br /&gt;Executes one or more statements a specified number of times. The counter argument is a variable used to increment from start to end. By default, counter is incremented by 1 each time the loop is executed, although the optional step argument can be used to specify a different increment. The optional Exit For can be used to immediately exit the looping structure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Format Function&lt;br /&gt;Format(expression[, format[, firstdayofweek[, _  firstweekofyear]]])&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that contains the value specified by expression using a format defined by the format argument. The format argument uses codes (for example, d for days or # for numbers) to determine how expression will be formatted. The optional firstdayofweek and firstweekofyear arguments are used when formatting certain values.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FreeFile Function&lt;br /&gt;FreeFile[(rangenumber)]&lt;br /&gt;&lt;br /&gt;Returns an Integer value the represents the next file number available for use with the Open statement. The optional rangenumber argument can be used to specify which range of file numbers should be used: 0 (the default) for file numbers in the range of 1-255, or 1 for file numbers in the range of 256-511.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Function Statement&lt;br /&gt;[Public | Private | Friend] [Static] Function name _ [(arglist)] [As type]&lt;br /&gt;    [statements]&lt;br /&gt;    [name = expression]&lt;br /&gt;    [Exit Function]&lt;br /&gt;    [statements]&lt;br /&gt;    [name = expression]&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Declares the various parts of a Function procedure. The optional Public, Private, and Friend keywords can be used to define the Function's scope, and the optional Static keyword indicates that the procedure's local variables are preserved between calls to the Function. The name argument specifies the name of the Function procedure and can be assigned a value (name = expression) that will be returned by the procedure. The data type of the return value can be specified using the As type clause. The optional Exit Function can be used to exit the Function procedure immediately.&lt;br /&gt;&lt;br /&gt;The optional list of arguments (arglist) defines the arguments that will be passed to the procedure. The arguments should use the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Optional] [ByVal | ByRef] [ParamArray] varname[()] [As _ type] [= default value]&lt;br /&gt;&lt;br /&gt;where the Optional keyword can be used to specify that the argument is not required (default value assigns the argument's default value), ByVal and ByRef determine whether the argument should be passed by value or by reference (the default), and the ParamArray keyword specifies that the argument is an Optional array of Variant elements. ParamArray can only be used with the last argument in the argument list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;FV Function&lt;br /&gt;FV(rate, nper, pmt[, pv[, type]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the future value of an annuity based on a number (nper) of periodic fixed payment amounts (pmt) and a fixed interest rate (rate). The optional pv argument specifies a present value or lump sum of a series of future payments, and the optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Get Statement&lt;br /&gt;Get [#]filenumber,[ recnumber,] varname&lt;br /&gt;&lt;br /&gt;Reads data from the open disk file corresponding to the filenumber argument into a variable (varname). Get works with files open as Random or Binary, and a record number (recnumber) can be specified when retrieving data from a Random file. When using Binary files, recnumber can alternatively be used to specify the byte position from which the data is to be read.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GetAllSettings Function&lt;br /&gt;GetAllSettings(appname, section)&lt;br /&gt;&lt;br /&gt;Returns a list of key settings and their values from a specific application (appname) entry and section (section) in the System Registry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GetAttr Function&lt;br /&gt;GetAttr(pathname)&lt;br /&gt;&lt;br /&gt;Returns an Integer value that represents the attributes for the file, directory, or folder specified by the pathname argument. The value returned can be compared bitwise with several VB constants (vbNormal, vbReadOnly, vbHidden, vbSystem, vbDirectory, and vbArchive) to determine which attributes are set.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GetAutoServerSettings Function&lt;br /&gt;object.GetAutoServerSettings([progid], [clsid])&lt;br /&gt;&lt;br /&gt;Returns a Variant array that contains information concerning the state of an ActiveX object's registration. The optional progid and clsid can be included to specify the object's ProgID and CLSID, respectively. The values of the elements of the Variant array that are returned by GetAutoServerSettings are, in order: local/remote registration of object (True if the object is registered remotely), the remote machine name, the RPC network protocol name, and the RPC authentication level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GetObject Function&lt;br /&gt;GetObject([pathname] [,class])&lt;br /&gt;&lt;br /&gt;Returns a reference to an object of type class. The pathname argument can be included to specify the path and filename from which the object should be retrieved; however, if it is omitted, then the class name must be specified.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GetSetting Function&lt;br /&gt;GetSetting(appname, section, key[, default])&lt;br /&gt;&lt;br /&gt;Returns a single key setting value from a specific application (appname) entry and section (section) in the System Registry. If no value is set for the key setting specified, then the optional default value can be returned. If default is omitted, then the default value returned will be a zero-length string.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GoSub...Return Statement&lt;br /&gt;GoSub line&lt;br /&gt;    ...&lt;br /&gt;    line&lt;br /&gt;    ...&lt;br /&gt;Return&lt;br /&gt;&lt;br /&gt;Transfers program control to the subroutine indicated by the line label or line number line until the Return statement is reached; then returns control to the line of code immediately following the GoSub statement.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GoTo Statement&lt;br /&gt;GoTo line&lt;br /&gt;&lt;br /&gt;Transfers program control to the line of code specified by the line label or line number line. The line must be inside the procedure that contains the GoTo statement.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hex Function&lt;br /&gt;Hex(number)&lt;br /&gt;&lt;br /&gt;Returns a String value that represents the hexadecimal value of the argument number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hour Function&lt;br /&gt;Hour(time)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that represents the hour (0[nd]23) of the time value specified by the time argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If...Then...Else Statement&lt;br /&gt;If condition Then [statements] [Else elsestatements]&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If condition Then&lt;br /&gt;    [statements]&lt;br /&gt;[ElseIf condition-n Then&lt;br /&gt;    [elseifstatements] ...&lt;br /&gt;[Else&lt;br /&gt;    [elsestatements]]&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Conditionally executes one or more statements if the value expressed by condition is True. One or more ElseIf clauses can be included to test other conditions and execute other statements (elseifstatements) if the preceding condition is False. An Else clause can also be included to execute other statements (elsestatements) if none of the preceding conditions are True.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IIf Function&lt;br /&gt;IIf(expression, truepart, falsepart)&lt;br /&gt;&lt;br /&gt;Returns one of two values based on whether expression evaluates to True or False. If True, then IIf returns the truepart value; if False, then the falsepart value is returned.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IMEStatus Function&lt;br /&gt;IMEStatus&lt;br /&gt;&lt;br /&gt;Returns an Integer value that represents Windows' current Input Method Editor (IME) mode. IMEStatus is only available in Far East versions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Implements Statement&lt;br /&gt;Implements [interfacename | class]&lt;br /&gt;&lt;br /&gt;Specifies an interface (interfacename) or class (class) that will be implemented in the class module in which the Implements statement is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Input # Statement&lt;br /&gt;Input #filenumber, varlist&lt;br /&gt;&lt;br /&gt;Reads data from the open file associated with the filenumber argument and places it in the variables in the varlist argument. The varlist argument should contain one or more comma-delimited variables.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Input Function&lt;br /&gt;Input(number, [#]filenumber)&lt;br /&gt;&lt;br /&gt;Returns a String value containing characters read in from the open file that corresponds to the filenumber argument. The number of characters to be read in are specified by the number argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;InputBox Function&lt;br /&gt;InputBox(prompt[, title][, default][, xpos][, _ ypos][,helpfile, context])&lt;br /&gt;&lt;br /&gt;Displays a dialog box and waits for the user to enter text or click a button; then returns what the user entered in a String value. The prompt argument specifies the message to be displayed in the dialog box, title specifies an optional caption for the dialog box's title bar, and default specifies the optional default value returned by the InputBox function if no value is entered by the user. The optional xpos and ypos arguments specify (in twips) the horizontal and vertical position of the dialog box on the screen. The optional helpfile and context arguments are used to provide context-sensitive Help for the dialog box.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;InStr Function&lt;br /&gt;InStr([start, ]string1, string2[, compare])&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Long that specifies the starting position of the first occurrence of a substring (string2) within another string (string1). The optional start argument specifies from which character in string2 to start searching; the default is 1 (first character). The optional compare argument specifies the type of string comparison that will be made (0 for binary or 1 for textual noncase-sensitive).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Int Function&lt;br /&gt;Int(number)&lt;br /&gt;&lt;br /&gt;Returns the integer portion of the number specified by the number argument. If number is negative, then Int returns the first negative integer less than or equal to number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IPmt Function&lt;br /&gt;IPmt(rate, per, nper, pv[, fv[, type]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the interest payment for a fixed-period annuity based on a number (nper) of periodic fixed payments (per) and a fixed interest rate (rate). The pv argument specifies the present value of a series of payments or receipts. The optional fv argument specifies the future value or cash balance left after the final payment. The optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IRR Function&lt;br /&gt;IRR(values()[, guess])&lt;br /&gt;&lt;br /&gt;Returns a Double value indicating the internal rate of return for an array of values that represent cash flow. The values() array must contain at least one negative value (payment) and one positive value (receipt). The optional guess argument specifies an estimate value to be returned by IRR (default estimate is .1).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsArray Function&lt;br /&gt;IsArray(varname)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether the variable specified by varname is an array.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsDate Function&lt;br /&gt;IsDate(expression)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether expression is capable of being converted to a date value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsEmpty Function&lt;br /&gt;IsEmpty(expression)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether a numeric or string expression has been initialized.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsError Function&lt;br /&gt;IsError(expression)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether a given expression is an error value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsMissing Function&lt;br /&gt;IsMissing(argname)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether an optional Variant argument (argname) has been passed to a procedure. IsMissing returns True if no value has been provided for the specified argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsNull Function&lt;br /&gt;IsNull(expression)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether a given expression contains no data and is Null.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsNumeric Function&lt;br /&gt;IsNumeric(expression)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether a given expression can be evaluated as a numeric value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IsObject Function&lt;br /&gt;IsObject(identifier)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that indicates whether a given identifier represents an object variable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Kill Statement&lt;br /&gt;Kill pathname&lt;br /&gt;&lt;br /&gt;Deletes the file(s) or directory represented by the pathname argument. Filenames in the pathname argument can contain wildcards, allowing multiple files to be deleted.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LBound Function&lt;br /&gt;LBound(arrayname[, dimension])&lt;br /&gt;&lt;br /&gt;Returns a Long value that represents the smallest subscript for a dimensioned array (arrayname). For multidimensional arrays, the dimension argument can be included to specify which dimension should be used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LCase Function&lt;br /&gt;LCase(string)&lt;br /&gt;&lt;br /&gt;Converts a string to all lowercase characters and returns a new String value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Left Function&lt;br /&gt;Left(string, length)&lt;br /&gt;&lt;br /&gt;Returns a String value length characters long that is taken from the left side of a given string.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Len Function&lt;br /&gt;Len(string | varname)&lt;br /&gt;&lt;br /&gt;Returns a Long value that indicates the number of characters in a string or, alternatively, the number of bytes required to store a particular variable (varname).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let Statement&lt;br /&gt;[Let] varname = expression&lt;br /&gt;&lt;br /&gt;Assigns the value of an expression to a variable (varname). The Let keyword is usually omitted and is assumed by Visual Basic.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Line Input # Statement&lt;br /&gt;Line Input #filenumber, varname&lt;br /&gt;&lt;br /&gt;Reads a line of data (ending with a carriage return or carriage return-linefeed) from an open disk file corresponding to the filenumber argument. The data is placed in the String or Variant variable specified by varname.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Load Statement&lt;br /&gt;Load object&lt;br /&gt;&lt;br /&gt;Loads an object, such as a form or control, into memory.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LoadPicture Function&lt;br /&gt;LoadPicture([stringexpression])&lt;br /&gt;&lt;br /&gt;Loads the image specified by the stringexpression argument and returns it. This allows pictures to be loaded in and assigned to a Form's Picture property, a PictureBox control, or an Image control. If no stringexpression argument is given, then LoadPicture returns an empty picture.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LoadResData Function&lt;br /&gt;LoadResData(index, format)&lt;br /&gt;&lt;br /&gt;Loads data from the resource (.RES) file with the identifier of the index argument. The format argument specifies the format of the data (1 for cursors, 2 for bitmaps, 3 for icons, 4 for menus, 5 for dialog boxes, 6 for strings, 7 for font directories, 8 for fonts, 9 for accelerator tables, 10 for user-defined resources, 12 for group cursors, and 14 for group icons). The data returned by the LoadResData function can be assigned to a variable or object of the appropriate type.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LoadResPicture Function&lt;br /&gt;LoadResPicture(index, format)&lt;br /&gt;&lt;br /&gt;Loads a bitmap, icon, or cursor from the resource (.RES) file with the identifier of the index argument. The format argument specifies the format of the data (0 for bitmaps, 1 for icons, and 2 for cursors). The data returned by the LoadResPicture function can be assigned to an object of the appropriate type.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LoadResString Function&lt;br /&gt;LoadResString(index)&lt;br /&gt;&lt;br /&gt;Loads a string from the resource (.RES) file with the identifier of the index argument. The string that is returned can be assigned to a variable of String or Variant data type.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Loc Function&lt;br /&gt;Loc(filenumber)&lt;br /&gt;&lt;br /&gt;Returns a Long value that indicates the current byte position within the open file that corresponds to the filenumber argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lock Statement&lt;br /&gt;Lock [#]filenumber[, recordrange]&lt;br /&gt;&lt;br /&gt;Prevents another process from accessing all or part of the open file that corresponds to the filenumber argument. The recordrange argument refers to a range of records (or bytes) that are to be locked and should use the syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;recnumber | [start] To end&lt;br /&gt;&lt;br /&gt;where recnumber is the record number (for Random files) or byte position (for Binary files) where locking should begin. Alternatively, the starting and ending record numbers or bytes to be locked can be specified using the start and end arguments.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LOF Function&lt;br /&gt;LOF(filenumber)&lt;br /&gt;&lt;br /&gt;Returns a Boolean value that represents the byte size of the open file that corresponds to the filenumber argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Log Function&lt;br /&gt;Log(number)&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the natural logarithm of a specified number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LSet Statement&lt;br /&gt;LSet stringvar = string&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LSet varname1 = varname2&lt;br /&gt;&lt;br /&gt;In the first syntax, LSet assigns a string value to a String variable (stringvar), left-aligning the string to the String variable. In the second syntax, LSet copies a variable (varname2) from one user-defined type to a variable (varname1) in another user-defined type.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LTrim Function&lt;br /&gt;LTrim(string)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that contains a copy of a given string with any leading spaces removed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mid Function&lt;br /&gt;Mid(string, start[, length])&lt;br /&gt;&lt;br /&gt;Returns a String value of one or more characters, taken from the String variable specified by the string argument. The start argument specifies the character position within string where the new String is to be obtained, and the optional length argument specifies how many characters are to be taken from string. If no length is specified, then all the characters in string (starting at the position given in the start argument) are used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mid Statement&lt;br /&gt;Mid(stringvar, start[, length]) = string&lt;br /&gt;&lt;br /&gt;Replaces one or more characters in a String variable (stringvar) with another string. The start argument specifies the character position within stringvar to place the new string, and the optional length argument specifies how many characters of string should be used. If length is omitted, then the entire string is used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Minute Function&lt;br /&gt;Minute(time)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that represents the minute (0-59) of the time value specified by the time argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MIRR Function&lt;br /&gt;MIRR(values(), financerate, reinvestrate)&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the modified internal rate of return for an array of values that represent cash flow. The values() array must contain at least one negative value (payment) and one positive value (receipt). The financerate argument specifies the interest rate paid as a cost of financing, and the reinvestrate argument specifies the interest rate received on gains from cash reinvestment.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MkDir Statement&lt;br /&gt;MkDir path&lt;br /&gt;&lt;br /&gt;Creates the new directory or folder specified by the path argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Month Function&lt;br /&gt;Month(date)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that represents the month (1[nd]12) for the date value specified by the date argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;MsgBox Function&lt;br /&gt;MsgBox(prompt[, buttons][, title][, helpfile, context]&lt;br /&gt;&lt;br /&gt;Displays a message in a dialog box with one or more buttons and waits for the user to respond. MsgBox then returns an Integer value that represents the button that was clicked. The prompt argument specifies the message to be displayed in the dialog box, and title specifies an optional caption for the dialog box's title bar. The optional buttons argument specifies which buttons will be displayed. The optional helpfile and context arguments are used to provide context-sensitive Help for the dialog box.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Name Statement&lt;br /&gt;Name oldpathname As newpathname&lt;br /&gt;&lt;br /&gt;Renames the file, directory, or folder specified by the oldpathname argument to the name specified by newpathname.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now Function&lt;br /&gt;Now&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Date that contains the current system date and time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NPer Function&lt;br /&gt;NPer(rate, pmt, pv[, fv[, type]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the number of periods for an annuity based on periodic fixed payments (pmt) and a fixed interest rate (rate). The pv argument specifies the present value of a series of payments or receipts. The optional fv argument specifies the future value or cash balance left after the final payment. The optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NPV Function&lt;br /&gt;NPV(rate, values())&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the present value of an investment based on a discount rate (rate) and an array of values that represent cash flow. The values() array must contain at least one negative value (payment) and one positive value (receipt).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Oct Function&lt;br /&gt;Oct(number)&lt;br /&gt;&lt;br /&gt;Returns a String value that represents the octal value of the argument number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On Error Statement&lt;br /&gt;On Error GoTo line&lt;br /&gt;On Error Resume Next&lt;br /&gt;On Error GoTo 0&lt;br /&gt;&lt;br /&gt;Enables or disables the use of an error-handling routine. The On Error statement can specify a line label or line number (specified by the line argument) to branch to when an error occurs, allowing error-handling to be enabled. Alternatively, using On Error Resume Next causes program control to be transferred to the line of code immediately following the line of code that causes an error. Finally, On Error GoTo 0 disables all error-handling.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On...GoSub Statement&lt;br /&gt;On expression GoSub destinationlist&lt;br /&gt;&lt;br /&gt;Evaluates a given expression and, depending on its value, transfers program control to a certain subroutine. The possible subroutines are contained in the destinationlist argument, which contains one or more comma-delimited line labels or line numbers. If expression evaluates to 1, then the first subroutine in the destinationlist is used; if it evaluates to 2, then the second subroutine in the destinationlist is used; and so on. Control is transferred to the line of code immediately following the On...GoSub line when a Return statement is encountered.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On...GoTo Statement&lt;br /&gt;On expression GoTo destinationlist&lt;br /&gt;&lt;br /&gt;Evaluates a given expression and, depending on its value, transfers program control to a certain line label or line number. The possible transfer points are contained in the destinationlist argument, which contains one or more comma-delimited line labels or line numbers. If expression evaluates to 1, then the first line label in the destinationlist is used; if it evaluates to 2, then the second line label in the destinationlist is used; and so on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Open Statement&lt;br /&gt;Open pathname For mode [Access access] [lock] As _  [#]filenumber [Len=reclength]&lt;br /&gt;&lt;br /&gt;Opens a file for input/output and assigns it to the given filenumber. The pathname argument specifies the name of the file to open, and mode indicates the file mode (Append, Binary, Input, Output, or Random). The optional Access clause can be used to specify permissions for the file (Read, Write, or Read Write). The optional lock argument can specify the operations that can be performed on the file by other processes (Shared, Lock Read, Lock Write, or Lock Read Write). The reclength argument can be used to specify the record size for random files or the buffer size for sequential files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option Base Statement&lt;br /&gt;Option Base [0 | 1]&lt;br /&gt;&lt;br /&gt;Declares the default lower bound of array subscripts. Option Base can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option Compare Statement&lt;br /&gt;Option Compare [Binary | Text | Database]&lt;br /&gt;&lt;br /&gt;Declares the default method used for string comparisons. Option Compare can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option Explicit Statement&lt;br /&gt;Option Explicit&lt;br /&gt;&lt;br /&gt;Forces explicit declaration of all variables in a module. If Option Explicit is not used, undeclared variables are automatically typed as Variants. Option Explicit can only be used at module level.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Option Private Statement&lt;br /&gt;Option Private Module&lt;br /&gt;&lt;br /&gt;Prevents a module's contents (that is, variables and objects) from being used outside its project. Option Private is only necessary when working with host applications that allow variables and objects to be referenced across multiple projects.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Partition Function&lt;br /&gt;Partition(number, start, stop, interval)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that describes a range of numbers in which the number argument falls. The start and stop arguments specify the overall range of numbers, which is split up into smaller ranges as specified by the interval argument. The Partition function returns a string representation of the smaller range in which the number can be found, such as " 1: 10" for a number that falls in the range of 1 to 10.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pmt Function&lt;br /&gt;Pmt(rate, nper, pv[, fv[, type]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the payment for an annuity based on a number (nper) of periodic fixed payments and a fixed interest rate (rate). The pv argument specifies the present value of a series of payments or receipts. The optional fv argument specifies the future value or cash balance left after the final payment. The optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PPmt Function&lt;br /&gt;PPmt(rate, per, nper, pv[, fv[, type]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the principle payment for a given period (per) of an annuity based on a number (nper) of periodic fixed payments and a fixed interest rate (rate). The pv argument specifies the present value of a series of payments or receipts. The optional fv argument specifies the future value or cash balance left after the final payment. The optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Print # Statement&lt;br /&gt;Print #filenumber, [outputlist]&lt;br /&gt;&lt;br /&gt;Writes data to the open sequential file that corresponds to filenumber. The optional outputlist argument can consist of one or more comma-delimited expressions to be written and should use the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[{Spc(n) | Tab[(n)]}] [expression][charpos]&lt;br /&gt;&lt;br /&gt;where Spc is optionally used to write n spaces, and Tab is optionally used to advance to the nth column number. The expression argument can specify the data to be written, and the charpos argument can specify the insertion point for the next character. If charpos is omitted, the next character will be written on the next line. If it is a semicolon, the next character will be written immediately following the last character.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Private Statement&lt;br /&gt;Private [WithEvents] varname[([subscripts])] [As [New] type][,[WithEvents] &lt;br /&gt;varname[([subscripts])]      [As [New] type]]...&lt;br /&gt;&lt;br /&gt;Declares one or more private variables. The varname argument specifies the name of the variable being declared, and subscripts are the dimensions for an array variable. The optional As [New] type clause can be used to specify the variable's data type, with the New keyword enabling implicit creation of an object. The optional WithEvents keyword specifies that the variable being declared is an object variable used to respond to events triggered by an ActiveX object. The Private statement can only be used at module level, and variables declared with it cannot be used outside their own module.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Property Get Statement&lt;br /&gt;[Public | Private | Friend] [Static] Property Get name [(arglist)] [As type]&lt;br /&gt;    [statements]&lt;br /&gt;    [name = expression]&lt;br /&gt;    [Exit Property]&lt;br /&gt;    [statements]&lt;br /&gt;    [name = expression]&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Declares the various parts of a Property Get procedure, which is used to obtain the value of a property. The optional Public, Private, and Friend keywords can be used to define the procedure's scope, and the optional Static keyword indicates that the procedure's local variables are preserved between calls to the procedure. The name argument specifies the name of the property to be retrieved and can be assigned a value (name = expression) that will be returned as the property's value. The data type of the property can be specified using the As type clause. The optional Exit Property can be used to exit the Property Get procedure immediately.&lt;br /&gt;&lt;br /&gt;The optional list of arguments (arglist) defines the arguments that will be passed to the procedure. The arguments should use the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Optional] [ByVal | ByRef] [ParamArray] varname[()]     [As type] [= default value]&lt;br /&gt;&lt;br /&gt;where the Optional keyword can be used to specify that the argument is not required (default value assigns the argument's default value), ByVal and ByRef determine whether the argument should be passed by value or by reference (the default), and the ParamArray keyword specifies that the argument is an Optional array of Variant elements. ParamArray can only be used with the last argument in the argument list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Property Let Statement&lt;br /&gt;[Public | Private | Friend] [Static] Property Let name ([arglist,] value)&lt;br /&gt;    [statements]&lt;br /&gt;    [Exit Property]&lt;br /&gt;    [statements]&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Declares the various parts of a Property Let procedure, which is used to assign a value to a property. The optional Public, Private, and Friend keywords can be used to define the procedure's scope, and the optional Static keyword indicates that the procedure's local variables are preserved between calls to the procedure. The name argument specifies the name of the property being referenced, and value indicates the value to be assigned to the property. The optional Exit Property can be used to exit the Property Let procedure immediately.&lt;br /&gt;&lt;br /&gt;The optional list of arguments (arglist) defines the arguments that will be passed to the procedure. The arguments should use the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Optional] [ByVal | ByRef] [ParamArray] varname[()]     [As type] [= default value]&lt;br /&gt;&lt;br /&gt;where the Optional keyword can be used to specify that the argument is not required (default value assigns the argument's default value), ByVal and ByRef determine whether the argument should be passed by value or by reference (the default), and the ParamArray keyword specifies that the argument is an Optional array of Variant elements. ParamArray can only be used with the last argument in the argument list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Property Set Statement&lt;br /&gt;[Public | Private | Friend] [Static] Property Set name ([arglist,] reference)&lt;br /&gt;    [statements]&lt;br /&gt;    [Exit Property]&lt;br /&gt;    [statements]&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Declares the various parts of a Property Set procedure, which is used to set a reference to an object. The optional Public, Private, and Friend keywords can be used to define the procedure's scope, and the optional Static keyword indicates that the procedure's local variables are preserved between calls to the procedure. The name argument specifies the name of the property being used, and reference indicates the object reference to be set to the property. The optional Exit Property can be used to exit the Property Set procedure immediately.&lt;br /&gt;&lt;br /&gt;The optional list of arguments (arglist) defines the arguments that will be passed to the procedure. The arguments should use the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Optional] [ByVal | ByRef] [ParamArray] varname[()] [As type] [= default value]&lt;br /&gt;&lt;br /&gt;where the Optional keyword can be used to specify that the argument is not required (default value assigns the argument's default value), ByVal and ByRef determine whether the argument should be passed by value or by reference (the default), and the ParamArray keyword specifies that the argument is an Optional array of Variant elements. ParamArray can only be used with the last argument in the argument list.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Statement&lt;br /&gt;Public [WithEvents] varname[([subscripts])] [As [New] type][,[WithEvents] &lt;br /&gt;varname[([subscripts])] [As [New] type]]...&lt;br /&gt;&lt;br /&gt;Declares one or more public variables. The varname argument specifies the name of the variable being declared, and subscripts are the dimensions for an array variable. The optional As [New] type clause can be used to specify the variable's data type, with the New keyword enabling implicit creation of an object. The optional WithEvents keyword specifies that the variable being declared is an object variable used to respond to events triggered by an ActiveX object. The Public statement can only be used at module level, and variables declared with it can be used outside their own module.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Put Statement&lt;br /&gt;Put [#]filenumber, [recnumber], varname&lt;br /&gt;&lt;br /&gt;Writes data to the open disk file corresponding to the filenumber argument from a variable (varname). Put works with files open as Random or Binary, and a record number (recnumber) can be specified when writing data to a Random file. When using Binary files, recnumber can alternatively be used to specify the byte position at which the data is to be written.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PV Function&lt;br /&gt;PV(rate, nper, pmt[, fv[, type]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the present value of an annuity based on a number (nper) of periodic fixed payments (pmt) and a fixed interest rate (rate). The optional fv argument specifies the future value or cash balance left after the final payment. The optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;QBColor Function&lt;br /&gt;QBColor(color)&lt;br /&gt;&lt;br /&gt;Returns a Long value that represents the RGB color code that corresponds to a given color number (0[nd]15) of the color palette used in Microsoft QuickBasic.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RaiseEvent Function&lt;br /&gt;RaiseEvent eventname [(argumentlist)]&lt;br /&gt;&lt;br /&gt;Triggers an event. The optional argumentlist specifies one or more comma-delimited arguments to be passed to the event procedure. The event procedure must be declared in the same module as the RaiseEvent function or an error will occur.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Randomize Statement&lt;br /&gt;Randomize [number]&lt;br /&gt;&lt;br /&gt;Initializes the random number generator, using the optional number argument as a seed value.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rate Function&lt;br /&gt;Rate(nper, pmt, pv[, fv[, type[, guess]]])&lt;br /&gt;&lt;br /&gt;Returns a Double value that indicates the fixed interest rate per period for an annuity based on a number (nper) of periodic fixed payments (pmt). The optional fv argument specifies the future value or cash balance left after the final payment. The optional type argument specifies when payments are due (0 for end of the payment period, the default; 1 for beginning of the payment period). The optional guess argument specifies an estimate value to be returned by Rate (default estimate is .1).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ReDim Statement&lt;br /&gt;ReDim [Preserve] varname(subscripts) [As type] [, varname(subscripts) [As type]]...&lt;br /&gt;&lt;br /&gt;Redimensions one or more dynamic array variables and reallocates their storage space. The optional Preserve keyword can be used to keep the contents of the array intact when it is being redimensioned. The varname argument is the name of the variable, and the optional As type clause indicates its data type. The subscripts are the dimensions of the array variable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rem Statement&lt;br /&gt;Rem comments&lt;br /&gt;&lt;br /&gt;Allows comments to be added to a program. Everything on the line after the Rem statement is ignored by Visual Basic. An apostrophe (`) can also be used in lieu of the Rem statement.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reset Statement&lt;br /&gt;Reset&lt;br /&gt;&lt;br /&gt;Closes all files opened with the Open statement and writes any file buffer contents to disk.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Resume Statement&lt;br /&gt;Resume [0]&lt;br /&gt;Resume Next&lt;br /&gt;Resume line&lt;br /&gt;&lt;br /&gt;Resumes execution of a program when an error-handling routine is finished. Resume by itself causes execution to resume with the statement that caused the error or, if the error occurred in a called procedure, the statement that last called out of the error-handling procedure. Resume Next causes execution to resume with the statement immediately following the one that caused the error. Resume line transfers control to the line label or line number specified by the line argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RGB Function&lt;br /&gt;RGB(red, green, blue)&lt;br /&gt;&lt;br /&gt;Returns a Long value that represents an RGB color value as specified by the red, green, and blue color components passed to the RGB function. All color components should be Integers in the 0[nd]255 range.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Right Function&lt;br /&gt;Right(string, length)&lt;br /&gt;&lt;br /&gt;Returns a String value length characters long that is taken from the right side of a given string.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RmDir Statement&lt;br /&gt;RmDir path&lt;br /&gt;&lt;br /&gt;Removes the directory or folder specified by the path argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Rnd Function&lt;br /&gt;Rnd[(number)]&lt;br /&gt;&lt;br /&gt;Returns a Single value that contains a randomly generated number less than 1 but greater than or equal to zero. The optional number argument can be used to determine how Rnd generates the random number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RSet Statement&lt;br /&gt;RSet stringvar = string&lt;br /&gt;&lt;br /&gt;Assigns a string value to a String variable (stringvar), right-aligning the string to the String variable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RTrim Function&lt;br /&gt;RTrim(string)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that contains a copy of a given string with any trailing spaces removed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SavePicture Statement&lt;br /&gt;SavePicture picture, stringexpression&lt;br /&gt;&lt;br /&gt;Saves an graphic image from an object's Picture or Image property to a file. The picture argument specifies the control from which the graphics file is to be created (Picture or Image), and stringexpression specifies the path and filename to which the image is saved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SaveSetting Statement&lt;br /&gt;SaveSetting appname, section, key, setting&lt;br /&gt;&lt;br /&gt;Saves or creates an application (appname) entry, section (section), key setting (key), and value (setting) in the System Registry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Second Function&lt;br /&gt;Second(time)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that represents the second (0[nd]59) of the time value specified by the time argument.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Seek Function&lt;br /&gt;Seek(filenumber)&lt;br /&gt;&lt;br /&gt;Returns a Long value that specifies the current record or byte position for the open file associated with filenumber. When dealing with Random files, Seek returns the number of the next record to be read or written. For all other file types, Seek returns a byte position.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Seek Statement&lt;br /&gt;Seek [#]filenumber, position&lt;br /&gt;&lt;br /&gt;Sets the record or byte position of the open file associated with filenumber.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select Case Statement&lt;br /&gt;Select Case testexpression&lt;br /&gt;    [Case expressionlist-n&lt;br /&gt;        [statements-n]] ...&lt;br /&gt;    [Case Else&lt;br /&gt;        [elsestatements]]&lt;br /&gt;End Select&lt;br /&gt;&lt;br /&gt;Evaluates an expression (testexpression) and, depending on the result, executes one or more statements (statements-n) that correspond to the expression's value (expressionlist-n). In other words, the value of testexpression is compared with one or more other values (expressionlist-n), and whichever matches gets its statements (statements-n) executed. If there are no matches, an optional Case Else set of statements (elsestatements) is executed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SendKeys Statement&lt;br /&gt;Generates one or more keystrokes as if they came from the keyboard. The string argument determines which keystrokes to send, and the optional Wait argument (Boolean) specifies whether keystrokes must be processed before control is returned to the procedure. False, the default value, means that control is returned to the procedure immediately after the keystrokes are sent.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set Statement&lt;br /&gt;Set objectvar = {[New] objectexpression | Nothing}&lt;br /&gt;&lt;br /&gt;Assigns an object reference (objectexpression) to a variable or property (objectvar). The optional New keyword can be used to indicate that the object should be created implicitly. To disassociate objectvar with a specific object and free up the resources it is using, assign it the Nothing keyword.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SetAttr Statement&lt;br /&gt;SetAttr pathname, attributes&lt;br /&gt;&lt;br /&gt;Sets attributes for the file or directory specified by the pathname argument. The attributes argument can use several VB constants (vbNormal, vbReadOnly, vbHidden, vbSystem, vbDirectory, and vbArchive) that can be combined bitwise to determine which attributes are set.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sgn Function&lt;br /&gt;Sgn(number)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that represents the sign of a given number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Shell Function&lt;br /&gt;Shell(pathname[, windowstyle])&lt;br /&gt;&lt;br /&gt;Runs the executable program specified by the pathname argument and returns a Variant of subtype Double that represents the program's task ID. If Shell is unsuccessful, it returns zero. The optional windowstyle argument determines the style of the window in which the shelled program runs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sin Function&lt;br /&gt;Sin(number)&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the sine of a given angle (as specified by the number argument).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SLN Function&lt;br /&gt;SLN(cost, salvage, life)&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the straight-line depreciation of an asset when given its initial cost, salvage value at the end of its useful life, and life span.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Space Function&lt;br /&gt;Space(number)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that contains a number of spaces.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Spc Function&lt;br /&gt;Spc(n)&lt;br /&gt;&lt;br /&gt;Inserts a specified number of spaces (n) when writing or displaying text using the Print # statement or the Print method.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sqr Function&lt;br /&gt;Sqr(number)&lt;br /&gt;&lt;br /&gt;Returns a Double value that represents the square root of a given number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Static Statement&lt;br /&gt;Static varname[([subscripts])] [As [New] type] [, varname[([subscripts])] &lt;br /&gt;[As [New] type] ...&lt;br /&gt;&lt;br /&gt;Declares one or more static variables, which retain their values as long as the program is running. The varname argument is the name of the variable, and the optional As [New] type indicates its data type. If the New keyword is used, then an implicit creation of the object is made. The optional subscripts are the dimensions of an array variable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Stop Statement&lt;br /&gt;Stop&lt;br /&gt;&lt;br /&gt;Suspends program execution.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Str Function&lt;br /&gt;Str(number)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that is a representation of a given number.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;StrComp Function&lt;br /&gt;StrComp(string1, string2[, compare])&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype Integer that indicates the result of a comparison between two strings (string1 and string2). The optional compare argument specifies how strings are to be compared, with 0 for a binary comparison and 1 for a noncase- sensitive textual comparison.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;StrConv Function&lt;br /&gt;StrConv(string, conversion)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that has been converted from an original string as specified by the conversion argument. The conversion argument can use several VB constants to specify the type of conversion, such as vbUpperCase, vbLowerCase, and vbProperCase.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;String Function&lt;br /&gt;String(number, character)&lt;br /&gt;&lt;br /&gt;Returns a Variant of subtype String that is of the length specified by number and is filled with a given character.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub Statement&lt;br /&gt;[Public | Private | Friend] [Static] Sub name [(arglist)]&lt;br /&gt;    [statements]&lt;br /&gt;    [Exit Sub]&lt;br /&gt;    [statements]&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Declares the various parts of a Sub procedure. The optional Public, Private, and Friend keywords can be used to define the Sub's scope, and the optional Static keyword indicates that the procedure's local variables are preserved between calls to the Sub. The name argument specifies the name of the Sub procedure. The optional Exit Sub can be used to exit the Sub procedure immediately.&lt;br /&gt;&lt;br /&gt;The optional list of arguments (arglist) defines the arguments that will be passed to the procedure. The arguments should use the following syntax:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[Optional] [ByVal | ByRef] [ParamArray] varname[()] [As _ type] [= default value]&lt;br /&gt;&lt;br /&gt;where the Optional keyword can be used to specify that the argument is not required (default value assigns the argument's default value), ByVal and ByRef determine whether the arg&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-3929278904713260820?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/3929278904713260820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/functions-statements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3929278904713260820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3929278904713260820'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/functions-statements.html' title='Functions &amp; Statements'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-600416166614493416</id><published>2011-03-27T22:18:00.000+07:00</published><updated>2011-03-27T22:18:00.704+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>File Exists</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;Function FileExists (strPath As String) As Integer &lt;br /&gt;Dim lngRetVal As Long &lt;br /&gt;On Error Resume Next &lt;br /&gt; lngRetVal = Len(Dir$(strPath)) &lt;br /&gt; If Err Or lngRetVal = 0 Then &lt;br /&gt;    FileExists = False &lt;br /&gt; Else &lt;br /&gt;           FileExists = True &lt;br /&gt; End if &lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-600416166614493416?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/600416166614493416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/file-exists.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/600416166614493416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/600416166614493416'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/file-exists.html' title='File Exists'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-3333117030859714391</id><published>2011-03-27T22:17:00.000+07:00</published><updated>2011-03-27T22:17:00.194+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Explore File Capabilities</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;'// Place the following code in a Module &lt;br /&gt;&lt;br /&gt;Public Const FO_MOVE As Long = &amp;H1 &lt;br /&gt;Public Const FO_COPY As Long = &amp;H2 &lt;br /&gt;Public Const FO_DELETE As Long = &amp;H3 &lt;br /&gt;Public Const FO_RENAME As Long = &amp;H4 &lt;br /&gt;Public Const FOF_MULTIDESTFILES As Long = &amp;H1 &lt;br /&gt;Public Const FOF_CONFIRMMOUSE As Long = &amp;H2 &lt;br /&gt;Public Const FOF_SILENT As Long = &amp;H4 &lt;br /&gt;Public Const FOF_RENAMEONCOLLISION As Long = &amp;H8 &lt;br /&gt;Public Const FOF_NOCONFIRMATION As Long = &amp;H10 &lt;br /&gt;Public Const FOF_WANTMAPPINGHANDLE As Long = &amp;H20 &lt;br /&gt;Public Const FOF_CREATEPROGRESSDLG As Long =&amp;H0 &lt;br /&gt;Public Const FOF_ALLOWUNDO As Long = &amp;H40 &lt;br /&gt;Public Const FOF_FILESONLY As Long = &amp;H80 &lt;br /&gt;Public Const FOF_SIMPLEPROGRESS As Long = &amp;H100 &lt;br /&gt;Public Const FOF_NOCONFIRMMKDIR As Long = &amp;H200 &lt;br /&gt;&lt;br /&gt;Type SHFILEOPSTRUCT &lt;br /&gt; hwnd As Long &lt;br /&gt; wFunc As Long &lt;br /&gt; pFrom As String &lt;br /&gt; pTo As String &lt;br /&gt; fFlags As Long &lt;br /&gt; fAnyOperationsAborted As Long &lt;br /&gt; hNameMappings As Long &lt;br /&gt; lpszProgressTitle As String &lt;br /&gt;End Type &lt;br /&gt;&lt;br /&gt;Declare Function SHFileOperation Lib "Shell32.dll" Alias "SHFileOperationA" (lpFileOp As _                                                                         SHFILEOPSTRUCT) As Long &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private Function Explorer(hWnd As Long) &lt;br /&gt;Dim result As Long, fileop As SHFILEOPSTRUCT &lt;br /&gt;With fileop &lt;br /&gt; .hwnd = hWnd &lt;br /&gt; .wFunc = FO_COPY &lt;br /&gt; .pFrom = "C:\ROGRAM FILES\ICROSOFT VISUAL BASIC\B.HLP" &amp; _&lt;br /&gt; vbNullChar &amp; "C:\ROGRAM FILES\ICROSOFT VISUAL BASIC\EADME.HLP" &amp; _&lt;br /&gt; vbNullChar &amp; vbNullChar &lt;br /&gt; ' .pFrom = "C:\.*" &amp; vbNullChar &amp; vbNullChar &lt;br /&gt; .pTo = "C:\estfolder" &amp; vbNullChar &amp; vbNullChar &lt;br /&gt; .fFlags = FOF_SIMPLEPROGRESS Or FOF_FILESONLY &lt;br /&gt;End With &lt;br /&gt;result = SHFileOperation(fileop) &lt;br /&gt;If result &lt;&gt; 0 Then &lt;br /&gt;    '// Operation failed &lt;br /&gt;    MsgBox Err.LastDllError &lt;br /&gt;Else &lt;br /&gt;   If fileop.fAnyOperationsAborted &lt;&gt; 0 Then &lt;br /&gt;      MsgBox "Operation Failed" &lt;br /&gt;   End If &lt;br /&gt;End If &lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-3333117030859714391?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/3333117030859714391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/explore-file-capabilities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3333117030859714391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3333117030859714391'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/explore-file-capabilities.html' title='Explore File Capabilities'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-7224728628472682273</id><published>2011-03-27T22:11:00.000+07:00</published><updated>2011-03-27T22:11:01.072+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>System Color</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;'---------------------------------------------------&lt;br /&gt;'PUT THIS IN THE MODULE&lt;br /&gt;'---------------------------------------------------&lt;br /&gt;Global original_menu_color              As Long&lt;br /&gt;Global original_buttonface_color        As Long&lt;br /&gt;Global original_buttonshadow_color      As Long&lt;br /&gt;Global original_buttonhighlight_color      As Long&lt;br /&gt;&lt;br /&gt;Public Declare Function SetSysColors Lib "user32" (ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long&lt;br /&gt;Public Declare Function GetSysColor Lib "user32" (ByVal nIndex As Long) As Long&lt;br /&gt;&lt;br /&gt;Public Const COLOR_WINDOW = 5&lt;br /&gt;Public Const COLOR_WINDOWFRAME = 6&lt;br /&gt;Public Const COLOR_MENUTEXT = 7&lt;br /&gt;Public Const COLOR_WINDOWTEXT = 8&lt;br /&gt;Public Const COLOR_CAPTIONTEXT = 9&lt;br /&gt;Public Const COLOR_ACTIVEBORDER = 10&lt;br /&gt;Public Const COLOR_SCROLLBAR = 0&lt;br /&gt;Public Const COLOR_INACTIVECAPTION = 3&lt;br /&gt;Public Const COLOR_MENU = 4&lt;br /&gt;Public Const COLOR_BACKGROUND = 1&lt;br /&gt;Public Const COLOR_ACTIVECAPTION = 2&lt;br /&gt;Public Const COLOR_HIGHLIGHT = 13&lt;br /&gt;Public Const COLOR_HIGHLIGHTTEXT = 14&lt;br /&gt;Public Const COLOR_BTNFACE = 15&lt;br /&gt;Public Const COLOR_BTNSHADOW = 16&lt;br /&gt;Public Const COLOR_GRAYTEXT = 17&lt;br /&gt;Public Const COLOR_BTNTEXT = 18&lt;br /&gt;Public Const COLOR_INACTIVECAPTIONTEXT = 19&lt;br /&gt;Public Const COLOR_BTNHIGHLIGHT = 20&lt;br /&gt;Public Const COLOR_2NDACTIVECAPTION = 27&lt;br /&gt;Public Const COLOR_2NDINACTIVECAPTION = 28&lt;br /&gt;Public Const COLOR_INACTIVEBORDER = 11&lt;br /&gt;Public Const COLOR_APPWORKSPACE = 12&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Type ColorSystem&lt;br /&gt;    SelectColor(0 To 20) As Long&lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Public New_System_Color As ColorSystem&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Sub select_color_type()&lt;br /&gt;            'This is an XP Style color system&lt;br /&gt;            New_System_Color.SelectColor(4) = RGB(239, 238, 224)  'Menu&lt;br /&gt;            New_System_Color.SelectColor(15) = RGB(240, 240, 224) 'Button&lt;br /&gt;            New_System_Color.SelectColor(16) = RGB(216, 210, 189) 'Button Shadow&lt;br /&gt;            New_System_Color.SelectColor(20) = RGB(255, 255, 255) 'Button Highlight&lt;br /&gt;&lt;br /&gt;            Call change_system_color&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Public Sub change_system_color()&lt;br /&gt;&lt;br /&gt;Call SetSysColors(1, 4, New_System_Color.SelectColor(4))   'Menu&lt;br /&gt;Call SetSysColors(1, 15, New_System_Color.SelectColor(15)) 'Button&lt;br /&gt;Call SetSysColors(1, 16, New_System_Color.SelectColor(16)) 'Button Shadow&lt;br /&gt;Call SetSysColors(1, 20, New_System_Color.SelectColor(20)) 'Button Highlight&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;'---------------------------------------------------&lt;br /&gt;'END CODE FOR MODULE&lt;br /&gt;'---------------------------------------------------&lt;br /&gt;&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;      'This will change the system color when you run your application&lt;br /&gt;      Call select_color_type()&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-7224728628472682273?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/7224728628472682273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/system-color.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7224728628472682273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7224728628472682273'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/system-color.html' title='System Color'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-7468984375471865451</id><published>2011-03-26T22:10:00.001+07:00</published><updated>2011-03-27T00:39:47.945+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Change File Extension</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;Public Function ChangeFileExt(ByVal aFilename As String, ByVal NewExt As String) As Boolean&lt;br /&gt;Dim p As Long&lt;br /&gt;Dim bp As Long&lt;br /&gt;Dim nFileName As String&lt;br /&gt;&lt;br /&gt;On Error Resume Next&lt;br /&gt;   ChangeFileExt = False&lt;br /&gt;   If aFilename = "" Then Exit Function&lt;br /&gt;      p = 0&lt;br /&gt;      Do&lt;br /&gt;        bp = p&lt;br /&gt;        p = InStr(p + 1, aFilename, ".", vbBinaryCompare)&lt;br /&gt;      Loop Until p = 0&lt;br /&gt;&lt;br /&gt;      If bp &gt; 0 Then&lt;br /&gt;         nFileName = Left(aFilename, bp - 1)&lt;br /&gt;      Else&lt;br /&gt;         nFileName = aFilename&lt;br /&gt;      End If&lt;br /&gt;     nFileName = nFileName &amp; "." &amp; NewExt&lt;br /&gt;     Err.Clear&lt;br /&gt;     Name aFilename As nFileName&lt;br /&gt;&lt;br /&gt;     If Err.Number = 0 Then ChangeFileExt = True&lt;br /&gt;End Function&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-7468984375471865451?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/7468984375471865451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/change-file-extension.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7468984375471865451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7468984375471865451'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/change-file-extension.html' title='Change File Extension'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8538489606615739932</id><published>2011-03-26T22:09:00.001+07:00</published><updated>2011-03-27T00:41:46.011+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>CPU Beep</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;Public Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, _&lt;br /&gt;                                             ByVal dwDuration As Long) _&lt;br /&gt;                                             As Long&lt;br /&gt;'Add a Picture box on Form&lt;br /&gt;&lt;br /&gt;Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;If List3.ListIndex &amp;lt;&amp;gt; 4 Then&lt;br /&gt;   Beep X + Y, Text3.Text&lt;br /&gt;Else&lt;br /&gt;   Beep X + Y, Text3.Text + (Y / 50)&lt;br /&gt;End If&lt;br /&gt;Label3.Caption = Hex(X) &amp;amp; " " &amp;amp; Hex(Y) &amp;amp; " - " &amp;amp; Hex(Text3.Text) &amp;amp; Oct(X + Y)&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8538489606615739932?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8538489606615739932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/cpu-beep.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8538489606615739932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8538489606615739932'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/cpu-beep.html' title='CPU Beep'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-6459679112748434810</id><published>2011-03-26T22:08:00.001+07:00</published><updated>2011-03-26T22:08:01.397+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Agents</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;'Set form's AutoRedraw property toTrue&lt;br /&gt;Sub PaintControl3D(frm As Form, Ctl As Control)&lt;br /&gt;    ' This Sub draws lines around controls to make them 3d&lt;br /&gt;    &lt;br /&gt;    ' darkgrey, upper - horizontal&lt;br /&gt;    frm.Line (Ctl.Left, Ctl.Top - 15)-(Ctl.Left + _&lt;br /&gt;          Ctl.Width, Ctl.Top - 15), &amp;H808080, BF&lt;br /&gt;    ' darkgrey, left - vertical&lt;br /&gt;    frm.Line (Ctl.Left - 15, Ctl.Top)-(Ctl.Left - 15, _&lt;br /&gt;         Ctl.Top + Ctl.Height), &amp;H808080, BF&lt;br /&gt;    ' white, right - vertical&lt;br /&gt;    frm.Line (Ctl.Left + Ctl.Width, Ctl.Top)- _&lt;br /&gt;      (Ctl.Left + Ctl.Width, Ctl.Top + Ctl.Height), &amp;HFFFFFF, BF&lt;br /&gt;    ' white, lower - horizontal&lt;br /&gt;    frm.Line (Ctl.Left, Ctl.Top + Ctl.Height)- _&lt;br /&gt;    (Ctl.Left + Ctl.Width, Ctl.Top + Ctl.Height), &amp;HFFFFFF, BF&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Sub PaintForm3D(frm As Form)&lt;br /&gt;    ' This Sub draws lines around the Form to make it 3d&lt;br /&gt;    &lt;br /&gt;    ' white, upper - horizontal&lt;br /&gt;    frm.Line (0, 0)-(frm.ScaleWidth, 0), &amp;HFFFFFF, BF&lt;br /&gt;    ' white, left - vertical&lt;br /&gt;    frm.Line (0, 0)-(0, frm.ScaleHeight), &amp;HFFFFFF, BF&lt;br /&gt;    ' darkgrey, right - vertical&lt;br /&gt;    frm.Line (frm.ScaleWidth - 15, 0)-(frm.ScaleWidth - 15, _&lt;br /&gt;       frm.Height), &amp;H808080, BF&lt;br /&gt;    ' darkgrey, lower - horizontal&lt;br /&gt;    frm.Line (0, frm.ScaleHeight - 15)-(frm.ScaleWidth, _&lt;br /&gt;      frm.ScaleHeight - 15), &amp;H808080, BF&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;'DEMO USAGE&lt;br /&gt;'Add 1 label and 1 textbox&lt;br /&gt;&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;&lt;br /&gt;Me.AutoRedraw = True&lt;br /&gt;PaintForm3D Me&lt;br /&gt;PaintControl3D Me, Label1  'Label1 is name of label&lt;br /&gt;PaintControl3D Me, Text1   'Text1 is name of textbox&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-6459679112748434810?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/6459679112748434810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/agents.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6459679112748434810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6459679112748434810'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/agents.html' title='Agents'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-6455352901724325611</id><published>2011-03-24T22:27:00.000+07:00</published><updated>2011-03-24T22:27:10.189+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>3dfx Interactive</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;'Set form's AutoRedraw property toTrue&lt;br /&gt;Sub PaintControl3D(frm As Form, Ctl As Control)&lt;br /&gt;    ' This Sub draws lines around controls to make them 3d&lt;br /&gt;    &lt;br /&gt;    ' darkgrey, upper - horizontal&lt;br /&gt;    frm.Line (Ctl.Left, Ctl.Top - 15)-(Ctl.Left + _&lt;br /&gt;          Ctl.Width, Ctl.Top - 15), &amp;amp;H808080, BF&lt;br /&gt;    ' darkgrey, left - vertical&lt;br /&gt;    frm.Line (Ctl.Left - 15, Ctl.Top)-(Ctl.Left - 15, _&lt;br /&gt;         Ctl.Top + Ctl.Height), &amp;amp;H808080, BF&lt;br /&gt;    ' white, right - vertical&lt;br /&gt;    frm.Line (Ctl.Left + Ctl.Width, Ctl.Top)- _&lt;br /&gt;      (Ctl.Left + Ctl.Width, Ctl.Top + Ctl.Height), &amp;amp;HFFFFFF, BF&lt;br /&gt;    ' white, lower - horizontal&lt;br /&gt;    frm.Line (Ctl.Left, Ctl.Top + Ctl.Height)- _&lt;br /&gt;    (Ctl.Left + Ctl.Width, Ctl.Top + Ctl.Height), &amp;amp;HFFFFFF, BF&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Sub PaintForm3D(frm As Form)&lt;br /&gt;    ' This Sub draws lines around the Form to make it 3d&lt;br /&gt;    &lt;br /&gt;    ' white, upper - horizontal&lt;br /&gt;    frm.Line (0, 0)-(frm.ScaleWidth, 0), &amp;amp;HFFFFFF, BF&lt;br /&gt;    ' white, left - vertical&lt;br /&gt;    frm.Line (0, 0)-(0, frm.ScaleHeight), &amp;amp;HFFFFFF, BF&lt;br /&gt;    ' darkgrey, right - vertical&lt;br /&gt;    frm.Line (frm.ScaleWidth - 15, 0)-(frm.ScaleWidth - 15, _&lt;br /&gt;       frm.Height), &amp;amp;H808080, BF&lt;br /&gt;    ' darkgrey, lower - horizontal&lt;br /&gt;    frm.Line (0, frm.ScaleHeight - 15)-(frm.ScaleWidth, _&lt;br /&gt;      frm.ScaleHeight - 15), &amp;amp;H808080, BF&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;'DEMO USAGE&lt;br /&gt;'Add 1 label and 1 textbox&lt;br /&gt;&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;&lt;br /&gt;Me.AutoRedraw = True&lt;br /&gt;PaintForm3D Me&lt;br /&gt;PaintControl3D Me, Label1  'Label1 is name of label&lt;br /&gt;PaintControl3D Me, Text1   'Text1 is name of textbox&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-6455352901724325611?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/6455352901724325611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2011/03/3dfx-interactive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6455352901724325611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6455352901724325611'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2011/03/3dfx-interactive.html' title='3dfx Interactive'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-1127122280481413953</id><published>2010-08-20T15:22:00.002+07:00</published><updated>2010-08-27T13:20:09.627+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Produk'/><title type='text'>Aplikasi Arsip</title><content type='html'>&lt;div style="text-align: justify;"&gt;Merupakan pengolahan atau pencatatan data seluruh dokumen, mengingat data dan kegiatan dilingkungan tersebut sangat tinggi maka dokumen yang dihasilkan akan menumpuk banyak yang selalu tersimpan pada ruang arsip yang sewaktu waktu masih dibutuhkan sehingga sistem penyimpanan harus tersetruktur rapi dan akurat agar secara profesional mampu mengatur segala hal yang berkaitan dengan informasi dan tertib administrasi untuk mendapatkan data yang benar dan dapat dipertanggung jawabkan. Dengan integrasi sistem yang dirancang sedemikian rupa dengan pengolahan berbasis komputer, maka tujuan untuk memperoleh data kearsipan atau informasi yang dibutuhkan, akan dapat diperoleh dengan mudah sehingga dapat memberikan informasi yang cepat dan tepat untuk penentuan kebutuhan secara tepat guna.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;Data arsip dokumen secara lengkap mempunyai nilai strategis untuk diberdayakan maka setiap unit/satuan kerja sebagai pengelola atau pemakai harus mengetahui secara pasti keberadaan dan status dokumen agar dapat dipergunakan dalam proses selanjutnya. Dengan sistem komputerisasi pencarian data dan pencatatan akan dapat dilakukan sangat cepat oleh bagian mana saja yang terkait dengan data tersebut, dengan demikian tentunya proses penyimpanan dan pencarian arsip akan dilakukan dengan efektif. Sebab pada masing-masing bagian yang berkepentingan dapat mengakses data arsip tersebut. Kondisi seperti inilah yang membuat sarana komputer menjadi lebih diperlukan dan pengolahan data dapat dilakukan oleh user pada lingkungannya Sehingga diharapkan komputer&amp;nbsp; ini bukan hanya sebagai alat bantu kerja belaka melainkan sebagai pusat Informasi yang Up to date.&lt;br /&gt;&lt;br /&gt;Pencatatan dengan sistem komputerisasi ini diharapkan mampu memberikan hasil secara tepat terhadap data dan kelengkapannya untuk memberikan informasi yang akurat&amp;nbsp; dalam bentuk fisik dokumen maupun file hasil pemindaian yang menyerupai aslinya.&lt;br /&gt;&lt;br /&gt;Manfaat yang perlu diperhatikan adalah :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Adanya keseragaman dan kesamaan dalam pencatatan Dokumen arsip dari seluruh unit/satuan kerja.&lt;/li&gt;&lt;li&gt;Dapat menyimpan semua data yang diperlukan dan mampu melakukan&amp;nbsp; proses pencarian data dengan mudah.&lt;/li&gt;&lt;li&gt;Efektif dan efisien serta dapat mencapai sasaran yang diharapkan.&lt;/li&gt;&lt;li&gt;Data yang telah tercatat dapat dipergunakan untuk kontinuitas guna merencanakan proses selanjutnya.&lt;/li&gt;&lt;li&gt;Adanya keseragaman pencatatan atau pendataan Sehingga sistem prosedur pencatatan dapat dengan mudah disosialisasikan. &lt;/li&gt;&lt;/ul&gt;&lt;b&gt;TIPE / JENIS BERKAS SURAT&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Surat Edaran&lt;/li&gt;&lt;li&gt;Surat Biasa&lt;/li&gt;&lt;li&gt;Surat Keterangan&lt;/li&gt;&lt;li&gt;Surat Perintah&lt;/li&gt;&lt;li&gt;Surat Tugas&lt;/li&gt;&lt;li&gt;Surat Perintah Perjalanan Dinas&lt;/li&gt;&lt;li&gt;Surat Kuasa&lt;/li&gt;&lt;li&gt;Surat Undangan&lt;/li&gt;&lt;li&gt;Surat Panggilan&lt;br /&gt;Surat Pengantar&lt;/li&gt;&lt;li&gt;Surat Perjanjian&lt;/li&gt;&lt;li&gt;Surat Pernyataan Melaksanakan Tugas&lt;/li&gt;&lt;li&gt;Surat Izin&lt;/li&gt;&lt;li&gt;Pengumuman&lt;/li&gt;&lt;li&gt;Laporan&lt;/li&gt;&lt;li&gt;Telegram / Radiogram&lt;/li&gt;&lt;li&gt;Notulen&lt;/li&gt;&lt;li&gt;Nota Dinas&lt;/li&gt;&lt;li&gt;Nota Pengajuan Konsep Naskah Dinas&lt;/li&gt;&lt;li&gt;Lembar Disposisi&lt;/li&gt;&lt;li&gt;Telaahan Staf&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;PROSEDURAL SISTEM&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Program 1. Survei Arsip&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/b&gt;&lt;br /&gt;Tinjauan menyeluruh terhadap semua arsip yang dihasilkan oleh organisasi. Sebenarnya merupakan kegiatan inventarisasi (stocktaking) arsip yang akan memberikan gambaran tentang jumlah seluruh arsip yang disimpan oleh organisasi, dimana disimpannya, bagaimana pengaturannya, apa bentuknya, status arsip (draft atau final version, master copy atau duplikat).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Program 2. Penilaian&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/b&gt;&lt;br /&gt;Proses analisis terhadap data hasil survei sehingga memungkinkan kita untuk mengambil keputusan tentang daur hidup sekelompok arsip (record series). Keputusan ini harus disetujui oleh atasan atau yang berwenang dan harus dicatat. Catatan ini disebut Retention schedule.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Program 3. Konsolidasi&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Program 4. Evaluasi Media&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="144" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD12.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="107" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD12.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD13.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="78" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD13.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="67" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD14.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="67" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD15.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD16.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="88" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD16.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD20.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD20.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD19.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD19.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD18.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD18.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD17.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD17.jpg" width="320" /&gt;&lt;/a&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD11.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="218" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD11.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="248" src="http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/JIKD10.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-1127122280481413953?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/1127122280481413953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/08/aplikasi-arsip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/1127122280481413953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/1127122280481413953'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/08/aplikasi-arsip.html' title='Aplikasi Arsip'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://i824.photobucket.com/albums/zz161/x4ct4b0rt0n/JIKD/th_JIKD.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-2608441208025985781</id><published>2010-08-19T23:39:00.001+07:00</published><updated>2010-08-19T23:43:06.585+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>GetElapsedTime</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function GetElapsedTime(tStart, tStop) As String&lt;br /&gt;&lt;br /&gt;Dim dtr, dtl, jml As Long&lt;br /&gt;&lt;br /&gt;    dtl = (Hour(tStart) * 3600) + _&lt;br /&gt;          (Minute(tStart) * 60) + (Second(tStart))&lt;br /&gt;&lt;br /&gt;    dtr = (Hour(tStop) * 3600) + _&lt;br /&gt;          (Minute(tStop) * 60) + (Second(tStop))&lt;br /&gt;&lt;br /&gt; If tStop &amp;lt; tStart Then&lt;br /&gt;   jml = 86400&lt;br /&gt; Else&lt;br /&gt;   jml = 0&lt;br /&gt; End If&lt;br /&gt; jml = jml + (dtr - dtl)&lt;br /&gt;&lt;br /&gt; GetElapsedTime= Format(Str(Int((Int((jml / 3600)) Mod 24))), "00") _&lt;br /&gt;                 + ":" + Format(Str(Int((Int((jml / 60)) Mod 60))) _&lt;br /&gt;                 , "00") + ":" +Format(Str(Int((jml Mod 60))), "00")&lt;br /&gt;End Function&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-2608441208025985781?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/2608441208025985781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/08/getelapsedtime.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/2608441208025985781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/2608441208025985781'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/08/getelapsedtime.html' title='GetElapsedTime'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-1487703703763918669</id><published>2010-08-19T23:36:00.000+07:00</published><updated>2010-08-19T23:36:36.596+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>DollarToString</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Function NumToString(ByVal nNumber As Currency) As String&lt;br /&gt;&lt;br /&gt;Dim bNegative As Boolean&lt;br /&gt;Dim bHundred As Boolean&lt;br /&gt;&lt;br /&gt;If nNumber &lt; 0 Then&lt;br /&gt;    bNegative = True&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;nNumber = Abs(Int(nNumber))&lt;br /&gt;&lt;br /&gt;If nNumber &lt; 1000 Then&lt;br /&gt;    If nNumber \ 100 &gt; 0 Then&lt;br /&gt;        NumToString = NumToString &amp; _&lt;br /&gt;             NumToString(nNumber \ 100) &amp; " hundred"&lt;br /&gt;        bHundred = True&lt;br /&gt;    End If&lt;br /&gt;    nNumber = nNumber - ((nNumber \ 100) * 100)&lt;br /&gt;    Dim bNoFirstDigit As Boolean&lt;br /&gt;    bNoFirstDigit = False&lt;br /&gt;    Select Case nNumber \ 10&lt;br /&gt;        Case 0&lt;br /&gt;            Select Case nNumber Mod 10&lt;br /&gt;                Case 0&lt;br /&gt;                    If Not bHundred Then&lt;br /&gt;                        NumToString = NumToString &amp; " zero"&lt;br /&gt;                    End If&lt;br /&gt;                Case 1: NumToString = NumToString &amp; " one"&lt;br /&gt;                Case 2: NumToString = NumToString &amp; " two"&lt;br /&gt;                Case 3: NumToString = NumToString &amp; " three"&lt;br /&gt;                Case 4: NumToString = NumToString &amp; " four"&lt;br /&gt;                Case 5: NumToString = NumToString &amp; " five"&lt;br /&gt;                Case 6: NumToString = NumToString &amp; " six"&lt;br /&gt;                Case 7: NumToString = NumToString &amp; " seven"&lt;br /&gt;                Case 8: NumToString = NumToString &amp; " eight"&lt;br /&gt;                Case 9: NumToString = NumToString &amp; " nine"&lt;br /&gt;            End Select&lt;br /&gt;            bNoFirstDigit = True&lt;br /&gt;        Case 1&lt;br /&gt;            Select Case nNumber Mod 10&lt;br /&gt;                Case 0: NumToString = NumToString &amp; " ten"&lt;br /&gt;                Case 1: NumToString = NumToString &amp; " eleven"&lt;br /&gt;                Case 2: NumToString = NumToString &amp; " twelve"&lt;br /&gt;                Case 3: NumToString = NumToString &amp; " thirteen"&lt;br /&gt;                Case 4: NumToString = NumToString &amp; " fourteen"&lt;br /&gt;                Case 5: NumToString = NumToString &amp; " fifteen"&lt;br /&gt;                Case 6: NumToString = NumToString &amp; " sixteen"&lt;br /&gt;                Case 7: NumToString = NumToString &amp; " seventeen"&lt;br /&gt;                Case 8: NumToString = NumToString &amp; " eighteen"&lt;br /&gt;                Case 9: NumToString = NumToString &amp; " nineteen"&lt;br /&gt;            End Select&lt;br /&gt;            bNoFirstDigit = True&lt;br /&gt;        Case 2: NumToString = NumToString &amp; " twenty"&lt;br /&gt;        Case 3: NumToString = NumToString &amp; " thirty"&lt;br /&gt;        Case 4: NumToString = NumToString &amp; " forty"&lt;br /&gt;        Case 5: NumToString = NumToString &amp; " fifty"&lt;br /&gt;        Case 6: NumToString = NumToString &amp; " sixty"&lt;br /&gt;        Case 7: NumToString = NumToString &amp; " seventy"&lt;br /&gt;        Case 8: NumToString = NumToString &amp; " eighty"&lt;br /&gt;        Case 9: NumToString = NumToString &amp; " ninety"&lt;br /&gt;    End Select&lt;br /&gt;    If Not bNoFirstDigit Then&lt;br /&gt;        If nNumber Mod 10 &lt;&gt; 0 Then&lt;br /&gt;            NumToString = NumToString &amp; "-" &amp; _&lt;br /&gt;                          Mid(NumToString(nNumber Mod 10), 2)&lt;br /&gt;        End If&lt;br /&gt;    End If&lt;br /&gt;Else&lt;br /&gt;    Dim nTemp As Currency&lt;br /&gt;    nTemp = 10 ^ 12 'trillion&lt;br /&gt;    Do While nTemp &gt;= 1&lt;br /&gt;        If nNumber &gt;= nTemp Then&lt;br /&gt;            NumToString = NumToString &amp; _&lt;br /&gt;                          NumToString(Int(nNumber / nTemp))&lt;br /&gt;            Select Case Int(Log(nTemp) / Log(10) + 0.5)&lt;br /&gt;                Case 12: NumToString = NumToString &amp; " trillion"&lt;br /&gt;                Case 9: NumToString = NumToString &amp; " billion"&lt;br /&gt;                Case 6: NumToString = NumToString &amp; " million"&lt;br /&gt;                Case 3: NumToString = NumToString &amp; " thousand"&lt;br /&gt;            End Select&lt;br /&gt;           &lt;br /&gt;            nNumber = nNumber - (Int(nNumber / nTemp) * nTemp)&lt;br /&gt;        End If&lt;br /&gt;        nTemp = nTemp / 1000&lt;br /&gt;    Loop&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;If bNegative Then&lt;br /&gt;    NumToString = " negative" &amp; NumToString&lt;br /&gt;End If&lt;br /&gt;    &lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Public Function DollarToString(ByVal nAmount As Currency) As _&lt;br /&gt;String&lt;br /&gt;&lt;br /&gt;    Dim nDollar As Currency&lt;br /&gt;    Dim nCent As Currency&lt;br /&gt;    &lt;br /&gt;    nDollar = Int(nAmount)&lt;br /&gt;    nCent = (Abs(nAmount) * 100) Mod 100&lt;br /&gt;    &lt;br /&gt;    DollarToString = NumToString(nDollar) &amp; " dollar"&lt;br /&gt;    &lt;br /&gt;    If Abs(nDollar) &lt;&gt; 1 Then&lt;br /&gt;        DollarToString = DollarToString &amp; "s"&lt;br /&gt;    End If&lt;br /&gt;    &lt;br /&gt;    DollarToString = DollarToString &amp; " and" &amp; _&lt;br /&gt;                     NumToString(nCent) &amp; " cent"&lt;br /&gt;                     &lt;br /&gt;    If Abs(nCent) &lt;&gt; 1 Then&lt;br /&gt;        DollarToString = DollarToString &amp; "s"&lt;br /&gt;    End If&lt;br /&gt;    &lt;br /&gt;End Function&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-1487703703763918669?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/1487703703763918669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/08/dollartostring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/1487703703763918669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/1487703703763918669'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/08/dollartostring.html' title='DollarToString'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8546794636276323647</id><published>2010-08-19T23:33:00.000+07:00</published><updated>2010-08-19T23:33:45.514+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Convert FileSize into String</title><content type='html'>&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Private Declare Function StrFormatByteSize Lib _&lt;br /&gt; "shlwapi" Alias "StrFormatByteSizeA" (ByVal _&lt;br /&gt; dw As Long, ByVal pszBuf As String, ByRef _&lt;br /&gt; cchBuf As Long) As String&lt;br /&gt;&lt;br /&gt;Public Function FormatKB(ByVal Amount As Long) _&lt;br /&gt; As String&lt;br /&gt; Dim Buffer As String&lt;br /&gt; Dim Result As String&lt;br /&gt; Buffer = Space$(255)&lt;br /&gt; Result = StrFormatByteSize(Amount, Buffer, _&lt;br /&gt;  Len(Buffer))&lt;br /&gt; If InStr(Result, vbNullChar) &gt; 1 Then&lt;br /&gt;  FormatKB = Left$(Result, InStr(Result, _&lt;br /&gt;   vbNullChar) - 1)&lt;br /&gt; End If&lt;br /&gt;End Function&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8546794636276323647?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8546794636276323647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/08/convert-filesize-into-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8546794636276323647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8546794636276323647'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/08/convert-filesize-into-string.html' title='Convert FileSize into String'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-3767956231320719651</id><published>2010-08-19T23:20:00.001+07:00</published><updated>2010-08-19T23:22:22.309+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>SQL Dasar</title><content type='html'>&lt;span xmlns=""&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;&lt;b&gt;SQL COMMAND&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;SQL singkatan dari &lt;b&gt;Structured Query Language&lt;/b&gt;. SQL adalah bahasa komputer yang standart untuk mengakses dan memanipulasi database. Seluruh aplikasi database yang beredar di pasaran, baik yang gratis maupun yang berlisensi, mengadopsi bahasa SQL untuk mengolah databasenya.&lt;a name='more'&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;Beberapa SQL command atau perintah SQL yang harus diketahui adalah :&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul&gt;&lt;span xmlns=""&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;CREATE DATABASE, untuk membuat sebuah database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;DROP DATABASE, untuk menghapus sebuah database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;CREATE TABLE, untuk membuat sebuah table.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;ALTER TABLE, untuk memodifikasi sebuah table.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;DROP TABLE, untuk menghapus sebuah table.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;SELECT, untuk menampilkan data dari database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;UPDATE, untuk memodifikasi data dari database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;INSERT INTO, untuk menambah data di database.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;DELETE, untuk menghapus data dari database.&lt;/div&gt;&lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Sedangkan perintah SQL untuk tingkat lanjut ada cukup banyak. Command tingkat lanjut ini berguna untuk mengolah data dengan cara yang lebih rumit dan kompleks.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;CREATE DATABASE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Sebelum bekerja dengan database, anda harus membuat dulu sebuah database yang akan menjadi obyek pekerjaan anda.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntaxnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;CREATE DATABASE database_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Setelah membuat database dengan command seperti di atas, tidak secara otomatis database anda berisi tabel-tabel. Database anda dalam keadaan kosong. Anda harus membuat tabel-tabel seperti yang akan dijelaskan pada bagian selanjutnya.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;DROP DATABASE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Jika anda ingin menghapus sebuah database, gunakan perintah berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DROP DATABASE database_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Jika anda menggunakan perintah di atas, maka seluruh database dan tabel yang ada di dalamnya akan terhapus.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;b&gt;Catatan :&lt;/b&gt; untuk Access, anda tidak diperbolehkan menggunakan perintah DROP DATABASE. Jika anda menggunakan perintah ini, aplikasi anda akan kacau. Jika anda ingin menghapus database dari Access, anda bisa menghapus file &lt;b&gt;mdb&lt;/b&gt; yang telah dibuat oleh Access.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;CREATE TABLE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Selanjutnya anda dapat membuat table dengan perintah berikut :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;CREATE TABLE table_name&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;(&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;column_name1 data_type,&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;column_name2 data_type,&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;&lt;i&gt;.......&lt;/i&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Contohnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;CREATE TABLE Person&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;(&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;LastName varchar,&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;FirstName varchar,&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Address varchar,&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Age int&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Anda juga bisa membatasi ukuran masing-masing field utnuk menghasilkan file database yang lebih kecil :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;CREATE TABLE Person&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;(&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;LastName varchar(30),&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;FirstName varchar,&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Address varchar,&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Age int(3)&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Untuk tipe datanya, anda dapat melihat lagi di bagian pertama materi kuliah ini.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;ALTER TABLE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perintah ALTER TABLE dapat anda gunakan jika anda ingin memodifikasi struktur table yang anda buat. Artinya, jika anda ingin menambahkan sebuah atau beberapa field baru dalam tabel yang sudah anda buat, atau anda ingin menghapus satu atau beberapa field yang sudah anda buat, anda dapat menggunakan perintah ini.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntaxnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Untuk menambah field baru :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;ALTER TABLE table_name &lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;ADD column_name datatype (size)&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Untuk menghapus field yang sudah ada :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;ALTER TABLE table_name &lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DROP COLUMN column_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;DROP TABLE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Untuk menghapus sebuah table, perintahnya seperti berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DROP TABLE table_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;b&gt;Catatan :&lt;/b&gt; Perlu diingat, bahwa jika anda menghapus sebuah table, maka seluruh data yang ada di dalamnya akan ikut terhapus.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;SELECT COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Untuk menampilkan data dari sebuah database, anda dapat menggunakan perintah SELECT. Bentuk baku dari perintah ini adalah :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT column_name_1, column_name_2, dst&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;FROM table_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Jika anda ingin menampilkan semua data dalam sebuah table tanpa memilih salah satu field, maka anda dapat menggunakan perintah berikut :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM table_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;SELECT DISTINCT STATEMENT&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;SELECT DISTINCT Statement digunakan untuk menampilkan data dari satu atau beberapa field (column) dari sebuah tabel. Namun perbedaan antara SELECT dengan SELECT DISTINCT terletak pada hasilnya.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan contoh table &lt;b&gt;ORDERS&lt;/b&gt; berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 132px;"&gt;&lt;/col&gt;&lt;col style="width: 182px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Company&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;OrderNumber&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sega&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;3412&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;2312&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Trio&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;4678&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;6798&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Jika anda menggunakan perintah SELECT seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT Company FROM Orders&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;maka hasil yang didapat akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 314px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Company&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sega&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Trio&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Tapi jika anda menggunakan perintah SELECT DISTINCT seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT DISTINCT Company FROM Orders&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 314px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Company&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sega&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Trio&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan bahwa dengan perintah SELECT, data "W3Schools" akan ditampilkan 2 kali sesuai data yang ada, sedangkan dengan perintah SELECT DISTINCT, maka data "W3Schools" hanya ditampilkan 1 kali. Jadi perintah SELECT DISTINCT tidak akan menghasilkan data yang identik atau kembar.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;WHERE CLAUSE&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Anda juga dapat menambahkan sebuah kondisi pada perintah SELECT untuk menampilkan data yang lebih spesifik.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntax baku dari perintah WHERE adalah :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT column FROM table&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE column operator value&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;di mana operator yang dimaksud adalah :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 114px;"&gt;&lt;/col&gt;&lt;col style="width: 263px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Operator&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;=&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Equal&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;lt;&amp;gt; atau !=&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Not equal&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Greater than&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;lt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Less than&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;gt;=&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Greater than or equal&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;lt;=&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Less than or equal&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;BETWEEN&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Between an inclusive range&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;LIKE&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-size: 8pt;"&gt;Search for a pattern&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan table &lt;b&gt;PERSONS&lt;/b&gt; di bawah ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 136px;"&gt;&lt;/col&gt;&lt;col style="width: 140px;"&gt;&lt;/col&gt;&lt;col style="width: 159px;"&gt;&lt;/col&gt;&lt;col style="width: 126px;"&gt;&lt;/col&gt;&lt;col style="width: 67px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Year&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hansen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Ola&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Timoteivn 10&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1951&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Tove&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Borgvn 23&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1978&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stale&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kaivn 18&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1980&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Pettersen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kari&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 20&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1960&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Jika anda menggunakan perintah SELECT dengan atribut WHERE seperti berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons WHERE City='Sandnes'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya akan ditampilkan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 140px;"&gt;&lt;/col&gt;&lt;col style="width: 145px;"&gt;&lt;/col&gt;&lt;col style="width: 164px;"&gt;&lt;/col&gt;&lt;col style="width: 110px;"&gt;&lt;/col&gt;&lt;col style="width: 69px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Year&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hansen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Ola&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Timoteivn 10&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1951&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Tove&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Borgvn 23&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1978&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stale&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kaivn 18&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;1980&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan, bahwa yang ditampilkan adalah data yang berasal dari kota "Sandnes" sesuai dengan kondisi yang diberikan pada perintah di atas. Perhatikan untuk tulisan tanda petik (") yang digunakan, berikut ini penulisan yang benar:&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Untuk nilai berupa text :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Syntax yang benar :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons WHERE FirstName='Tove'&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Syntax yang salah :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons WHERE FirstName=Tove&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Untuk nilai berupa angka :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Syntax yang benar :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons WHERE Year&amp;gt;1965&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;Syntax yang salah :&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons WHERE Year&amp;gt;'1965'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h1&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;span style="text-decoration: underline;"&gt;LIKE CLAUSE&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Statemen LIKE dapat anda tambahkan pada perintah SELECT untuk memberikan suatu kondisi yang menyerupai sesuatu.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntax bakunya adalah :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT column FROM table_name&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE column LIKE conditions&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Dalam perintah ini, digunakan tanda "&lt;b&gt;%&lt;/b&gt;" untuk menunjukkan sesuatu yang belum diketahui.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan contoh berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE FirstName LIKE 'O%'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perintah di atas ini akan menampilkan semua data yang FirstName-nya berawalan dengan huruf "&lt;b&gt;O&lt;/b&gt;".&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE FirstName LIKE '%a'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Sedangkan contoh di atas akan menghasilkan semua data yang FirstName-nya berakhiran dengan huruf "&lt;b&gt;a&lt;/b&gt;".&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE FirstName LIKE '%la%'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Sedangkan perintah di atas ini akan menghasilkan semua data yang FirstName-nya memiliki huruf "&lt;b&gt;la&lt;/b&gt;" di tengahnya.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h5&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;ORDER BY STATEMENT&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Statement ORDER BY digunakan untuk mengurutkan tampilan data berdasarkan satu atau beberapa field secara urut dari awal ke akhir (ascending) atau dari akhir ke awal (descending).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntaxnya adalah sebagai berikut :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT column_1, column_2, dst FROM table_name&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;ORDER BY column_1, column_2, dst ASC/DESC&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Atau anda juga dapat menggabungkannya dengan clause yang lain, seperti WHERE dan LIKE seperti berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT column_1, column_2, dst FROM table&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE column_2 LIKE conditions ORDER BY column_1 ASC&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan contoh table &lt;b&gt;ORDERS&lt;/b&gt; berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 132px;"&gt;&lt;/col&gt;&lt;col style="width: 182px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Company&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;OrderNumber&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sega&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;3412&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;ABC Shop&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;5678&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;2312&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;6798&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Misalnya anda punya perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT Company, OrderNumber FROM Orders&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;ORDER BY Company&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 132px;"&gt;&lt;/col&gt;&lt;col style="width: 182px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Company&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;OrderNumber&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;ABC Shop&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;5678&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sega&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;3412&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;6798&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;2312&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan, bahwa jika anda tidak memberikan tanda &lt;b&gt;ASC&lt;/b&gt; atau &lt;b&gt;DESC&lt;/b&gt;, maka hasilnya akan ditampilkan secara &lt;b&gt;ASC&lt;/b&gt; (urut dari awal ke akhir, atau dari kecil ke besar).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Anda juga dapat menggabungkan beberapa kondisi sekaligus. Perhatikan contoh berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT Company, OrderNumber FROM Orders&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;ORDER BY Company DESC, OrderNumber ASC&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Hasilnya akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 132px;"&gt;&lt;/col&gt;&lt;col style="width: 182px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Company&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;OrderNumber&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;2312&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;W3Schools&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;6798&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sega&lt;/span&gt;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;3412&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;ABC Shop&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;5678&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan bahwa hasilnya menunjukkan bahwa di field company akan urut secara descending, dan di field ordernumber akan urut secara ascending.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h5&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;AND dan OR STATEMENT&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Statement AND atau OR dapat digunakan untuk menggabungkan 2 kondisi yang berbeda untuk dijalankan dalam perintah WHERE.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan contoh table &lt;b&gt;PERSONS&lt;/b&gt; berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 158px;"&gt;&lt;/col&gt;&lt;col style="width: 163px;"&gt;&lt;/col&gt;&lt;col style="width: 184px;"&gt;&lt;/col&gt;&lt;col style="width: 123px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hansen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Ola&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Timoteivn 10&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Tove&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Borgvn 23&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stephen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kaivn 18&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Misalnya anda mempunyai perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE FirstName='Tove'&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;AND LastName='Svendson'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 168px;"&gt;&lt;/col&gt;&lt;col style="width: 173px;"&gt;&lt;/col&gt;&lt;col style="width: 156px;"&gt;&lt;/col&gt;&lt;col style="width: 131px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Tove&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Borgvn 23&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Atau anda punya contoh perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE firstname='Tove'&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;OR lastname='Svendson'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasil yang akan ditampilkan adalah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 168px;"&gt;&lt;/col&gt;&lt;col style="width: 173px;"&gt;&lt;/col&gt;&lt;col style="width: 156px;"&gt;&lt;/col&gt;&lt;col style="width: 131px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Tove&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Borgvn 23&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stephen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kaivn 18&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Anda juga dapat menggabungkan statement AND dan OR secara bersamaan, misalnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SELECT * FROM Persons WHERE&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;(FirstName='Tove' OR FirstName='Stephen')&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;AND LastName='Svendson'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 168px;"&gt;&lt;/col&gt;&lt;col style="width: 173px;"&gt;&lt;/col&gt;&lt;col style="width: 156px;"&gt;&lt;/col&gt;&lt;col style="width: 131px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Tove&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Borgvn 23&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Svendson&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stephen&lt;/span&gt;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kaivn 18&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h5&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;UPDATE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perintah UPDATE digunakan untuk memodifikasi data (record) yang ada dalam sebuah table.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntaxnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;UPDATE table_name&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;SET column_name = new_value&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE column_name = old_value&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan contoh table &lt;b&gt;PERSONS&lt;/b&gt; berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 163px;"&gt;&lt;/col&gt;&lt;col style="width: 165px;"&gt;&lt;/col&gt;&lt;col style="width: 151px;"&gt;&lt;/col&gt;&lt;col style="width: 149px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Nilsen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Fred&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kirkegt 56&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Rasmussen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Ani&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 67&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Misalnya anda punya perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;UPDATE Person SET FirstName = 'Nina'&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE LastName = 'Rasmussen'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya adalah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 163px;"&gt;&lt;/col&gt;&lt;col style="width: 165px;"&gt;&lt;/col&gt;&lt;col style="width: 151px;"&gt;&lt;/col&gt;&lt;col style="width: 149px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Nilsen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Fred&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kirkegt 56&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Rasmussen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Nina&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 67&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan bahwa record yang sebelumnya adalah "&lt;b&gt;Ani&lt;/b&gt;" berubah menjadi "&lt;b&gt;Nina&lt;/b&gt;" setelah perintah dijalankan.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h5&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;INSERT INTO COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perintah INSERT INTO digunakan untuk menambahkan data baru pada sebuah table, bukan untuk memodifikasi data dalam salah satu field saja.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntaxnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;INSERT INTO table_name (column1, column2, dst)&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;VALUES (column1_value, column2_value, dst)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan table &lt;b&gt;PERSONS&lt;/b&gt; di bawah ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 165px;"&gt;&lt;/col&gt;&lt;col style="width: 170px;"&gt;&lt;/col&gt;&lt;col style="width: 141px;"&gt;&lt;/col&gt;&lt;col style="width: 152px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Pettersen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kari&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 20&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Untuk menambahkan data yang baru, anda dapat menggunakan perintah INSERT INTO. Berikut contohnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;INSERT INTO Persons&amp;nbsp;(LastName, FirstName, Address, City)&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;VALUES ('Hetland', 'Camilla', 'Hagabakka 24', 'Sandnes')&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Atau perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;INSERT INTO Persons&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;VALUES ('Hetland', 'Camilla', 'Hagabakka 24', 'Sandnes')&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan bahwa karena isi field berupa text, maka value yang ada diberi tanda petik (' ') yang menandakan text atau string. Hasilnya adalah sebagai berikut :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 149px;"&gt;&lt;/col&gt;&lt;col style="width: 153px;"&gt;&lt;/col&gt;&lt;col style="width: 189px;"&gt;&lt;/col&gt;&lt;col style="width: 137px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Pettersen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kari&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 20&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hetland&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Camilla&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hagabakka 24&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Anda juga dapat menambahkan data pada field tertentu saja, namun tetap membuat baris yang baru (bukan mengganti data yang lama).&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan table &lt;b&gt;PERSONS&lt;/b&gt; berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 149px;"&gt;&lt;/col&gt;&lt;col style="width: 153px;"&gt;&lt;/col&gt;&lt;col style="width: 189px;"&gt;&lt;/col&gt;&lt;col style="width: 137px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Pettersen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kari&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 20&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hetland&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Camilla&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hagabakka 24&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Misalnya anda punya perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;INSERT INTO Persons (LastName, Address)&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;VALUES ('Rasmussen', 'Storgt 67')&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya adalah :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 150px;"&gt;&lt;/col&gt;&lt;col style="width: 152px;"&gt;&lt;/col&gt;&lt;col style="width: 188px;"&gt;&lt;/col&gt;&lt;col style="width: 137px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Pettersen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kari&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 20&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hetland&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Camilla&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Hagabakka 24&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Sandnes&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Rasmussen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Storgt 67&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan bahwa data yang baru tidak menggantikan posisi data yang lama, melainkan menempati baris yang baru dengan 2 field yang dikosongkan isinya.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h5&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;DELETE COMMAND&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h5&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perintah DELETE digunakan untuk menghapus data dari sebuah table. Fungsi menghapus ini akan dijalankan berdasarkan kondisi yang diberikan. Karena itu perlu anda ingat untuk selalu memberikan sebuah kondisi agar data yang terhapus benar-benar data yang ingin anda hapus.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perintah ini tidak bisa menghapus hanya isi field tertentu saja. Seluruh field dalam satu rangkaian baris akan dihapus jika kondisi yang ditetapkan terpenuhi.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Syntaxnya :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DELETE FROM table_name&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;WHERE column_name = value&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan contoh table &lt;b&gt;PERSONS&lt;/b&gt; berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 163px;"&gt;&lt;/col&gt;&lt;col style="width: 165px;"&gt;&lt;/col&gt;&lt;col style="width: 151px;"&gt;&lt;/col&gt;&lt;col style="width: 149px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Nilsen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Fred&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kirkegt 56&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Rasmussen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Nina&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stien 12&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Misalnya anda punya perintah seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DELETE FROM Person WHERE LastName = 'Rasmussen'&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka hasilnya akan seperti ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 161px;"&gt;&lt;/col&gt;&lt;col style="width: 166px;"&gt;&lt;/col&gt;&lt;col style="width: 151px;"&gt;&lt;/col&gt;&lt;col style="width: 149px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;LastName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;FirstName&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;Address&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: outset outset outset none; border-width: 0.75pt 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;&lt;b&gt;City&lt;/b&gt;&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset; border-width: medium 0.75pt 0.75pt; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Nilsen&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Fred&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Kirkegt 56&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;td style="border-color: -moz-use-text-color; border-style: none outset outset none; border-width: medium 0.75pt 0.75pt medium; padding: 1px;" valign="middle"&gt;&lt;span style="color: black; font-family: Verdana; font-size: 8pt;"&gt;Stavanger&lt;/span&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Perhatikan bahwa seluruh data milik Rasmussen akan dihapus.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Jika anda ingin menghapus semua baris yang ada, anda dapat menggunakan perintah berikut ini :&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;table border="0" style="background: none repeat scroll 0% 0% rgb(241, 241, 241); border-collapse: collapse;"&gt;&lt;colgroup&gt;&lt;col style="width: 628px;"&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody valign="top"&gt;&lt;tr&gt;&lt;td style="border: 0.75pt outset; padding: 1px;" valign="middle"&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DELETE FROM table_name&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;atau&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="color: black; font-size: 9pt;"&gt;DELETE * FROM table_name&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;Maka seluruh data dalam table itu akan terhapus semuanya.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span xmlns=""&gt;&lt;span xmlns=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-3767956231320719651?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/3767956231320719651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/08/sql-dasar.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3767956231320719651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3767956231320719651'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/08/sql-dasar.html' title='SQL Dasar'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-9138796871061780353</id><published>2010-06-07T15:45:00.001+07:00</published><updated>2010-06-07T15:50:58.367+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><category scheme='http://www.blogger.com/atom/ns#' term='Jaringan'/><title type='text'>Local And Remote Trojan Port Scanner</title><content type='html'>&lt;div style="text-align: justify;"&gt;This scans your computer locally for 86 well known trojans ports and tells you if they are opened. This scan&amp;nbsp; takes about 1 second. The remote scan scans an ip address or host name. You set the interval between scans. Uses the Microsoft Winsock Control.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_kWfzEC2uPH8/TAyxICHgkUI/AAAAAAAAAYg/IRfIv0w119o/s1600/Port+Scanner001.jpg" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="376" src="http://3.bp.blogspot.com/_kWfzEC2uPH8/TAyxICHgkUI/AAAAAAAAAYg/IRfIv0w119o/s400/Port+Scanner001.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Private Sub Command1_Click()&lt;br /&gt;&lt;br /&gt;On Error GoTo Error&lt;br /&gt;Command1.Enabled = False&lt;br /&gt;Command3.Enabled = False&lt;br /&gt;Command4.Enabled = False&lt;br /&gt;For i = 0 To List3.ListCount - 1&lt;br /&gt;If stopnow.Value = True Then&lt;br /&gt;Command1.Enabled = True&lt;br /&gt;Command3.Enabled = True&lt;br /&gt;Command4.Enabled = True&lt;br /&gt;Exit Sub&lt;br /&gt;End If&lt;br /&gt;Text4 = List3.List(i)&lt;br /&gt;Winsock1.Close&lt;br /&gt;Winsock1.LocalPort = List3.List(i)&lt;br /&gt;Winsock1.Listen&lt;br /&gt;Next i&lt;br /&gt;Error:&lt;br /&gt;If Err.Number = 10048 Then&lt;br /&gt;List1.AddItem List4.List(i)&lt;br /&gt;Resume Next&lt;br /&gt;End If&lt;br /&gt;Command1.Enabled = True&lt;br /&gt;Command3.Enabled = True&lt;br /&gt;Command4.Enabled = True&lt;br /&gt;stopnow = False&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command2_Click()&lt;br /&gt;stopnow.Value = True&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command3_Click()&lt;br /&gt;On Error Resume Next&lt;br /&gt;Command1.Enabled = False&lt;br /&gt;Command2.Enabled = False&lt;br /&gt;Command3.Enabled = False&lt;br /&gt;For i = 0 To List3.ListCount - 1&lt;br /&gt;Text3 = i&lt;br /&gt;Text4 = List3.List(i)&lt;br /&gt;Winsock1.RemotePort = List3.List(i)&lt;br /&gt;Winsock1.RemoteHost = Text1&lt;br /&gt;Winsock1.Connect&lt;br /&gt;Timeout Text2&lt;br /&gt;If stopnow.Value = True Then&lt;br /&gt;Text3 = 0&lt;br /&gt;Command1.Enabled = True&lt;br /&gt;Command2.Enabled = True&lt;br /&gt;Command3.Enabled = True&lt;br /&gt;stopnow.Value = False&lt;br /&gt;Exit Sub&lt;br /&gt;End If&lt;br /&gt;Next i&lt;br /&gt;Text3 = 0&lt;br /&gt;Command1.Enabled = True&lt;br /&gt;Command2.Enabled = True&lt;br /&gt;Command3.Enabled = True&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command4_Click()&lt;br /&gt;stopnow.Value = True&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;List4.AddItem "21 - Fore, Invisible FTP, FTP, WebEx, WinCrash"&lt;br /&gt;List4.AddItem "23 - Tiny Telnet Server, Telnet, Wingate"&lt;br /&gt;List4.AddItem "25 - Antigen, Email Password Sender, Haebu Coceda, Shtrilitz Stealth, Terminator"&lt;br /&gt;List4.AddItem "31 - Hackers Paradise"&lt;br /&gt;List4.AddItem "80 - Executor"&lt;br /&gt;List4.AddItem "456 - Hackers Paradise"&lt;br /&gt;List4.AddItem "555 - Ini-Killer, Phase Zero, Stealth Spy"&lt;br /&gt;List4.AddItem "666 - Satanz Backdoor"&lt;br /&gt;List4.AddItem "1001 - Silencer, WebEx"&lt;br /&gt;List4.AddItem "1011 - Doly Trojan"&lt;br /&gt;List4.AddItem "1170 - Psyber Stream Server, Voice"&lt;br /&gt;List4.AddItem "1234 - Ultors Trojan"&lt;br /&gt;List4.AddItem "1243 - SubSeven Default "&lt;br /&gt;List4.AddItem "1245 - VooDoo Doll"&lt;br /&gt;List4.AddItem "1492 - FTP99CMP"&lt;br /&gt;List4.AddItem "1600 - Shivka-Burka"&lt;br /&gt;List4.AddItem "1807 - SpySender"&lt;br /&gt;List4.AddItem "1981 - Shockrave"&lt;br /&gt;List4.AddItem "1999 - BackDoor"&lt;br /&gt;List4.AddItem "2001 - Trojan Cow"&lt;br /&gt;List4.AddItem "2023 - Ripper"&lt;br /&gt;List4.AddItem "2115 - Bugs"&lt;br /&gt;List4.AddItem "2140 - Deep Throat, The Invasor"&lt;br /&gt;List4.AddItem "2801 - Phineas Phucker"&lt;br /&gt;List4.AddItem "3024 - WinCrash"&lt;br /&gt;List4.AddItem "3129 - Masters Paradise"&lt;br /&gt;List4.AddItem "3150 - Deep Throat, The Invasor"&lt;br /&gt;List4.AddItem "3700 - al of Doom"&lt;br /&gt;List4.AddItem "4092 - WinCrash"&lt;br /&gt;List4.AddItem "4590 - ICQTrojan"&lt;br /&gt;List4.AddItem "5000 - Sockets de Troie"&lt;br /&gt;List4.AddItem "5001 - Sockets de Troie"&lt;br /&gt;List4.AddItem "5321 - Firehotcker"&lt;br /&gt;List4.AddItem "5400 - Blade Runner"&lt;br /&gt;List4.AddItem "5401 - Blade Runner"&lt;br /&gt;List4.AddItem "5402 - Blade Runner"&lt;br /&gt;List4.AddItem "5569 - Robo-Hack"&lt;br /&gt;List4.AddItem "5742 - WinCrash"&lt;br /&gt;List4.AddItem "6670 - DeepThroat"&lt;br /&gt;List4.AddItem "6771 - DeepThroat"&lt;br /&gt;List4.AddItem "6969 - GateCrasher, Priority"&lt;br /&gt;List4.AddItem "7000 - Remote Grab"&lt;br /&gt;List4.AddItem "7300 - NetMonitor"&lt;br /&gt;List4.AddItem "7301 - NetMonitor"&lt;br /&gt;List4.AddItem "7306 - NetMonitor"&lt;br /&gt;List4.AddItem "7307 - NetMonitor"&lt;br /&gt;List4.AddItem "7308 - NetMonitor"&lt;br /&gt;List4.AddItem "7789 - ICKiller"&lt;br /&gt;List4.AddItem "9872 - al of Doom"&lt;br /&gt;List4.AddItem "9873 - al of Doom"&lt;br /&gt;List4.AddItem "9874 - al of Doom"&lt;br /&gt;List4.AddItem "9875 - al of Doom"&lt;br /&gt;List4.AddItem "9989 - iNi-Killer"&lt;br /&gt;List4.AddItem "10067 - al of Doom"&lt;br /&gt;List4.AddItem "10167 - al of Doom"&lt;br /&gt;List4.AddItem "11000 - Senna Spy"&lt;br /&gt;List4.AddItem "11223 - Progenic trojan"&lt;br /&gt;List4.AddItem "12223 - Hack´99 KeyLogger"&lt;br /&gt;List4.AddItem "12345 - GabanBus, NetBus"&lt;br /&gt;List4.AddItem "12346 - GabanBus, NetBus"&lt;br /&gt;List4.AddItem "12361 - Whack-a-mole"&lt;br /&gt;List4.AddItem "12362 - Whack-a-mole"&lt;br /&gt;List4.AddItem "16969 - Priority"&lt;br /&gt;List4.AddItem "20001 - Millennium"&lt;br /&gt;List4.AddItem "20034 - NetBus 2 Pro"&lt;br /&gt;List4.AddItem "21544 - GirlFriend"&lt;br /&gt;List4.AddItem "22222 - Prosiak"&lt;br /&gt;List4.AddItem "23456 - Evil FTP, Ugly FTP"&lt;br /&gt;List4.AddItem "26274 -  Delta"&lt;br /&gt;List4.AddItem "31337 - Back Orifice"&lt;br /&gt;List4.AddItem "31338 - Back Orifice, DeepBO"&lt;br /&gt;List4.AddItem "31339 - NetSpy DK"&lt;br /&gt;List4.AddItem "31666 - BOWhack"&lt;br /&gt;List4.AddItem "33333 - Prosiak"&lt;br /&gt;List4.AddItem "34324 - BigGluck, TN"&lt;br /&gt;List4.AddItem "40412 - The Spy"&lt;br /&gt;List4.AddItem "40421 - Masters Paradise"&lt;br /&gt;List4.AddItem "40422 - Masters Paradise"&lt;br /&gt;List4.AddItem "40423 - Masters Paradise"&lt;br /&gt;List4.AddItem "40426 - Masters Paradise"&lt;br /&gt;List4.AddItem "47262 - Delta"&lt;br /&gt;List4.AddItem "50505 - Sockets de Troie"&lt;br /&gt;List4.AddItem "50766 - Fore"&lt;br /&gt;List4.AddItem "53001 - Remote Windows Shutdown"&lt;br /&gt;List4.AddItem "61466 - Telecommando"&lt;br /&gt;List4.AddItem "65000 - Devil Trojan"&lt;br /&gt;&lt;br /&gt;For o = 0 To List4.ListCount - 1&lt;br /&gt;a = Trim(List4.List(o))&lt;br /&gt;z = InStr(a, "-")&lt;br /&gt;If z Then&lt;br /&gt;List3.AddItem Left(a, z - 2)&lt;br /&gt;End If&lt;br /&gt;Next o&lt;br /&gt;Text1 = Winsock1.LocalIP&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub HScroll1_Change()&lt;br /&gt;If HScroll1.Value = 0 Then Frame6.Caption = "Timeout Int. (0)": Text2 = "0":&lt;br /&gt;If HScroll1.Value = 1 Then Frame6.Caption = "Timeout Int. (.1)": Text2 = ".1":&lt;br /&gt;If HScroll1.Value = 2 Then Frame6.Caption = "Timeout Int. (.2)": Text2 = ".2":&lt;br /&gt;If HScroll1.Value = 3 Then Frame6.Caption = "Timeout Int. (.3)": Text2 = ".3":&lt;br /&gt;If HScroll1.Value = 4 Then Frame6.Caption = "Timeout Int. (.4)": Text2 = ".4":&lt;br /&gt;If HScroll1.Value = 5 Then Frame6.Caption = "Timeout Int. (.5)": Text2 = ".5":&lt;br /&gt;If HScroll1.Value = 6 Then Frame6.Caption = "Timeout Int. (.6)": Text2 = ".6":&lt;br /&gt;If HScroll1.Value = 7 Then Frame6.Caption = "Timeout Int. (.7)": Text2 = ".7":&lt;br /&gt;If HScroll1.Value = 8 Then Frame6.Caption = "Timeout Int. (.8)": Text2 = ".8":&lt;br /&gt;If HScroll1.Value = 9 Then Frame6.Caption = "Timeout Int. (.9)": Text2 = ".9":&lt;br /&gt;If HScroll1.Value = 10 Then Frame6.Caption = "Timeout Int. (1)": Text2 = "1":&lt;br /&gt;If HScroll1.Value = 11 Then Frame6.Caption = "Timeout Int. (1.1)": Text2 = "1.1":&lt;br /&gt;If HScroll1.Value = 12 Then Frame6.Caption = "Timeout Int. (1.2)": Text2 = "1.2":&lt;br /&gt;If HScroll1.Value = 13 Then Frame6.Caption = "Timeout Int. (1.3)": Text2 = "1.3":&lt;br /&gt;If HScroll1.Value = 14 Then Frame6.Caption = "Timeout Int. (1.4)": Text2 = "1.4":&lt;br /&gt;If HScroll1.Value = 15 Then Frame6.Caption = "Timeout Int. (1.5)": Text2 = "1.5":&lt;br /&gt;If HScroll1.Value = 16 Then Frame6.Caption = "Timeout Int. (1.6)": Text2 = "1.6":&lt;br /&gt;If HScroll1.Value = 17 Then Frame6.Caption = "Timeout Int. (1.7)": Text2 = "1.7":&lt;br /&gt;If HScroll1.Value = 18 Then Frame6.Caption = "Timeout Int. (1.8)": Text2 = "1.8":&lt;br /&gt;If HScroll1.Value = 19 Then Frame6.Caption = "Timeout Int. (1.9)": Text2 = "1.9":&lt;br /&gt;If HScroll1.Value = 20 Then Frame6.Caption = "Timeout Int. (2)": Text2 = "2":&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Winsock1_Connect()&lt;br /&gt;List2.AddItem List4.List(Text3)&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-9138796871061780353?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/9138796871061780353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/06/local-and-remote-trojan-port-scanner.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/9138796871061780353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/9138796871061780353'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/06/local-and-remote-trojan-port-scanner.html' title='Local And Remote Trojan Port Scanner'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_kWfzEC2uPH8/TAyxICHgkUI/AAAAAAAAAYg/IRfIv0w119o/s72-c/Port+Scanner001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-4267728116704579903</id><published>2010-05-17T23:21:00.000+07:00</published><updated>2010-05-17T23:21:05.647+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Open A Cash Drawer With VB.NET</title><content type='html'>&lt;div style="text-align: justify;"&gt;The following routine opens a cash drawer using VB.Net. Most cash drawers are attached to a recipt printer through what looks to be a phone jack. To open the cash drawer the POS software must send "control codes" to your printer which will then send an impulse to the cash drawer to pop it open. The problem is that the POS software has to know the proper control code to send to the receipt printer that you are using. It seems like every receipt printer uses a different code. You can find the "open cash drawer" code by looking in the printer's manual, calling the printer's manufacturer, or it may be listed at the bottom of this page.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/br&gt;&lt;br /&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/br&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Public Sub open_cashdrawer()&lt;br /&gt;        Dim intFileNo As Integer = FreeFile()&lt;br /&gt;        FileOpen(1, "c:\escapes.txt", OpenMode.Output)&lt;br /&gt;        PrintLine(1, Chr(27) &amp; "p" &amp; Chr(0) &amp; Chr(25) &amp; Chr(250))&lt;br /&gt;        FileClose(1)&lt;br /&gt;        Shell("print /d:lpt1 c:\escapes.txt", vbNormalFocus)&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-4267728116704579903?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://pages.prodigy.net/daleharris/popopen.htm' title='Open A Cash Drawer With VB.NET'/><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/4267728116704579903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/open-cash-drawer-with-vbnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4267728116704579903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4267728116704579903'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/open-cash-drawer-with-vbnet.html' title='Open A Cash Drawer With VB.NET'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8284565393459778698</id><published>2010-05-17T23:13:00.002+07:00</published><updated>2010-06-07T15:34:31.500+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Binary File Compare</title><content type='html'>&lt;div style="text-align: justify;"&gt;These simple and quick to implement methods will help you to compare files at a binary level. To demo this project, add three command button controls and simply replace the file path and name in the click events of the command button controls. Then you could modify the code to except file selections from the common dialgue control.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Dim a As String&lt;br /&gt;Dim s As String&lt;br /&gt;&lt;br /&gt;Private Sub Command1_Click()&lt;br /&gt;    Open "&lt;file 1="" goes="" here="" number="" path=""&gt;" For Binary As #1&lt;br /&gt;    a = Space(LOF(1))&lt;br /&gt;    Get #1, , a&lt;br /&gt;    Close #1&lt;br /&gt;    MsgBox "Pic number 1 captured.", vbOKOnly + vbInformation, "Picture Compare"&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command2_Click()&lt;br /&gt;    Open "&lt;file 2="" goes="" here="" number="" path=""&gt;" For Binary As #1&lt;br /&gt;    s = Space(LOF(1))&lt;br /&gt;    Get #1, , s&lt;br /&gt;    Close #1&lt;br /&gt;    MsgBox "File number 2 captured.", vbOKOnly + vbInformation, "Picture Compare"&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command3_Click()&lt;br /&gt;    If s = a Then&lt;br /&gt;        MsgBox "The file is the same."&lt;br /&gt;    Else&lt;br /&gt;        MsgBox "The file is not the same."&lt;br /&gt;    End If&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;    Command1.Caption = "Load File 1"&lt;br /&gt;    Command2.Caption = "Load File 2"&lt;br /&gt;    Command3.Caption = "Compare Files"&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8284565393459778698?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8284565393459778698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/binary-file-compare.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8284565393459778698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8284565393459778698'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/binary-file-compare.html' title='Binary File Compare'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-5910758021623157909</id><published>2010-05-17T22:24:00.002+07:00</published><updated>2010-05-17T23:06:54.812+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Auto Complete Combo</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;AutoCompleteCombo.CTL&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Option Explicit&lt;br /&gt;Option Compare Text&lt;br /&gt;&lt;br /&gt;Private ItemsArray() As String&lt;br /&gt;&lt;br /&gt;Public Event Change()&lt;br /&gt;Public Event Click()&lt;br /&gt;Public Event DblClick()&lt;br /&gt;Public Event KeyDown(KeyCode As Integer, Shift As Integer)&lt;br /&gt;Public Event KeyUp(KeyCode As Integer, Shift As Integer)&lt;br /&gt;Public Event KeyPress(KeyAscii As Integer)&lt;br /&gt;Public Event MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;Public Event MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;Public Event MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;&lt;br /&gt;Private Sub Combo1_Change()&lt;br /&gt;    RaiseEvent Change&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_Initialize()&lt;br /&gt;    ReDim ItemsArray(0) As String&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_InitProperties()&lt;br /&gt;    Text = Ambient.DisplayName&lt;br /&gt;    UserControl.Width = 1215&lt;br /&gt;    UserControl.Height = 495&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;    RaiseEvent MouseDown(Button, Shift, X, Y)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;    RaiseEvent MouseMove(Button, Shift, X, Y)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)&lt;br /&gt;    RaiseEvent MouseUp(Button, Shift, X, Y)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_Resize()&lt;br /&gt;    On Error Resume Next&lt;br /&gt;    Combo1.Top = 0&lt;br /&gt;    Combo1.Left = 0&lt;br /&gt;    With UserControl&lt;br /&gt;        Combo1.Width = .Width&lt;br /&gt;        .Height = 315&lt;br /&gt;    End With&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub combo1_DblClick()&lt;br /&gt;    RaiseEvent DblClick&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub combo1_KeyDown(KeyCode As Integer, Shift As Integer)&lt;br /&gt;    RaiseEvent KeyDown(KeyCode, Shift)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub combo1_KeyPress(KeyAscii As Integer)&lt;br /&gt;    RaiseEvent KeyPress(KeyAscii)&lt;br /&gt;End Sub&lt;br /&gt;Private Sub combo1_KeyUp(KeyCode As Integer, Shift As Integer)&lt;br /&gt;    If KeyCode &amp;lt; 65 Then RaiseEvent KeyUp(KeyCode, Shift): Exit Sub&lt;br /&gt;    Dim iCtr As Long&lt;br /&gt;    Dim MySelStart As Integer&lt;br /&gt;&lt;br /&gt;    MySelStart = Combo1.SelStart&lt;br /&gt;    If MySelStart = 0 Then Exit Sub 'MySelStart = 1&lt;br /&gt;    &lt;br /&gt;    For iCtr = 0 To UBound(ItemsArray)&lt;br /&gt;         &lt;br /&gt;        If Left$(ItemsArray(iCtr), Len(Combo1.Text)) = Combo1.Text Then&lt;br /&gt;            Combo1.Text = ItemsArray(iCtr)&lt;br /&gt;            Combo1.SelStart = MySelStart&lt;br /&gt;            Combo1.SelLength = 255&lt;br /&gt;            RaiseEvent KeyUp(KeyCode, Shift)&lt;br /&gt;            Exit Sub&lt;br /&gt;        End If&lt;br /&gt;    Next&lt;br /&gt;    Combo1.SelStart = MySelStart&lt;br /&gt;    RaiseEvent KeyUp(KeyCode, Shift)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Property Get BackColor() As OLE_COLOR&lt;br /&gt;    BackColor = Combo1.BackColor&lt;br /&gt;End Property&lt;br /&gt;Public Property Let BackColor(ByVal NewValue As OLE_COLOR)&lt;br /&gt;    Combo1.BackColor = NewValue&lt;br /&gt;    PropertyChanged "BackColor"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get Enabled() As Boolean&lt;br /&gt;    Enabled = UserControl.Enabled&lt;br /&gt;End Property&lt;br /&gt;Public Property Let Enabled(ByVal NewValue As Boolean)&lt;br /&gt;    UserControl.Enabled = NewValue&lt;br /&gt;    Combo1.Enabled = NewValue&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get Font() As StdFont&lt;br /&gt;    Set Font = Combo1.Font&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Set Font(ByVal NewValue As StdFont)&lt;br /&gt;    Set Combo1.Font = NewValue&lt;br /&gt;    PropertyChanged "Font"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get FontName() As String&lt;br /&gt;    FontName = Combo1.FontName&lt;br /&gt;End Property&lt;br /&gt;Public Property Let FontName(ByVal NewValue As String)&lt;br /&gt;    Combo1.FontName = NewValue&lt;br /&gt;    PropertyChanged "FontName"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get FontBold() As Boolean&lt;br /&gt;    FontBold = Combo1.FontBold&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let FontBold(ByVal NewValue As Boolean)&lt;br /&gt;    Combo1.FontBold = NewValue&lt;br /&gt;    PropertyChanged "FontBold"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get FontItalic() As Boolean&lt;br /&gt;    FontItalic = Combo1.FontItalic&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let FontItalic(ByVal NewValue As Boolean)&lt;br /&gt;    Combo1.FontItalic = NewValue&lt;br /&gt;    PropertyChanged "FontItalic"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get FontUnderline() As Boolean&lt;br /&gt;    FontUnderline = Combo1.FontUnderline&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let FontUnderline(ByVal NewValue As Boolean)&lt;br /&gt;    Combo1.FontUnderline = NewValue&lt;br /&gt;    PropertyChanged "FontUnderline"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get FontStrikethru() As Boolean&lt;br /&gt;    FontStrikethru = Combo1.FontStrikethru&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let FontStrikethru(ByVal NewValue As Boolean)&lt;br /&gt;    Combo1.FontStrikethru = NewValue&lt;br /&gt;    PropertyChanged "FontStrikethru"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get FontSize() As Single&lt;br /&gt;    FontSize = Combo1.FontSize&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let FontSize(NewValue As Single)&lt;br /&gt;    Combo1.FontSize = NewValue&lt;br /&gt;    PropertyChanged "FontSize"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get ForeColor() As OLE_COLOR&lt;br /&gt;    ForeColor = Combo1.ForeColor&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let ForeColor(ByVal NewValue As OLE_COLOR)&lt;br /&gt;    Combo1.ForeColor = NewValue&lt;br /&gt;    PropertyChanged "ForeColor"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get Text() As String&lt;br /&gt;    Text = Combo1.Text&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let Text(ByVal NewValue As String)&lt;br /&gt;    Combo1.Text = NewValue&lt;br /&gt;    PropertyChanged "Text"&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get SelStart() As Long&lt;br /&gt;    SelStart = Combo1.SelStart&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let SelStart(ByVal NewValue As Long)&lt;br /&gt;    Combo1.SelStart = NewValue&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get SelLength() As Long&lt;br /&gt;    SelLength = Combo1.SelLength&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let SelLength(ByVal NewValue As Long)&lt;br /&gt;    Combo1.SelLength = NewValue&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get SelText() As String&lt;br /&gt;    SelText = Combo1.SelText&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let SelText(ByVal NewValue As String)&lt;br /&gt;    Combo1.SelText = NewValue&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get ItemData(Index As Integer) As Long&lt;br /&gt;    If Index &amp;lt; 0 Or Index &amp;gt; Combo1.ListCount - 1 Then&lt;br /&gt;        Err.Raise 381&lt;br /&gt;    Else&lt;br /&gt;        ItemData = Combo1.ItemData(Index)&lt;br /&gt;    End If&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let ItemData(Index As Integer, ByVal NewValue As Long)&lt;br /&gt;    If Index &amp;lt; 0 Or Index &amp;gt; Combo1.ListCount Then&lt;br /&gt;        Err.Raise 381&lt;br /&gt;    Else&lt;br /&gt;        Combo1.ItemData(Index) = NewValue&lt;br /&gt;    End If&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get list(Index As Integer) As String&lt;br /&gt;If Index &amp;lt; 0 Or Index &amp;gt; UBound(ItemsArray) - 1 Then&lt;br /&gt;    Err.Raise 381&lt;br /&gt;Else&lt;br /&gt;    list = Combo1.list(Index)&lt;br /&gt;End If&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get ListCount() As Integer&lt;br /&gt;    ListCount = Combo1.ListCount&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Get SelectedItem() As Integer&lt;br /&gt;Dim iAns As Integer&lt;br /&gt;Dim sText As String&lt;br /&gt;Dim iCtr As Long&lt;br /&gt;&lt;br /&gt;iAns = -1&lt;br /&gt;sText = Combo1.Text&lt;br /&gt;&lt;br /&gt;For iCtr = 0 To UBound(ItemsArray)&lt;br /&gt;    If sText = ItemsArray(iCtr) Then iAns = iCtr: iCtr = UBound(ItemsArray)&lt;br /&gt;Next&lt;br /&gt;&lt;br /&gt;SelectedItem = iAns&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Sub Clear()&lt;br /&gt;    ReDim ItemsArray(0) As String&lt;br /&gt;    Combo1.Clear&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Public Sub RemoveItem(Index As Integer)&lt;br /&gt;    ArrayRemoveItem ItemsArray, Index&lt;br /&gt;    Combo1.RemoveItem (Index)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Public Sub AddItem(Item As String)&lt;br /&gt;    If Item = "" Then Exit Sub&lt;br /&gt;    &lt;br /&gt;    Combo1.AddItem UCase(Item)&lt;br /&gt;    &lt;br /&gt;    If ItemsArray(0) = "" Then&lt;br /&gt;        ItemsArray(0) = Item&lt;br /&gt;    Else&lt;br /&gt;        ReDim Preserve ItemsArray(UBound(ItemsArray) + 1) As String&lt;br /&gt;        ItemsArray(UBound(ItemsArray)) = Item&lt;br /&gt;    End If&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Public Sub AddItems(ParamArray Items() As Variant)&lt;br /&gt;    Dim iCtr As Integer&lt;br /&gt;    &lt;br /&gt;    For iCtr = 0 To UBound(Items)&lt;br /&gt;        AddItem UCase(CStr(Items(iCtr)))&lt;br /&gt;    Next&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_ReadProperties(PropBag As PropertyBag)&lt;br /&gt;    With PropBag&lt;br /&gt;        BackColor = .ReadProperty("BackColor", Combo1.BackColor)&lt;br /&gt;        Enabled = .ReadProperty("Enabled", True)&lt;br /&gt;        FontBold = .ReadProperty("FontBold", False)&lt;br /&gt;        FontItalic = .ReadProperty("FontItalic", False)&lt;br /&gt;        FontName = .ReadProperty("FontName", "Tahoma")&lt;br /&gt;        FontSize = .ReadProperty("FontSize", 8)&lt;br /&gt;        FontStrikethru = .ReadProperty("FontStrikethru", False)&lt;br /&gt;        FontUnderline = .ReadProperty("FontUnderline", False)&lt;br /&gt;        ForeColor = .ReadProperty("ForeColor", Combo1.ForeColor)&lt;br /&gt;        Text = .ReadProperty("Text", "")&lt;br /&gt;    End With&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_WriteProperties(PropBag As PropertyBag)&lt;br /&gt;    With PropBag&lt;br /&gt;        .WriteProperty "BackColor", BackColor&lt;br /&gt;        .WriteProperty "Enabled", Enabled, True&lt;br /&gt;        .WriteProperty "FontBold", FontBold, False&lt;br /&gt;        .WriteProperty "FontItalic", FontItalic&lt;br /&gt;        .WriteProperty "FontName", FontName, "Ms Sans Serif"&lt;br /&gt;        .WriteProperty "FontSize", FontSize, 8&lt;br /&gt;        .WriteProperty "FontStrikethru", FontStrikethru, False&lt;br /&gt;        .WriteProperty "FontUnderline", FontUnderline, False&lt;br /&gt;        .WriteProperty "ForeColor", ForeColor&lt;br /&gt;        .WriteProperty "Text", Text&lt;br /&gt;    End With&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub ArrayRemoveItem(ItemArray As Variant, ByVal ItemElement As Long)&lt;br /&gt;    Dim lCtr As Long&lt;br /&gt;    Dim lTop As Long&lt;br /&gt;    Dim lBottom As Long&lt;br /&gt;    &lt;br /&gt;    lTop = UBound(ItemArray)&lt;br /&gt;    lBottom = LBound(ItemArray)&lt;br /&gt;    &lt;br /&gt;    For lCtr = ItemElement To lTop - 1&lt;br /&gt;        ItemArray(lCtr) = ItemArray(lCtr + 1)&lt;br /&gt;    Next&lt;br /&gt;    &lt;br /&gt;    ReDim Preserve ItemArray(lBottom To lTop - 1)&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Public Property Get ListIndex() As Integer&lt;br /&gt;ListIndex = Combo1.ListIndex&lt;br /&gt;&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;Public Property Let ListIndex(ByVal NewValue As Integer)&lt;br /&gt;Combo1.ListIndex = NewValue&lt;br /&gt;PropertyChanged "ListIndex"&lt;br /&gt;&lt;br /&gt;End Property&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-5910758021623157909?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/5910758021623157909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/auto-complete-combo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/5910758021623157909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/5910758021623157909'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/auto-complete-combo.html' title='Auto Complete Combo'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8653263636688534760</id><published>2010-05-17T22:14:00.002+07:00</published><updated>2010-05-17T23:07:17.976+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>ADO ConnectionString Maker for Available DSNs</title><content type='html'>&lt;div style="text-align: justify;"&gt;Using this example, you will create and edit ConnectionStrings based on all availiable DSN and ODBC Driver properties. For example, you can connect to an MS Access Database with 3 different ADO Providers. This code gives you a taste of the many variations of ADO ConnectionStrings that can be arranged with your system's ODBC settings.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;br /&gt;&lt;/br&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;'******************&lt;br /&gt;'YOU NEED:&lt;br /&gt;&lt;br /&gt;'VB 6 with:&lt;br /&gt;'Reference Setting checked - "Microsoft OLE DB Service Component&lt;br /&gt;'1.0 Type Library"&lt;br /&gt;&lt;br /&gt;'Reference Setting checked - "Microsoft ActiveX&lt;br /&gt;'Data Objects 2.0 Library"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;'******************&lt;br /&gt;&lt;br /&gt;'STEPS:&lt;br /&gt;&lt;br /&gt;'(1)Create EXE project&lt;br /&gt;&lt;br /&gt;'(2)Place a long TextBox control named "txtconstr" on form&lt;br /&gt;'[this is your ADO string]&lt;br /&gt;&lt;br /&gt;'(3)Place a CommandButton called "cmdNew" on form&lt;br /&gt;&lt;br /&gt;'(4)Place a second CommandButton called "cmdEdit" on form&lt;br /&gt;&lt;br /&gt;'(5) Insert this code [new]&lt;br /&gt;&lt;br /&gt;Private Sub cmdNew_Click()&lt;br /&gt;On Error GoTo ERRORHANDLER&lt;br /&gt;    Dim objDataLink As New DataLinks&lt;br /&gt;    Dim strConn As String&lt;br /&gt;&lt;br /&gt;    strConn = objDataLink.PromptNew&lt;br /&gt;    txtConStr.Text = strConn&lt;br /&gt;&lt;br /&gt;    Exit Sub&lt;br /&gt;ERRORHANDLER:&lt;br /&gt;    txtConStr.Text = ""&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;'(6)Insert this code [edit]&lt;br /&gt;&lt;br /&gt;Private Sub cmdEdit_Click()&lt;br /&gt;On Error GoTo ERRORHANDLER&lt;br /&gt;    Dim objDataLink As New DataLinks&lt;br /&gt;    Dim ADOCN As New ADODB.Connection&lt;br /&gt;    Dim strConn As String&lt;br /&gt;&lt;br /&gt;    ADOCN.ConnectionString = txtConStr.Text&lt;br /&gt;    strConn = objDataLink.PromptEdit(ADOCN)&lt;br /&gt;    txtConStr.Text = ADOCN.ConnectionString&lt;br /&gt;&lt;br /&gt;    Exit Sub&lt;br /&gt;    &lt;br /&gt;ERRORHANDLER:&lt;br /&gt;     MsgBox "An invalid ADO ConnectionString was detected. Please try again!"&lt;br /&gt;     txtConStr.Text = ""&lt;br /&gt;     &lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8653263636688534760?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8653263636688534760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/ado-connectionstring-maker-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8653263636688534760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8653263636688534760'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/ado-connectionstring-maker-for.html' title='ADO ConnectionString Maker for Available DSNs'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-4754529628802930526</id><published>2010-05-17T20:45:00.005+07:00</published><updated>2010-05-17T23:07:08.857+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>Active Resizer</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Net_Resize.CTL&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="brush: vb; ruler: true; first-line: 1; highlight: null; wrap-lines: false; collapse: false"&gt;Option Explicit&lt;br /&gt;&lt;br /&gt;' if True, also fonts are resized '&lt;br /&gt;Public ResizeFont As Boolean&lt;br /&gt;&lt;br /&gt;' if True, form's height/width ratio is preserved '&lt;br /&gt;Public KeepRatio As Boolean&lt;br /&gt;&lt;br /&gt;Private Type TControlInfo&lt;br /&gt;       &lt;br /&gt;       ctrl As Control&lt;br /&gt;       Left As Single&lt;br /&gt;       Top As Single&lt;br /&gt;       Width As Single&lt;br /&gt;       Height As Single&lt;br /&gt;       FontSize As Single&lt;br /&gt;       Tag      As String&lt;br /&gt;       &lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;Private Type TAllowChanges&lt;br /&gt;  &lt;br /&gt;       AllowChangeTop As Boolean&lt;br /&gt;       AllowChangeLeft As Boolean&lt;br /&gt;       AllowChangeWidth As Boolean&lt;br /&gt;       AllowChangeHeight As Boolean&lt;br /&gt;        &lt;br /&gt;End Type&lt;br /&gt;&lt;br /&gt;' this array holds the original position  '&lt;br /&gt;' and size of all controls on parent form '&lt;br /&gt;Dim Controls() As TControlInfo&lt;br /&gt;&lt;br /&gt;' a reference to the parent form '&lt;br /&gt;Private WithEvents ParentForm As Form&lt;br /&gt;&lt;br /&gt;' parent form's size at load time '&lt;br /&gt;Private ParentWidth As Single&lt;br /&gt;Private ParentHeight As Single&lt;br /&gt;&lt;br /&gt;' ratio of original height/width '&lt;br /&gt;Private HeightWidthRatio As Single&lt;br /&gt;&lt;br /&gt;Private Function CheckForChanges(ByVal TagToUse As String) As TAllowChanges&lt;br /&gt;  On Error Resume Next&lt;br /&gt;  Dim ChangesToAllow As TAllowChanges&lt;br /&gt;  &lt;br /&gt;  ChangesToAllow.AllowChangeTop = True&lt;br /&gt;  ChangesToAllow.AllowChangeLeft = True&lt;br /&gt;  ChangesToAllow.AllowChangeWidth = True&lt;br /&gt;  ChangesToAllow.AllowChangeHeight = True&lt;br /&gt;    &lt;br /&gt;  If TagToUse &amp;lt;&amp;gt; "" Then&lt;br /&gt;    &lt;br /&gt;    If UCase(Left(TagToUse, 9)) = "MSIRESIZE" Then&lt;br /&gt;      &lt;br /&gt;      ChangesToAllow.AllowChangeTop = False&lt;br /&gt;      ChangesToAllow.AllowChangeLeft = False&lt;br /&gt;      ChangesToAllow.AllowChangeWidth = False&lt;br /&gt;      ChangesToAllow.AllowChangeHeight = False&lt;br /&gt;    &lt;br /&gt;      If Mid(TagToUse, 10, 1) = "Y" Then&lt;br /&gt;      &lt;br /&gt;        ChangesToAllow.AllowChangeLeft = True&lt;br /&gt;        &lt;br /&gt;      End If&lt;br /&gt;      &lt;br /&gt;      If Mid(TagToUse, 11, 1) = "Y" Then&lt;br /&gt;      &lt;br /&gt;        ChangesToAllow.AllowChangeTop = True&lt;br /&gt;        &lt;br /&gt;      End If&lt;br /&gt;      &lt;br /&gt;      If Mid(TagToUse, 12, 1) = "Y" Then&lt;br /&gt;      &lt;br /&gt;        ChangesToAllow.AllowChangeWidth = True&lt;br /&gt;        &lt;br /&gt;      End If&lt;br /&gt;      &lt;br /&gt;      If Mid(TagToUse, 13, 1) = "Y" Then&lt;br /&gt;      &lt;br /&gt;        ChangesToAllow.AllowChangeHeight = True&lt;br /&gt;        &lt;br /&gt;      End If&lt;br /&gt;      &lt;br /&gt;    End If&lt;br /&gt;    &lt;br /&gt;  End If&lt;br /&gt;  &lt;br /&gt;  CheckForChanges = ChangesToAllow&lt;br /&gt;  &lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;Private Sub ParentForm_Load()&lt;br /&gt;On Error Resume Next&lt;br /&gt;  ' the ParentWidth variable works as a flag '&lt;br /&gt;  ParentWidth = 0&lt;br /&gt;  &lt;br /&gt;  ' save original ratio '&lt;br /&gt;  HeightWidthRatio = ParentForm.Height / ParentForm.Width&lt;br /&gt;  &lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_ReadProperties(PropBag As PropertyBag)&lt;br /&gt;  On Error Resume Next&lt;br /&gt;  ResizeFont = PropBag.ReadProperty("ResizeFont", False)&lt;br /&gt;  KeepRatio = PropBag.ReadProperty("KeepRatio", False)&lt;br /&gt;  &lt;br /&gt;  If Ambient.UserMode = False Then&lt;br /&gt;    &lt;br /&gt;    Exit Sub&lt;br /&gt;  &lt;br /&gt;  End If&lt;br /&gt;  &lt;br /&gt;  ' store a reference to the parent form and start receiving events '&lt;br /&gt;  Set ParentForm = Parent&lt;br /&gt;  &lt;br /&gt;End Sub&lt;br /&gt;Private Sub UserControl_Resize()&lt;br /&gt;On Local Error Resume Next&lt;br /&gt;  UserControl.Width = 480&lt;br /&gt;  UserControl.Height = 480&lt;br /&gt;  &lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;' trap the parent form's Resize event      '&lt;br /&gt;' this include the very first resize event '&lt;br /&gt;' that occurs soon after form's load       '&lt;br /&gt;''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;Private Sub ParentForm_Resize()&lt;br /&gt;  On Error Resume Next&lt;br /&gt;  If ParentWidth = 0 Then&lt;br /&gt;    Rebuild&lt;br /&gt;  &lt;br /&gt;  Else&lt;br /&gt;    Refresh&lt;br /&gt;  &lt;br /&gt;  End If&lt;br /&gt;  &lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;' save size and position of all controls on parent form                  '&lt;br /&gt;' you should manually invoke this method each time you add a new control '&lt;br /&gt;' to the form (through Load method of a control array)                   '&lt;br /&gt;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;Sub Rebuild()&lt;br /&gt;  On Error Resume Next&lt;br /&gt;  ' rebuild the internal table&lt;br /&gt;  Dim i As Integer&lt;br /&gt;  Dim ctrl As Control&lt;br /&gt;  &lt;br /&gt;'  Dim Changes As TAllowChanges&lt;br /&gt;  &lt;br /&gt;  ' this is necessary for controls that don't support&lt;br /&gt;  ' all properties (e.g. Timer controls)&lt;br /&gt;  On Error Resume Next&lt;br /&gt;    &lt;br /&gt;  If Ambient.UserMode = False Then&lt;br /&gt;    &lt;br /&gt;    Exit Sub&lt;br /&gt;    &lt;br /&gt;  End If&lt;br /&gt;    &lt;br /&gt;  ' save a reference to the parent form, and its initial size&lt;br /&gt;  Set ParentForm = UserControl.Parent&lt;br /&gt;  ParentWidth = ParentForm.ScaleWidth&lt;br /&gt;  ParentHeight = ParentForm.ScaleHeight&lt;br /&gt;    &lt;br /&gt;  ' read the position of all controls on the parent form&lt;br /&gt;  ReDim Controls(ParentForm.Controls.Count - 1) As TControlInfo&lt;br /&gt;    &lt;br /&gt;  For i = 0 To ParentForm.Controls.Count - 1&lt;br /&gt;     &lt;br /&gt;     Set ctrl = ParentForm.Controls(i)&lt;br /&gt;        &lt;br /&gt;'     Changes = CheckForChanges(ctrl)&lt;br /&gt;     Controls(i).Tag = ctrl.Tag&lt;br /&gt;     With Controls(i)&lt;br /&gt;          &lt;br /&gt;                 Set .ctrl = ctrl&lt;br /&gt;                     &lt;br /&gt;'                     If Changes.AllowChangeLeft = True Then&lt;br /&gt;                       .Left = ctrl.Left&lt;br /&gt;'                     End If&lt;br /&gt;'                     If Changes.AllowChangeTop = True Then&lt;br /&gt;                       .Top = ctrl.Top&lt;br /&gt;'                     End If&lt;br /&gt;        If .Tag = "" Then&lt;br /&gt;'                     If Changes.AllowChangeTop = True Then&lt;br /&gt;                       .Width = ctrl.Width&lt;br /&gt;'                     End If&lt;br /&gt;'                     If Changes.AllowChangeTop = True Then&lt;br /&gt;                       .Height = ctrl.Height&lt;br /&gt;'                     End If&lt;br /&gt;                     .FontSize = ctrl.Font.Size&lt;br /&gt;        End If&lt;br /&gt;     End With&lt;br /&gt;        &lt;br /&gt;  Next&lt;br /&gt;  &lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;'''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;' update size and position of controls on parent form '&lt;br /&gt;'''''''''''''''''''''''''''''''''''''''''''''''''''''''&lt;br /&gt;Sub Refresh()&lt;br /&gt;  On Error Resume Next&lt;br /&gt;  Dim i As Integer&lt;br /&gt;  Dim ctrl As Control&lt;br /&gt;  Dim minFactor As Single&lt;br /&gt;  Dim widthFactor As Single&lt;br /&gt;  Dim heightFactor As Single&lt;br /&gt;  &lt;br /&gt;  Dim Changes As TAllowChanges&lt;br /&gt;    &lt;br /&gt;  ' inhibits recursive calls if KeepRatio = True '&lt;br /&gt;  Static executing As Boolean&lt;br /&gt;  &lt;br /&gt;  If executing Then&lt;br /&gt;    &lt;br /&gt;    Exit Sub&lt;br /&gt;    &lt;br /&gt;  End If&lt;br /&gt;    &lt;br /&gt;  If Ambient.UserMode = False Then&lt;br /&gt;    &lt;br /&gt;    Exit Sub&lt;br /&gt;    &lt;br /&gt;  End If&lt;br /&gt;    &lt;br /&gt;  If KeepRatio Then&lt;br /&gt;    &lt;br /&gt;    executing = True&lt;br /&gt;    &lt;br /&gt;    ' we must keep original ratio '&lt;br /&gt;    ParentForm.Height = HeightWidthRatio * ParentForm.Width&lt;br /&gt;    executing = False&lt;br /&gt;  &lt;br /&gt;  End If&lt;br /&gt;    &lt;br /&gt;  ' this is necessary for controls that don't support '&lt;br /&gt;  ' all properties (e.g. Timer controls)              '&lt;br /&gt;  On Error Resume Next&lt;br /&gt;&lt;br /&gt;  widthFactor = ParentForm.ScaleWidth / ParentWidth&lt;br /&gt;  heightFactor = ParentForm.ScaleHeight / ParentHeight&lt;br /&gt;  &lt;br /&gt;  ' take the lesser of the two '&lt;br /&gt;  If widthFactor &amp;lt; heightFactor Then&lt;br /&gt;    &lt;br /&gt;    minFactor = widthFactor&lt;br /&gt;  &lt;br /&gt;  Else&lt;br /&gt;    &lt;br /&gt;    minFactor = heightFactor&lt;br /&gt;  &lt;br /&gt;  End If&lt;br /&gt;    &lt;br /&gt;  ' this is a regular resize '&lt;br /&gt;  For i = 0 To UBound(Controls)&lt;br /&gt;        &lt;br /&gt;     Changes = CheckForChanges(Controls(i).ctrl.Tag)&lt;br /&gt;     &lt;br /&gt;     With Controls(i)&lt;br /&gt;                     &lt;br /&gt;                     ' move and resize the controls - we can't use a Move '&lt;br /&gt;                     ' method because some controls do not support the change '&lt;br /&gt;                     ' of all the four properties (e.g. Height with comboboxes) '&lt;br /&gt;                     If Changes.AllowChangeLeft = True Then&lt;br /&gt;                       &lt;br /&gt;                       .ctrl.Left = .Left * widthFactor&lt;br /&gt;                     &lt;br /&gt;                     End If&lt;br /&gt;                     &lt;br /&gt;                     If Changes.AllowChangeTop = True Then&lt;br /&gt;                       &lt;br /&gt;                       .ctrl.Top = .Top * heightFactor&lt;br /&gt;                     &lt;br /&gt;                     End If&lt;br /&gt;          If .Tag = "" Then&lt;br /&gt;                     ' the change of font must occur *before* the resizing '&lt;br /&gt;                     ' to account for companion scrollbar of listbox '&lt;br /&gt;                     ' and other similar controls '&lt;br /&gt;                     If ResizeFont Then&lt;br /&gt;                       &lt;br /&gt;                       .ctrl.Font.Size = .FontSize * minFactor&lt;br /&gt;                     &lt;br /&gt;                     End If&lt;br /&gt;                     &lt;br /&gt;                     If Changes.AllowChangeWidth = True Then&lt;br /&gt;                       &lt;br /&gt;                       .ctrl.Width = .Width * widthFactor&lt;br /&gt;                     &lt;br /&gt;                     End If&lt;br /&gt;                     &lt;br /&gt;                     If Changes.AllowChangeHeight = True Then&lt;br /&gt;                       &lt;br /&gt;                       .ctrl.Height = .Height * heightFactor&lt;br /&gt;                     &lt;br /&gt;                     End If&lt;br /&gt;         End If&lt;br /&gt;     End With&lt;br /&gt;  &lt;br /&gt;  Next&lt;br /&gt;  &lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub UserControl_WriteProperties(PropBag As PropertyBag)&lt;br /&gt;  &lt;br /&gt;  Call PropBag.WriteProperty("ResizeFont", ResizeFont, False)&lt;br /&gt;  Call PropBag.WriteProperty("KeepRatio", KeepRatio, False)&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Form1.FRM&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_kWfzEC2uPH8/S_FNA2ZaYlI/AAAAAAAAAYI/r57Ugswpevw/s1600/AAA001.jpg" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="208" src="http://1.bp.blogspot.com/_kWfzEC2uPH8/S_FNA2ZaYlI/AAAAAAAAAYI/r57Ugswpevw/s320/AAA001.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-4754529628802930526?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/4754529628802930526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/active-resizer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4754529628802930526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4754529628802930526'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/active-resizer.html' title='Active Resizer'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kWfzEC2uPH8/S_FNA2ZaYlI/AAAAAAAAAYI/r57Ugswpevw/s72-c/AAA001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-5091314963426258444</id><published>2010-05-17T02:13:00.001+07:00</published><updated>2010-05-17T02:14:04.266+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Article'/><title type='text'>Instal SQL Server 2008</title><content type='html'>&lt;a href="http://www.scribd.com/doc/31446201/Instal-SQL-Server-2008" style="display: block; font-family: Helvetica,Arial,Sans-serif; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 12px auto 6px; text-decoration: underline;" title="View Instal SQL Server 2008 on Scribd"&gt;Instal SQL Server 2008 &amp;nbsp;&lt;/a&gt;&lt;a href="http://www.scribd.com/doc/31446201/Instal-SQL-Server-2008" style="display: block; font-family: Helvetica,Arial,Sans-serif; font-size-adjust: none; font-size: 14px; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; margin: 12px auto 6px; text-decoration: underline;" title="View Instal SQL Server 2008 on Scribd"&gt;&lt;/a&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&amp;nbsp;&lt;object data="http://d1.scribdassets.com/ScribdViewer.swf" height="600" id="doc_642506910320766" name="doc_642506910320766" style="outline-color: -moz-use-text-color; outline-style: none; outline-width: medium;" type="application/x-shockwave-flash" width="100%"&gt;  &lt;param name="movie" value="http://d1.scribdassets.com/ScribdViewer.swf"&gt;&lt;param name="wmode" value="opaque"&gt;&lt;param name="bgcolor" value="#ffffff"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="FlashVars" value="document_id=31446201&amp;access_key=key-2hz2get1ij95pgmvfteo&amp;page=1&amp;viewMode=list"&gt;&lt;embed id="doc_642506910320766" name="doc_642506910320766" src="http://d1.scribdassets.com/ScribdViewer.swf?document_id=31446201&amp;access_key=key-2hz2get1ij95pgmvfteo&amp;page=1&amp;viewMode=list" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="600" width="100%" wmode="opaque" bgcolor="#ffffff"&gt;&lt;/embed&gt;  &lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-5091314963426258444?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.scribd.com/doc/31446201/Instal-SQL-Server-2008' title='Instal SQL Server 2008'/><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/5091314963426258444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/instal-sql-server-2008.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/5091314963426258444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/5091314963426258444'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/instal-sql-server-2008.html' title='Instal SQL Server 2008'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-6176677175354533525</id><published>2010-05-17T00:34:00.000+07:00</published><updated>2010-05-17T00:34:51.916+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>.NET Defined</title><content type='html'>&lt;div style="text-align: justify;"&gt;Before getting deeply into the subject we will first know how Businesses are related to Internet, what .NET means to them and what exactly .NET is built upon. As per the product documentation from a Business perspective, there are three phases of the Internet. The First phase gets back to the early 1990's when Internet first came into general use and which brought a big revolution for Businesses. In the First phase of the Internet Businesses designed and launched their Website's and focused on the number of hits to know how many customers were visiting their site and interested in their products, etc. The Second phase is what we are in right now and in this phase Businesses are generating revenue through Online Transactions. We are now moving into the Third phase of the Internet where profit is the main priority. The focus here is to Businesses effectively communicate with their customers and partners who are geographically isolated, participate in Digital Economy and deliver a wide range of services. How can that be possible? The answer, with .NET.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;What is .NET ?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Many people reckon that it's Microsoft's way of controlling the Internet, which is false. .NET is Microsoft's strategy of software that provides services to people any time, any place, on any device. An accurate definition of .NET is, it's an XML Web Services&amp;nbsp; platform which allows us to build rich .NET applications, which allows users to interact with the Internet using wide range of smart devices (tablet devices, pocket PC's, web phones etc), which allows to build and integrate Web Services and which comes with many rich set of tools like Visual Studio to fully develop and build those applications.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;What are Web Services?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Web Services are the applications that run on a Web Server and communicate with other applications. It uses a series of protocols to respond to different requests. The protocols on which Web Services are built are summarized below:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;UDDI:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Stands for Universal Discovery and Description Integration. It's said to be the Yellow Pages of Web Services which allows Businesses to search for other Businesses allowing them to search for the services it needs, know about the services and contact them.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;WSDL:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Stands for Web Services Description Language, often called as whiz-dull. WSDL is an XML document that describes a set of SOAP messages and how those messages are exchanged.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SOAP:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Stands for Simple Object Access Protocol. It's the communication protocol for Web Services.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;XML, HTTP and SMTP:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Stands for Extensible Markup Language, Hyper Text Transfer Protocol and Simple Message Transfer Protocol respectively. UDDI, WSDL and SOAP rely on these protocols for communication. &lt;br /&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;The image below shows the order of the protocols on which Web Services are built:&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_kWfzEC2uPH8/S_ArNwZoE9I/AAAAAAAAAYA/UgrUjNgDh7E/s1600/dotnet.gif" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_kWfzEC2uPH8/S_ArNwZoE9I/AAAAAAAAAYA/UgrUjNgDh7E/s320/dotnet.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;i&gt;&lt;b&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;Example of a Web Services Application&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Let's say a customer accesses a Website and buys something. The Web services of the business will communicate with the inventory system to see if there is enough stock to fulfill the order. If not, the system can communicate with the suppliers to find one or all of the parts that make up the order before filling the order. At all stages the customer will be kept informed via messages. The end result is a seamless system communicating and exchanging information easily regardless of the platform they are all running on. The business don't need to worry about going to the wrong supplier because it asks the Web service running on the supplier system what it does. And the business doesn't have to worry about the other system's methods of handling data because they communicate via SOAP and XML.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Real World Application&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Microsoft's passport service is an example of a .NET service. Passport is a Web-based service designed to make signing in to Websites fast and easy. Passport enables participating sites to authenticate a user with a single set of sign-in credentials eliminating the need for users to remember numerous passwords and sign-in names. You can use one name and password to sign in to all .NET Passport-participating sites and services. You can store personal information in your .NET Passport profile and, if you choose, automatically share that information when you sign in so that participating sites can provide you with personalized services. If you use Hotmail for your email needs then you should be very much familiar with the passport service.&lt;br /&gt;&lt;br /&gt;To find out more about how Businesses are implementing Web Services and the advantages it is providing please visit Microsoft's Website and check out the case studies published.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What is .NET Built On?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;.NET is built on the Windows Server System to take major advantage of the OS and which comes with a host of different servers which allows for building, deploying, managing and maintaining Web-based solutions. The Windows Server System is designed with performance as priority and it provides scalability, reliability, and manageability for the global, Web-enabled enterprise. The Windows Server System integrated software products are built for interoperability using open Web standards such as XML and SOAP.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Core Windows Server System Products include :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SQL Server2000: This Database Server is Web enabled and is designed with priority for .NET based applications. It is scalable, easy to manage and has a native XML store.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Application Center 2000:&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This product is designed to manage Web Applications.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;b&gt;Commerce Server 2000:&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This powerful Server is designed for creating E-Commerce based applications.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mobile Information Server:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This Server provides real-time access for the mobile community. Now Outlook users can use their Pocket PC's to access all their Outlook data while they are moving.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exchange Server 2000:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This is a messaging system Server and allows applications on any device to access information and collaborate using XML.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;BizTalk Server 2000:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This is the first product created for .NET which is XML based and allows to build business process that integrate with other services in the organization or with other Businesses.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Internet Security and Acceleration Server 2000:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This Server provides Security and Protection for machines. It is an integrated firewall and Web cache server built to make the Web-enabled enterprise safer, faster, and more manageable.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Host Integration Server 2000:&lt;/b&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This Server allows for the Integration of mainframe systems with .NET.&lt;br /&gt;&lt;br /&gt;When developing real world projects if you don't know how to use the above mentioned Server's which are built for .NET based applications do not worry. Your System Administrator is always there to help you.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;.NET and XML&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There is a lot of connection between XML and .NET. XML is the glue that holds .NET together. XML looks similar to HTML which&amp;nbsp; is readable and text-based. XML is a method of putting structured data into a text file. XML is the specification for defining the structure of the document. Around this specification a whole family of optional modules are being developed. The&amp;nbsp; eason why XML is linked so much to .NET is, it's platform independent and is well supported on any environment. To move the data contained in an XML file around different organizations using different software on different platforms it should be packed it into something. That something is a protocol like SOAP.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;About SOAP&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SOAP, Simple Object Access Protocol is a simple, lightweight protocol for exchanging information between peers in a decentralized, distributed environment. It is an XML based protocol that consists of three parts: an envelop that describes what is in the message and how it should be processed, a set of encoding rules and a convention for representing remote procedure calls and responses.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;.NET vs Java&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Many of us wonder what .NET has to do with Java. Is there any relation between them? Are they similar? and so on. I even hear some people say .NET is Microsoft's answer to Java. I think every language has its own pros and cons. Java is one of the greatest programming languages created by humans. Java doesn't have a visual interface and requires us to write heaps of code to develop applications. On the other hand, with .NET, the Framework supports around 20 different programming languages which are better and focus only on business logic leaving all other aspects to the Framework. Visual Studio .NET comes with a rich visual interface and supports drag and drop. Many applications were developed, tested and maintained to compare the differences between .NET and Java and the end result was a particular application developed using .NET requires less lines of code, less time to develop and lower deployment costs along with other important issues. Personally, I don't mean to say that Java is gone or .NET based applications are going to dominate the Internet but I think .NET definitely has an extra edge as it is packed with features that simplify application development.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-6176677175354533525?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/6176677175354533525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/net-defined.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6176677175354533525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6176677175354533525'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/net-defined.html' title='.NET Defined'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_kWfzEC2uPH8/S_ArNwZoE9I/AAAAAAAAAYA/UgrUjNgDh7E/s72-c/dotnet.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-4230482758902914022</id><published>2010-05-17T00:21:00.001+07:00</published><updated>2010-05-17T00:26:36.261+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>OOP with VB</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;b&gt;OOP Basics&lt;/b&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Visual Basic was Object-Based, Visual Basic .NET is &lt;span style="color: red;"&gt;Object-Oriented&lt;/span&gt;, which means that it's a true Object Oriented Programming Language. Visual Basic .NET supports all the key OOP features like &lt;span style="color: red;"&gt;Polymorphism, Inheritance, Abstraction&lt;/span&gt; and &lt;span style="color: red;"&gt;Encapsulation&lt;/span&gt;. It's worth having a brief overview of OOP before starting OOP with VB.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Why Object Oriented approach?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A major factor in the invention of Object-Oriented approach is to remove some of the flaws encountered with the procedural approach. In OOP, data is treated as a critical element and does not allow it to flow freely. It bounds data closely to the functions that operate on it and protects it from accidental modification from outside functions. OOP allows decomposition of a problem into a number of entities called objects and then builds data and functions around these objects. A major advantage of OOP is code reusability.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Some important features of Object Oriented programming are as follows:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Emphasis on data rather than procedure&lt;/li&gt;&lt;li&gt;Programs are divided into Objects&lt;/li&gt;&lt;li&gt;Data is hidden and cannot be accessed by external functions&lt;/li&gt;&lt;li&gt;Objects can communicate with each other through functions&lt;/li&gt;&lt;li&gt;New data and functions can be easily added whenever necessary&lt;/li&gt;&lt;li&gt;Follows bottom-up approach&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Concepts of OOP:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Objects&lt;/li&gt;&lt;li&gt;Classes&lt;/li&gt;&lt;li&gt;Data Abstraction and Encapsulation&lt;/li&gt;&lt;li&gt;Inheritance&lt;/li&gt;&lt;li&gt;Polymorphism&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;Briefly on Concepts:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Objects&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Objects are the basic run-time entities in an object-oriented system. Programming problem is analyzed in terms of objects and nature of communication between them. When a program is executed, objects interact with each other by sending messages. Different objects can also interact with each other without knowing the details of their data or code.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Classes&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Data Abstraction and Encapsulation&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Abstraction refers to the act of representing essential features without including the background details or explanations. Classes use the concept of abstraction and are defined as a list of abstract attributes.&lt;br /&gt;&lt;br /&gt;Storing data and functions in a single unit (class) is encapsulation. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Inheritance&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Inheritance is the process by which objects can acquire the properties of objects of other class. In OOP, inheritance provides reusability, like, adding additional features to an existing class without modifying it. This is achieved by deriving a new class from the existing one. The new class will have combined features of both the classes.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Polymorphism&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Polymorphism means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends on the data types used in the operation. Polymorphism is extensively used in implementing Inheritance.&lt;br /&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;Advantages of OOP&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;Object-Oriented Programming has the following advantages over conventional approaches:&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface.&lt;/li&gt;&lt;li&gt;OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones.&lt;/li&gt;&lt;li&gt;OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. This is particularly useful for developing graphical user interfaces.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-4230482758902914022?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/4230482758902914022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/oop-with-vb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4230482758902914022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/4230482758902914022'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/oop-with-vb.html' title='OOP with VB'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8958377982107650293</id><published>2010-05-14T11:33:00.000+07:00</published><updated>2010-05-14T03:23:27.832+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Article'/><title type='text'>Multitier Architecture</title><content type='html'>&lt;div style="text-align: justify;"&gt;In software engineering, multi-tier architecture (often referred to as n-tier architecture) is a client–server architecture in which the presentation, the application processing, and the data management are logically separate processes. For example, an application that uses middleware to service data requests between a user and a database employs multi-tier architecture. The most widespread use of "multi-tier architecture" refers to three-tier architecture. N-tier application architecture provides a model for developers to create a flexible and reusable application. By breaking up an application into tiers, developers only have to modify or add a specific layer, rather than have to rewrite the entire application over. There should be a presentation tier, a business or data access tier, and a data tier. The concepts of layer and tier are often used interchangeably. However, one fairly common point of view is that there is indeed a difference, and that a layer is a logical structuring mechanism for the elements that make up the software solution, while a tier is a physical structuring mechanism for the system infrastructure.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;b&gt;Three-tier architecture&lt;/b&gt;&lt;br /&gt;Three-tier is a client–server architecture in which the user interface, functional process logic ("business rules"), computer data storage and data access are developed and maintained as independent modules, most often on separate platforms. It was developed by John J. Donovan in Open Environment Corporation (OEC), a tools company he founded in Cambridge, MA.&lt;br /&gt;The three-tier model is a software architecture and a software design pattern.&lt;br /&gt;Apart from the usual advantages of modular software with well defined interfaces, the three-tier architecture is intended to allow any of the three tiers to be upgraded or replaced independently as requirements or technology change. For example, a change of operating system in the presentation tier would only affect the user interface code.&lt;br /&gt;Typically, the user interface runs on a desktop PC or workstation and uses a standard graphical user interface, functional process logic may consist of one or more separate modules running on a workstation or application server, and an RDBMS on a database server or mainframe contains the computer data storage logic. The middle tier may be multi-tiered itself (in which case the overall architecture is called an "n-tier architecture").&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Three-tier architecture has the following three tiers:&lt;/i&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Presentation tier&lt;/b&gt;&lt;br /&gt;This is the topmost level of the application. The presentation tier displays information related to such services as browsing merchandise, purchasing, and shopping cart contents. It communicates with other tiers by outputting results to the browser/client tier and all other tiers in the network.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Application tier (Business Logic/Logic Tier/Data Access Tier/Middle Tier)&lt;/b&gt;&lt;br /&gt;The logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing.&lt;br /&gt;&lt;b&gt;Data tier&lt;/b&gt;&lt;br /&gt;This tier consists of Database Servers. Here information is stored and retrieved. This tier keeps data neutral and independent from application servers or business logic. Giving data its own tier also improves scalability and performance.&lt;br /&gt;&lt;b&gt;Comparison with the MVC architecture&lt;/b&gt;&lt;br /&gt;At first glance, the three tiers may seem similar to the MVC (Model View Controller) concept; however, topologically they are different. A fundamental rule in a three-tier architecture is the client tier never communicates directly with the data tier; in a three-tier model all communication must pass through the middleware tier. Conceptually the three-tier architecture is linear. However, the MVC architecture is triangular: the View sends updates to the Controller, the Controller updates the Model, and the View gets updated directly from the Model.&lt;br /&gt;From a historical perspective the three-tier architecture concept emerged in the 1990s from observations of distributed systems (e.g., web applications) where the client, middleware and data tiers ran on physically separate platforms. Whereas MVC comes from the previous decade (by work at Xerox PARC in the late 1970s and early 1980s) and is based on observations of applications that ran on a single graphical workstation; MVC was applied to distributed applications much later in its history.&lt;br /&gt;&lt;b&gt;Web development usage&lt;/b&gt;&lt;br /&gt;In the web development field, three-tier is often used to refer to websites, commonly electronic commerce websites, which are built using three tiers:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;A front-end web server serving static content, and potentially some are cached dynamic content. In web based application, Front End is the content rendered by the browser. The content may be static or generated dynamically.&lt;/li&gt;&lt;li&gt;A middle dynamic content processing and generation level application server, for example Java EE, ASP.NET, PHP platform.&lt;/li&gt;&lt;li&gt;A back-end database, comprising both data sets and the database management system or RDBMS software that manages and provides access to the data.&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;Other considerations&lt;/b&gt;&lt;br /&gt;Data transfer between tiers is part of the architecture. Protocols involved may include one or more of SNMP, CORBA, Java RMI, .NET Remoting, Windows Communication Foundation, sockets, UDP, web services or other standard or proprietary protocols. Often Middleware is used to connect the separate tiers. Separate tiers often (but not necessarily) run on separate physical servers, and each tier may itself run on a cluster.&lt;br /&gt;&lt;b&gt;Traceability&lt;/b&gt;&lt;br /&gt;The End-To-End traceability of n-tier systems is a challenging task which becomes more important when systems increase in complexity. The Application Response Measurement defines concepts and APIs for measuring performance and correlating transactions between tiers. &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;Visual Overview Of A Three-tiered Application&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_kWfzEC2uPH8/S-Tb6RaV7uI/AAAAAAAAAW4/t-cuVx5zN8k/s1600/Three-tier+architecture.jpg" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="284" src="http://1.bp.blogspot.com/_kWfzEC2uPH8/S-Tb6RaV7uI/AAAAAAAAAW4/t-cuVx5zN8k/s320/Three-tier+architecture.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Sampel Project&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_kWfzEC2uPH8/S-xb3TkjY_I/AAAAAAAAAXQ/JQIds7q1Xr8/s1600/2+TIER.jpg" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://3.bp.blogspot.com/_kWfzEC2uPH8/S-xb3TkjY_I/AAAAAAAAAXQ/JQIds7q1Xr8/s400/2+TIER.jpg" width="388" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_kWfzEC2uPH8/S-xciD1eT7I/AAAAAAAAAXY/KMWV9jfF3GM/s1600/3+TIER.jpg" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/_kWfzEC2uPH8/S-xciD1eT7I/AAAAAAAAAXY/KMWV9jfF3GM/s400/3+TIER.jpg" width="336" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_kWfzEC2uPH8/S-xdLAdMbDI/AAAAAAAAAXg/h6WxOcsucWI/s1600/N+TIER.jpg" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="356" src="http://3.bp.blogspot.com/_kWfzEC2uPH8/S-xdLAdMbDI/AAAAAAAAAXg/h6WxOcsucWI/s400/N+TIER.jpg" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8958377982107650293?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8958377982107650293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/multitier-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8958377982107650293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8958377982107650293'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/multitier-architecture.html' title='Multitier Architecture'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_kWfzEC2uPH8/S-Tb6RaV7uI/AAAAAAAAAW4/t-cuVx5zN8k/s72-c/Three-tier+architecture.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-7663768390842526958</id><published>2010-05-13T10:19:00.000+07:00</published><updated>2010-05-14T03:23:34.047+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Article'/><title type='text'>Cloning your Hard Drive and Saving Every Bit of Data</title><content type='html'>&lt;div style="text-align: justify;"&gt;They cloned a sheep once, and that sheep had every thing similar to its clone source, except of course it's memories. With your hard drive on the other hand, you can copy its memory, every last bit of it, and restore it on a completely different hard drive.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Cloning your hard drive is something that a person needs to do or at least wants to do, once in their life. The fact is hard drives go bad sometimes, and other times people plain old just want to get a new one with more storage capacity. Either way, wouldn't it be nice to be able to get a new hard drive and make it have the exact same data as your old one, so you could pick up right where you left off?&lt;br /&gt;Think about it, that means you wouldn't have to reinstall your operating system, put all of your important data on it, or even set all of those pesky little preferences back to the way you want it. They would already be done, because you just made a clone of your old hard drive, and all data will be exactly the same. So how can you accomplish this?&lt;br /&gt;The best way to clone your hard drive, and easiest, is to use a good hard drive imaging software. If you plan to use cloning software, all you have to do is insert the disk, follow its instructions and then it will start the cloning process. You may be wondering where you save your data image too. Well believe it or not, you can actually save it on the hard drive that you just made the image from, but of course if more then half is being used by data, it will not fit.&lt;br /&gt;Your other option then is to store it on a DVD, if it can fit, or the hard drive you actually plan on copying it to. That is what you want anyways right? The reason that is not the best option though, is because you would have to open up your computer and attach it to the same IDE cable that you current hard drive is attached to.&lt;br /&gt;Then you would have to partition and format the new drive, and then and only then, you could start the immediate transfer of data from one hard drive to another.&lt;br /&gt;Long process huh? Thought so, but don't worry, you still have some other options. You could also use RAID technology, which stands for Redundant Array of Independent Disks. RAID basically works like this; you have two hard drives in your computer and they both are at least the same size and are attached to the same IDE cable. Then, whenever data is written to your main hard drive, it is also written to your backup one.&lt;br /&gt;This means that you would have an always, up to date hard drive clone at all times. So if anything should happen, you can just boot from your other hard drive, and presto, you're in like Flynn.&lt;br /&gt;On a final note, you need to understand that RAID won't help if you have a fire, tornado or some other disaster that might destroy your entire computer. For this reason, I don't really recommend anybody uses RAID, but instead do a backup weekly and store it on some kind of external storage device.&lt;br /&gt;External storage devices can range from zip drives, DVD-R's, external hard drives, and anything else that can store large amounts of data, but not be in your computer. If you do that, and store the external data in a safe place, then you will forever be safe guarded against virus attacks, disasters, and anything else that might come your computers way.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-7663768390842526958?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/7663768390842526958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/cloning-your-hard-drive-and-saving.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7663768390842526958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7663768390842526958'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/cloning-your-hard-drive-and-saving.html' title='Cloning your Hard Drive and Saving Every Bit of Data'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8433907200206687430</id><published>2010-05-12T21:19:00.000+07:00</published><updated>2010-05-14T03:23:45.453+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General Ledger'/><title type='text'>ACCOUNTING APPLICATIONS</title><content type='html'>&lt;div style="text-align: justify;"&gt;In Indonesia there are lots of companies engaged in trading activities but unfortunately for the lower middle level many companies still use manual systems in order to implement the business process. Every day there is a lot of transactions that can cause inefficiency in the business process as it takes a long time to obtain the desired information. Therefore, it needs adequate accounting information system, to process of recording transactions that occurred and to produce information quickly and accurately. This accounting information system development begins with a survey of common business processes in retail companies. From the results obtained, the design and development of accounting information that comes with customization features that can be used in many retail companies. This application program can process sales, purchase, sale return, purchase returns, payment of debt, payment of accounts, creation of financial statements, and attached with customization features including selection of inventory method, inventory cost flow, and accounting periods.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;All companies both services, trade and manufacturers need to do accounting to know the financial condition of its business. Because of the resulting financial statements will can show the company's financial situation actually, any gain or loss. Problems which will arise if the accounting systems do manually is a lot of timerequired to produce financial statements besides keakurasiannya level is also less. Whereas This financial report was then made as evaluation materials to take financial strategy the next period so that businesses cansurvive and progress. Among the above three types of business, trading business is the kind of company most ubiquitous in Indonesia started from a small level, medium to large. In addition, business processes and accounting systems of businesses trading with each other near the same. Therefore, this study focused on companies engaged in the trade such as shops, mini and supermarkets. Actually has a lot of software (software) sold in the market accounting from both foreign and domestic. But there are some disadvantages of such software, for example:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;For software overseas / foreign expensive sold at a price that is not affordable, except that the software uses accounting terms in foreign languages so it will be difficult to understand by the public, especially if that use is a small business entity level. In addition, because of currency differences, the software has a limited number of digits used.&lt;/li&gt;&lt;li&gt;For software in the country there are several software tools that use less user friendly and less flexible implemented for all commercial businesses at all levels.&lt;/li&gt;&lt;/ul&gt;Therefore, required an accounting application that is able to facilitate trading company doing its accounting system. Application will be made in this study is equipped with customization features that allow trading of all levels to use them. Applications that can be generated will be set in accordance with the needs and desires with the company during the early mengimplementasiannya flexible.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SISTEM INFORMASI AKUNTANSI &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Accounting is a process that consist of three activities, namely the identification, recording, and communicating the economic events in an organization. Definition of accounting information system is to process data and transactions to provide information needed by users to plan, control, and operation of the business. To generate the information needed for decision makers, then the accounting information system must be able to collect the transactions and other data and put it into the computer system, can process and store data for future, and provide information needed by the user in the form of a report produced information that is accurate, precise and reliable. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accounting Equation&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;According to the accounting equation, is basically a corporate property rights of other parties in this case including the owner of the company. Instead of using capital from the owners, also use the loan to finance its operations. Because business entity concept requires separation of capital from property owners or corporate property, then the third element of the accounting equation is expressed as follows:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;H = U + M &lt;/b&gt;&lt;/div&gt;where: &lt;br /&gt;&lt;b&gt;H&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;property or assets &lt;br /&gt;U&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;debt or obligation &lt;br /&gt;M&amp;nbsp;&amp;nbsp; &amp;nbsp;=&amp;nbsp;&amp;nbsp; &amp;nbsp;capital owners&lt;/b&gt;&lt;br /&gt;In the equation above, the use of debt will add to company property. But property companies are not entirely for the right owner. Therefore, the right side of the equation to separate the debt and capital owners. In other words, the increase does not always reflect the corporate property owners of capital increases.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;INVENTORY METHODS &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There are two methods of supply: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Perpetual System &lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;In the perpetual system, all of the increase and decrease in trade goods are recorded in the same way by recording the increase decrease in cash. Inventories at the beginning of period stock on the date indicated. Purchases are recorded by debiting and crediting inventories of cash or business debt. At the date of sale, cost of merchandise sold is recorded by debiting and crediting the cost of sales of merchandise inventory.&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Periodic System &lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;In this method, revenues are recorded only every sale made. There is no verse which was made on the sales journal to record the cost of goods sold. At the end of the period of physical calculations must be performed to determine the cost or the cost of inventory and cost of sales. &lt;/blockquote&gt;&lt;b&gt;&lt;br /&gt;INVENTORY COST FLOW METHOD&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There are three inventory cost flow assumptions listing of merchandise, namely:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. First-in first-out (FIFO)&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;In this method, the first item purchased is considered as the first item is also for sale. Cost of goods trade in the consolidated statement of income is assumed to cost of goods purchased first.&lt;/blockquote&gt;&lt;b&gt;2. Last-in first-out (LIFO)&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;In this method, the last goods purchased are considered as the first item for sale. Cost of goods is the same as the last item purchased.&lt;/blockquote&gt;&lt;b&gt;3. Average&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;In this method, the cost of trade goods of different purchase dates averaged to get a basic price recorded on the income statement.&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;SYSTEM DESIGN&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Before performing application design, conducted the survey to some good trading business which has been computerized and the manual. The survey results are used as a guide in designing an application that requires general trading company. Customization Features From the survey it designed a few things that need to be customized at the time of initial application, namely:&lt;br /&gt;1.&amp;nbsp;&amp;nbsp; &amp;nbsp;Adding a new company profile that will use this application and all data is saved to the database.&lt;br /&gt;2.&amp;nbsp;&amp;nbsp; &amp;nbsp;Chart of Accounts. Companies can create their own Chart of Accounts as it has been used previously.&lt;br /&gt;&lt;br /&gt;Or use the Chart of Accounts company that has been available. Accounts commonly used by commercial companies, large and small, during the operation are as follows: &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Trade Inventory Account, used to record the amount of merchandise inventory.&lt;/li&gt;&lt;li&gt;Purchase Account, used to record all purchases of merchandise.&lt;/li&gt;&lt;li&gt;Accounts and Returns Purchase Price Reduction, used to record all transactions of the return of merchandise purchased and price reductions on the return of the goods.&lt;/li&gt;&lt;li&gt;Purchase Discounts account, used to record the transactions of purchase discounts.&lt;/li&gt;&lt;li&gt;Purchase Freight Expense account, used to record all payment transactions transportation costs of merchandise purchased.&lt;/li&gt;&lt;li&gt;Sales Account, used to record all sales transactions of merchandise.&lt;/li&gt;&lt;li&gt;Accounts and Sales Returns Price Reduction, used to record the receipt of merchandise that has been re-sale.&lt;/li&gt;&lt;li&gt;Sales Discount account, used to record the transactions of trade.&lt;/li&gt;&lt;li&gt;The use of the available accounts can also be changed during customization process is complete.&lt;/li&gt;&lt;/ul&gt;3.&amp;nbsp;&amp;nbsp; &amp;nbsp;Inventory method.&lt;br /&gt;&lt;blockquote&gt;The application was developed to provide two kinds of options, namely Perpeptual and Periodic&lt;/blockquote&gt;4.&amp;nbsp;&amp;nbsp; &amp;nbsp;Inventory cost flow methods.&lt;br /&gt;&lt;blockquote&gt;The application provides three kinds of options, namely FIFO, LIFO, and Average.&lt;/blockquote&gt;5.&amp;nbsp;&amp;nbsp; &amp;nbsp;Accounting periods used.&lt;br /&gt;&lt;blockquote&gt;Applications provides 6 kinds of options, namely 1 month, 2 months, 3 months, 4 months, 6 months and 12 months (one year). Start date accounting period can also be determined by the company.&lt;/blockquote&gt;&lt;br /&gt;&lt;b&gt;Data Flow Diagram&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To illustrate the flow of data on systems used data flow diagram (DFD). Manufacture DFD started from context diagram to outline describing the process contained in figure. Outer unity or entity involved in trading company system in figure are general there are four, namely: Customers as a party buy merchandise, as the Supplier supply of goods trade, as the Warehouse manage incoming and outgoing goods, and Owners as interested parties to get reports from all the processes that occur in business these. After making context diagram, followed to break into the system description more detail by making DFD level 0 and can be seen in Figure 2. In Figure 2, the system can be divided into three major processes, namely: customization, operations and accounting. Customization processes are processes that happen the first time a system is built. Data stored among other corporate profile, Chart Of Account (account), accounting periods and methods supplies used. All data were later will be needed in the operational process and on accounting process. At this level seems a data storage with the name 'Main Database' which is actually a separate database. Function of the 'Main Database' is to keep pan data on the company name and the name specialized databases used by each firm existing. The process is a process related operations with the main activities that take place in a trading business so that the necessary data by the system is associated with the Customer, Supplier, Warehouse, and owner. The process is a process that runs the accounting accounting cycle in the trading business. Data flow shown from the operational process to process accounting shows that the journalizing activity accounting is done automatically after the penrecords of operational activities. This accounting process later will produce reports and journals financial statements provided to owners.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_kWfzEC2uPH8/S-Qc-P6zp1I/AAAAAAAAAWo/cqcrOFe1Cy8/s1600/1.JPG" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/_kWfzEC2uPH8/S-Qc-P6zp1I/AAAAAAAAAWo/cqcrOFe1Cy8/s400/1.JPG" width="396" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/_kWfzEC2uPH8/S-QdSRZcuTI/AAAAAAAAAWw/nzAszTivXGs/s400/2.JPG" width="286" /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8433907200206687430?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8433907200206687430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/05/accounting-applications.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8433907200206687430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8433907200206687430'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/05/accounting-applications.html' title='ACCOUNTING APPLICATIONS'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_kWfzEC2uPH8/S-Qc-P6zp1I/AAAAAAAAAWo/cqcrOFe1Cy8/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-672430785427429524</id><published>2010-05-11T18:47:00.000+07:00</published><updated>2010-05-14T03:23:58.152+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jaringan'/><title type='text'>Understanding Internet</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;b&gt;"Interconnected Network"&lt;/b&gt; - &lt;span class="long_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;or more popularly known as the Internet - is a global communications system that links computers and computer networks around the world. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Every computer and network connected - directly or indirectly - to some of the main trail, called "Internet backbone" and are distinguished from one another using a "unique names" commonly referred to as "IP address" 32 bits. &lt;/span&gt;&lt;span title=""&gt;Example: 202.159.32.0 (indo.net.id). &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Computers and networks with different platforms have different and characteristic of each (Unix, Linux, Windows, Mac, etc.) to exchange information with a standard protocol known as TCP / IP (Transmission Control Protocol / Internet Protocol).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;Internet Usage&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span title=""&gt;Many usability benefits obtained from the Internet in all fields (business, academic, government, organizations etc), among others:&lt;/span&gt;&lt;span title=""&gt;1. &lt;/span&gt;&lt;span title=""&gt;The information is obtained more quickly and inexpensively with the application :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Email&lt;/li&gt;&lt;li&gt;WWW&lt;/li&gt;&lt;li&gt;NewsGroup&lt;/li&gt;&lt;li&gt;FTP&lt;/li&gt;&lt;li&gt;Gopher&lt;/li&gt;&lt;li&gt;etc&lt;/li&gt;&lt;/ul&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Reduce the cost of paper and distribution costs, for example:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Incoming Internet Newspapers&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Magazines, brochures, etc.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="short_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;As media campaigns, for example:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Image Company&lt;/li&gt;&lt;li&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Introduction, and ordering products&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Interactive Communication&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Email&lt;/li&gt;&lt;li&gt;WWW Customer Support&lt;/li&gt;&lt;li&gt;Video Conferencing&lt;/li&gt;&lt;li&gt;Internet Relay Chat&lt;/li&gt;&lt;li&gt;Internet Phone&lt;/li&gt;&lt;/ul&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;As a means of Research and Development&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Data exchange&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Internet History&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Pada tahun 1969, lembaga riset Departemen Pertahanan Amerika, DARPA (Defence Advance Research Project Agency), mendanai sebuah riset untuk mengambangkan jaringan komunikasi data antar computer."&gt;In 1969, the U.S. Defense Department research agency, DARPA's (Defense Advanced Research Project Agency), funded a study to float data communication network between computers. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Riset ini bertujuan untuk mengembangkan aturan komunikasi antar computer yang memenuhi syarat:"&gt;This research aims to develop communication arrangements between computers that meet the following requirements: &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="* Bekerja secara transparan, melalui bermacam-macam jaringan komunikasi data yang terhubung satu dengan lainnya."&gt;Working in a transparent manner, through a variety of data communication networks that are connected to one another. &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="* Tahan terhadap berbagai gangguan (bencana alam, serangan nuklir dan lain-lain.)"&gt;Resistant to various disturbances (natural disasters, nuclear attack and others.) &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Pengembangan jaringan ini sukses dan menghasilkan ARPANET."&gt;&lt;b&gt;Successful development of this network and generate the ARPANET.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Pengembangan jaringan ini sukses dan menghasilkan ARPANET."&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Aplikasi Internet yang pertama kali ditemukan adalah FTP, menyusul E-mail dan Telnet."&gt;Internet applications is the first time found FTP, following E-mail address and Telnet. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="ARPANET semakin lama semakin besar."&gt;ARPANET becomes increasingly large. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Protocol komunikasi data yang digunakan pada waktu itu, yaitu NCP (Network Communication Protocol), tidak sanggup menampung jaringan computer yang besar ini."&gt;Data communication protocol used at that time, namely NCP (Network Communication Protocol), was not able to accommodate this large computer networks. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Untuk mengatasi hal ini kemudia DARPA mendanai pembuatan protocol komunikasi yang lebih umum."&gt;To overcome this problem later DARPA funded the manufacture of more general communication protocols. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Protokol ini dinamakan TCP/IP (transmission Control Protocol/Internet Protocol)."&gt;This protocol called TCP / IP (Transmission Control Protocol / Internet Protocol). &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun 1982 departemen pertahanan Amerika (DoD) menyatakan TCP/IP menjadi standard untuk jaringannya."&gt;In 1982 the U.S. Department of Defense (DoD) says TCP / IP became the standard for its network. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Protokol ini lalu diadopsi menjadi standard ARPANET pada tahun 1983."&gt;This Protocol and adopted a standard ARPANET in 1983. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Perusahaan Bolt Beranek Newman (BBN) membuat protocol TCP/IP berjalan di atas system operasi UNIX."&gt;Bolt Beranek Newman company (BBN) makes protocol TCP / IP running on the UNIX operating system. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada saar itulah dimulai perkawinan antara UNIX dan TCP/IP."&gt;In Saar's starting a marriage between the UNIX and TCP / IP. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun 1984 jumlah host di Internet melebihi 10000 buah dan pada saat ini penamaan computer masih menggunakan fungsi table nama host."&gt;In 1984 the number of Internet hosts exceeds 10 000 units and at this time naming the computer still uses the host name table functions. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Dengan semakin besarnya host di Internet ini menimbulkan masalah dalam penamaannya."&gt;With the growing size of the host on the Internet is creating problems in penamaannya. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Untuk memecahkan masalah ini maka diperkenalkan Domain Name System (DNS) yang mengganti table nama host."&gt;To solve this problem then introduced the Domain Name System (DNS) that replace the host name table. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Sistem domain inilah yang sampai saat ini kita gunakan untuk menuliskan nama host."&gt;Domain name system is that until now we use to write the host name. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Tahun 1986, lembaga ilmu pengetahuan nasional Amerika Serikat US, National Science Foundation (NSF) mendanai pembuatan jaringan TCP/IP yang dinamai NSFNET Jaringan ini digunakan untuk menghubungkan 5 pusat supercomputer dan memungkinkan terhubungnya universitas-universitas di Amerika Serikat dengan kecepatan jaringan tulang punggung (backbone"&gt;In 1986, the national science agency of the United States U.S., National Science Foundation (NSF) to fund the manufacture TCP / IP network called NSFNET network is used to connect five supercomputer centers and allows connection of the universities in the United States with the speed backbone network (backbone &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title=") sebesar 56kbps."&gt;) equal to 56kbps. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Jaringan inilah yang kemudian menjadi embrio berkembangnya Internet yang kita kenal sekarang ini."&gt;These networks then become the embryo development of the Internet that we know today. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun 1987 berdiri UUNET yang saat ini merupakan salah saru provider utama Internet."&gt;In the year 1987 stood UUNET is now a major provider of vague Internet. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Tercatat pula pada tahun tersebut jumlah host melewati angka10.000."&gt;It was also the year the number of hosts across angka10.000. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Setahun kemudian jaringan tulang punggung NSFNET ditingkatkan menjadi T1 (1.544 Mbps)."&gt;A year later NSFNET backbone network upgraded to T1 (1544 Mbps). &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Di samping itu juga terdapat beberapa Negara di Eropa yang masuk ke jaringan NSFNET."&gt;In addition there are also several countries in Europe that entered the NSFNET network.  &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun 1989 perkembangan Internet menjadi semakin luas dan sampai menjangkau Australia dan Selandia Baru."&gt;In 1989 development of the Internet becomes more widespread and to reach Australia and New Zealand. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun tersebut jumlah host di Internet mencapai jumlah 100.000 Dua tahun kemudian aplikasi di Internet bertambah dengan diciptakannya Wide Area Information Server (WAIS), Ghoper, dan World Wide Web (WWW)."&gt;In that year the number of hosts on the Internet reaching 100 000 Two years later the number of applications on the Internet increases with the creation of Wide Area Information Server (WAIS), Ghoper, and the World Wide Web (WWW). &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun tersebut kecepatan jaringan tulang punggung semakin ditingkatkan menjadi T3 (45Mbps)."&gt;In that year the backbone network speeds increased to T3 (45Mbps). &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun 1992 jumlah host di Internet mencapai 1 juta host."&gt;In 1992 the number of hosts on the Internet reaching one million host. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Salah satu pemicu perkembangan ini adalah semakin meluasnya perkembangan Gopher yang terdapat di Internet."&gt;One trigger of this development is the ever-expanding developments contained in the Internet Gopher. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun ini juga untuk pertama kalinya dilaksanakan siaran radio audio dan video multicast melalui IETF MBONE (multicast backbone)."&gt;In this year also for the first time conducted a radio broadcast audio and video multicast via IETF MBONE (multicast backbone).&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun ini juga untuk pertama kalinya dilaksanakan siaran radio audio dan video multicast melalui IETF MBONE (multicast backbone)."&gt;&lt;br /&gt;&lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="WWW (Wold Wide WEB)"&gt;&lt;b&gt;WWW (Wold Wide Web)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="WWW (Wold Wide WEB)"&gt;&lt;b&gt; &lt;/b&gt;  &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Sebelum berkembangnya WWW, Internet umumnya hanya digunakan oleh kalangan akademisi dan riset."&gt;Before the development of the WWW, the Internet is generally only used by academics and research.&lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Pada tahun 1993 NCSA mengeluarkan Mosaic, Browser WWW dengan kemampuan grafik."&gt; In 1993, NCSA released Mosaic, the WWW browser with graphics capabilities. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" title="Browser ini bisa digunakan pada windows dan Macintosh."&gt;This browser can be used on Windows and Macintosh. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Pada tahun itu juga Mosaic menampakkan hasil."&gt;In that year also appeared the result of Mosaic. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Ini dapat dilihat dari perkembangan lalu lintas data WWW pada waktu itu mencapai hamper 342000% sementara perkembangan Gopher hanya 997%."&gt;This can be seen from the development of the WWW data traffic at that time reached almost 342 000% while only 997% Gopher development. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Dunia bisnis dan media pun mulailah melirik Internet karena perkembangan ini."&gt;Business world and the media also began to glance at the Internet because of this development. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Hadirnya Mosaic ternyata menjadi titik belok perkembangan Internet yang tadinya hanya digunakan oleh kalangan akademisi dan riset, menjadi digunakan oleh orang banyak untuk bisnis dan hiburan seperti sekarang ini."&gt;Mosaic presence proved to be a turning point was the development of the Internet is only used by academics and research, to be used by the people for business and entertainment it is today.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;Services in the TCP / IP (Internet)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Layanan WWW saat ini adalah layanan yang paling popular di antara seluruh jenis layanan TCP/IP."&gt;WWW Service is currently the most popular service among all types of services TCP / IP.&lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Server WWW diakses dengan menggunakan WWW browser seperti Netscape dan Internet Explorer."&gt; WWW server is accessed using WWW browser such as Netscape and Internet Explorer. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Protokol yang digunakan untuk untuk layanan ini adalah HHTP (Hypertex Transfer Protokol)"&gt;Protocol used for this service is HHTP (Hypertex Transfer Protocol) &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Layanan Telnet memungkinkan pengguna Internet untuk masuk ke computer lain dan menjalankan perinta-perintah di computer tersebut."&gt;Telnet Service allows Internet users to log into another computer, and run-command perinta in existing computers. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Layanan E-mail saat ini termasuk aplikasi yang popular di Internet."&gt;E-mail services, including applications that are currently popular on the Internet. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Protokol yang dipergunakan untuk layanan ini adalah SMTP (Simple Mail Transport Protokol) untuk mengirim email."&gt;Protocol used for this service is SMTP (Simple Mail Transport Protocol) to send the email. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="POP (Post Office Protocol) dan IMAP (Internet Message Access Protokol) untuk mengambil email dari server."&gt;POP (Post Office Protocol) and IMAP (Internet Message Access Protocol) to retrieve email from the server.&lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Layanan USENET adalah jenis layanan yang mirip dengan e-mail."&gt; USENET service is a type of service similar to e-mail. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Dala, layanan news, pengguna mengirimkan surat ke newsgroup yang mendiskusikan topic-topik tertentu."&gt;DaLA, news service, users send a letter to the newsgroups that discuss the topic-specific topics. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Server-server di USENET saling terhubung dan meneruskan setiap surat yang diterimanya ke server lain berdasarkan aturan yang disepakati antar server."&gt;In USENET servers connected to each other and forward any mail received to another server under agreed rules between servers. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Protokol untuk mendistribusikan news adalah NNTP (Network News Transport Protocol)."&gt;Protocols to distribute news is NNTP (News Transport Protocol Network). &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Layanan IRC (Internet Relay Chat) termasuk salah satu layanan interaktif yang dapat ditemukan pada jaringan TCP/IP."&gt;Services IRC (Internet Relay Chat) is one of interactive services that can be found on TCP / IP network. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Di Internet terdapat banyak server IRC yang saling berhubungan dan pengguna Internet cukup masuk ke salah saru server untuk dapat melakukan chatting dengan pengguna lain walaupun mereka masuk ke server yang berbeda."&gt;On the Internet there are many interconnected IRC servers and Internet users simply go to any indecent server to be able to chat with other users even if they go to a different server. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Perkembangan layanan di Internet bertambah dengan adanya layanan audio dan video yang bersifat streaming."&gt;Developments in Internet services increases with the audio and video services that are streamed. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Streaming adalah sebuah jenis layanan yang langsung mengolah data yang diterima tanpa menunggu seluruh data selesai dikirim."&gt;Streaming is a type of service that directly process the data received, without waiting for completion of all data sent. &lt;/span&gt;&lt;span onmouseout="this.style.backgroundColor='#fff'" onmouseover="this.style.backgroundColor='#ebeff9'" style="background-color: white;" title="Contoh aplikasi streaming adalah RealPlayer dari RealNetworks."&gt;Streaming application example is RealPlayer from RealNetworks.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div dir="ltr"&gt;&lt;div class=" " id="tts_button" style="display: block;" title="Simak terjemahan ini"&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;Internet Growth&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;Internet has a very good growth and very rapid current. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;From statistical data obtained, are as follows:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;3 million hosts are connected at the end of 1994&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;Population 30 million users (1995)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;Growth of 10% per month&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;100 million users in 1998, estimated the year 2010 everyone will be connected to the Internet&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;Email dominate 75% of business relationships.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;Starting Internet&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;To start the Internet at least we need a computer, modem and telephone line. &lt;/span&gt;&lt;span title=""&gt;We also need to register to an Internet Service Provider to be able to get the software and access to the Internet.&lt;br /&gt;&lt;/span&gt;&lt;span title=""&gt;Internet Service Provider is a company that provides services to the Internet or can be referred to as the gateway to the Internet. &lt;/span&gt;&lt;span title=""&gt;So we can connect to the Internet we need to register with the ISP to get the name and nature at on the Internet.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;span title=""&gt;&lt;b&gt;Type of connection provided by your Internet Service Provider:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span title=""&gt;&lt;b&gt;* IP Connection&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span title=""&gt;If all the hardware and software that we have wanted to directly connect to or access to the Internet, then we must use the IP (Internet Protocol) address.&lt;/span&gt;&lt;span title=""&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;* Dial UP Connection&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span title=""&gt;If we use a modem to dial into the ISP to obtain a connection to the Internet, then it is called a dial-up access.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-672430785427429524?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/672430785427429524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/04/pengertian-internet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/672430785427429524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/672430785427429524'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/04/pengertian-internet.html' title='Understanding Internet'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-8419952631403822900</id><published>2010-05-10T18:31:00.000+07:00</published><updated>2010-05-14T03:24:05.838+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jaringan'/><title type='text'>TCP / IP</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;Before we talk about the Internet connection we must first know the TCP / IP (Transmission Control Protocol / Internet Protocol). &lt;/span&gt;&lt;span title=""&gt;To be able to communicate from computer to computer (PC to PC), the computer must follow certain rules. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;This regulation is commonly referred to by the term protocol. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Rules (Protocol) communication follows the standard OSI (Open Systems interconnecting). &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;One of the OSI protocol that meets the standard protocol is TCP / IP. &lt;/span&gt;&lt;span title=""&gt;This protocol used to communicate on the Internet, IP (Internet Protocol).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span style="background-color: white; color: black;" title=""&gt;IP Address Formats&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="medium_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;IP number is a number that is used to determine the address of a computer. &lt;/span&gt;&lt;span title=""&gt;IP Nomot consists of 32 binary bits or 12 decimal digits.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;1. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Binary Shape&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="medium_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;IP addresses are 32-bit binary numbers separated by a dot marks the dividing every 8 bits. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Every eight bits are called octets. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;The form is as follows:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;each symbol x can be replaced by the numbers 0 and 1.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;exampel:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;10000100.1011100.1111001.00000001&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;2. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Decimal&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;Notation IP address with binary numbers as above are not easy to read. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;To make it easier to read and write, then the IP address is often written as four decimal numbers, each separated by sebuat point. &lt;/span&gt;&lt;span title=""&gt;Penulisa format is called "dotted decimal notation" (dotted decimal notation). &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Each decimal number represents the value of an octet (eight bits) IP address. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;See examples below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;10000100 . 01011100 . 01111001 . 00000001 &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;132.92.121.1&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;IP Address Classification&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;IP addresses are classified into several classes namely class A, B, C, D and E. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;The classification of these IP addresses can be characterized from three digits of its leading figures. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;See the table below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;table border="2"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&amp;nbsp; Class&amp;nbsp; &lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; M S B &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;1 - 126&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;B&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;128 - 191&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;C&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;192 - 223&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;D&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;224 - 247&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;E&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;248 - 255&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;IP Private&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="medium_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;Private IP is the IP numbers that are not recognizable presence on the Internet. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;He only recognized on the local network only. &lt;/span&gt;&lt;span title=""&gt;Example private IP:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="2"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&amp;nbsp; Class &amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp; IP Private&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;10.0.0.1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;B&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;172.0.0.1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;C&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;192.168.0.1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;span class="medium_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;There is another IP number which is also not used on the Internet that is 127.0.0.1 IP number is called the loopback IP.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="short_text" id="result_box"&gt;&lt;span title=""&gt;&lt;b&gt;Computer Address&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="long_text" id="result_box"&gt;&lt;span style="background-color: white;" title=""&gt;To determine the address of a computer we must know the network address and Host address. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;Network address can be determined by looking at the classification of the computer's IP address and its subnet number. &lt;/span&gt;&lt;span style="background-color: white;" title=""&gt;See the table below.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;table border="2" style="background-color: blue;"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Class&lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;IP&lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Network&lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;th style="background-color: blue; font-weight: normal;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;Subnet Mask&lt;/b&gt;&lt;/span&gt;&lt;/th&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;A&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;64.1.25.8&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;64.0.0.0&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;255.0.0.0&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;B&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;175.1.25.8&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;175.1.0.0&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;255.255.0.0&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;C&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;195.1.25.8&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;195.1.25.0&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;255.255.255.0&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-8419952631403822900?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/8419952631403822900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/04/tcp-ip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8419952631403822900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/8419952631403822900'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/04/tcp-ip.html' title='TCP / IP'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-7404528600630414525</id><published>2010-05-09T18:18:00.000+07:00</published><updated>2010-05-14T03:24:08.585+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><category scheme='http://www.blogger.com/atom/ns#' term='Website'/><title type='text'>Protokol Tranfer Data</title><content type='html'>&lt;div style="text-align: justify;"&gt;HTTP adalah protokol yang dipergunakan untuk mendistribusikan informasi pada WEB. HTTP adalah protokol yang yang hebat dan cepat untuk kemudahan pertukaran file antar teknologi WEB. Umumnya para pemakai dan publihers (penyedia) Web menginginkan kemanan. Mereka ingin melakukan transaksi Internet yang aman. Isu keamana yang sering muncul pada penggunaan eCommerce / Intenet Commerce adalah kemampuan pengesahan (authenticate) dan pengkodean (encryption) terhadap transaksi-transakasi elektonik.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;Pada saat ini ada beberapa konsep untuk versi HTTP yang aman (secure HTTP). Yang populer adalah Secure HTTP (S-HTTP) dan Secure Socket Layer (SSL). Dengan diadopsinya konsep keamanan pada HTTP ini diharapkan akan menjamin keamanan transaksi bagi pemakai transaksi Online di Internet.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Bagaimana WEB Page bekerja?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Ketika kita melihat halaman-halam WEB, halaman-halaman WEB tersebut terlihat seperti surat kabar. Memanggil halaman WEB pada prinsipnya memerintah komputer kita untuk menampilkan halaman-halaman yang kita inginkan, dan selanjutnya halaman WEB muncul di layar komputer&amp;nbsp; kita. Jika halaman web tersebut tersimpan pada komputer lokal (pada hardisk) komputer kita, halaman tersebut tentunya muncul dengan cepat. Namun jika halaman web tersebut terdapat pada komputer lain (komputer remote), maka halaman web tidak muncul secepat halman web pada komputer lokal tadi.&lt;br /&gt;&lt;br /&gt;Sebelum kita mengenal apa itu HTML ada baiknya kita mengetahui dulu apa itu HTTP (hypertext transer protokol). HTTP merupakan protokol yang digunakan untuk mentransfer data atau dokumen antara web server ke web browser (Netscape, Internet Explorer dll).&lt;br /&gt;Dan protokol ini sewaktu melakukan transfer, dokumen atau data webnya ditulis atau dengan menggunakan format HTML. HTML sendiri adalah singkatan dari "hypertext markup language". Disebut dengan markup language karena HTML berfungsi untuk memperindah file tulisan (text) biasa untuk dapat dilihat pada web browser-web browser yang ada.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;WEB Server&lt;/b&gt;&lt;br /&gt;1. Internet Information Server (IIS)&lt;br /&gt;2. Personal WEB Server (PWS)&lt;br /&gt;3. Apache&lt;br /&gt;4. ColdFusion Server&lt;br /&gt;&lt;br /&gt;&lt;b&gt;WEB Client (Browser)&lt;/b&gt;&lt;br /&gt;1. Internet Explorer&lt;br /&gt;2. Netscape Navigator&lt;br /&gt;3. Opera&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Java Server Pages&lt;/b&gt;&lt;br /&gt;Java Server Pages (JSP) merupakan teknologi server script yang berbasis pada bahasa Java.&amp;nbsp; JSP merupakan bahasa server script yang diciptakan oleh SUN Microsystem untuk membangun aplikasi server. File yang dibuat dengan JSP adalah file-file HTML biasa yang di beri script JSP.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;PHP&lt;/b&gt;&lt;br /&gt;PHP adalah bahasa scripting yang menyatu dengan HTML dan berada di server (server side HTML embedded scripting). Perintah-perintah yang kita masukan akan sepenuhnya dijalankan dan dikerjakan di server.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Active Server Pages&amp;nbsp; (ASP)&lt;/b&gt;&lt;br /&gt;Active Server Page (ASP) adalah environment script yang dijalankan pada WEB server (Server Side Script). ASP dapat menjalankan berbagai script server antara lain VBScript, JScript.&lt;br /&gt;VBScript sangat mirip dengan bahasa pemgrograman BASIC. Jadi jangan heran jika orang yang sudah mengerti Basic akan dengan mudah menerapkan VBScript pada WEB dinamicnya. Saya sendiri selalu mempergunakan VBScript untuk aplikasi WEB termasuk web ini dibangun dengan VBScript. Lebih detailnya WEB ini dibangun dengan Windows 2000 Server (system operasi), MS-SQL Server2000 (database server), IIS (WEB Server), ASP (Active Server Page) dan VBScript (Client &amp;amp; Server side Script) :).&lt;br /&gt;&lt;b&gt;&lt;br /&gt;Membuat Halaman Web&lt;/b&gt;&lt;br /&gt;Membuat halaman web dapat dilakukan dengan NotePad, WordPad, MicrosoftWord, WordPerfect, Frotpage atau program lainnya di dalam PC Anda untuk membuat tulisan/text. Jika anda terbiasa dengan Microsoft Visual Basic, saya sarankan anda memakai Microsoft Visual Interdev sebagai alat untuk pengembangan aplikasi WEB anda karena kedua alat pengembangan ini mempunyai antar muka yang mirip. Berdasarkan pengalaman beberapa teman dalam mengembangkan Web database banyak berbekal dari pengalaman pada Visual Basic. VBScript yang dipergunakan pada pengembangan aplikasi web database biasanya adalah juga bekal dari pengalaman di Visual Basic. Jadi jangan heran jika melihat orang yang berbekal Visual Basic akan sangat mudah baginya membuat aplikasi WEB database. Komponen Server yang dapat dikembangkan dari Visual Basic memberikan kontribusi yang tidak sedikit terhadap aplikasi web yang dikembangkan. Terima kasih kepada Microsoft yang telah mengembangkan Tools yang dapat berintegrasi sampai kepada hampir semua level aplikasi yang telah dikembangkannya. Itulah Visual Basic. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-7404528600630414525?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/7404528600630414525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/04/protokol-tranfer-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7404528600630414525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/7404528600630414525'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/04/protokol-tranfer-data.html' title='Protokol Tranfer Data'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-3539271384293728120</id><published>2010-05-08T17:51:00.000+07:00</published><updated>2010-05-14T03:24:20.391+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Website'/><title type='text'>Dasar-Dasar HTML</title><content type='html'>&lt;div style="text-align: justify;"&gt;Pada masa sekarang ini HTML merupakan interface standard Internet. Halaman-halaman HTML ini bisa mengandung animasi, suara, video, bahkan sampai program interaktif yang kompleks. Jataan halaman HTML setiap hari diakses dari WEB server - WEB server di seluruh dunia. Sudah menjadi trend memang sekarang ini perusahaan-perusahaan melakukan pertukaran informasi bisnis dan informasi intern pegawai dan pelanggan-pelanggan mereka. HTML sekarang menjadi pilihan untuk presentasi. Bahkan Microsoft sendiri telah mengintegrasikan HTML ke system operasi Windows-nya. Pendeknya HTML terdapat di mana-mana.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Pengertian HTML&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;HTML adalah bahasa markup yang umum digunakan. Kepopuleran HTML disebakan karena HTML ini mudah digunakan. Pembuatan dokument WEB dengan HTML dapat dilakukan dengan mudah dan cepat. Dokumen WEB dapat tersaji dengan cepat ke banyak pembaca di seluruh dunia sekaligus. HTML mudah melakukan kontrol terhadap tampilan halaman WEB baik berupa teks, gambar, suara, animasi maupun video.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;HTML merupakan singkatan dari Hypertex Markup Language. HTML digunakan untuk membangun halaman WEB. Sekalipun banyak orang menyebutnya sebagai bahasa pemrograman, HTML sebenarnya sama sekali bukan bahasa pemrograman, hal ini terlihat dari namanya, HTML adalah suatu bahasa Markup. HTML digunakan untuk melakukan mark-up (penandaan) terhadap sebuah dokumen teks. Tanda tersebut digunakan untukmenentukan format atau style dari teks yang ditandai halaman web dibangun oleh kode-kode HTML yang disebut juga dengan tag-tag HTML&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tag yang harus di miliki oleh halaman WEB adalah:&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Halaman WEB pertama saya&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Halo Dunia!&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Di antara kedua tag tadi adalah tempat memasukkan apa saja ke dalam halaman web. Pada bagian HEAD, kita memberikan data mengenai dokumen kita. Tag penutup selalu ada pada halaman tersebut.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Paragraph/Baris Baru:&lt;/b&gt;&lt;br /&gt;&amp;lt;P&amp;gt;&amp;lt;BR&amp;gt;&lt;br /&gt;&lt;b&gt;Contoh:&lt;/b&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Halaman WEB pertama saya&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Halo Dunia!&amp;lt;p&amp;gt;&lt;br /&gt;Halo semuanya&amp;lt;br&amp;gt;&lt;br /&gt;Ini adalah halaman WEB saya. &amp;lt;br&amp;gt;&lt;br /&gt;Saya sedang belajar membuat halaman WEB dengan kode HTML&amp;lt;p&amp;gt;&lt;br /&gt;Salam!&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Hyperlink&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Hyperlynk dapat dipergunakan untuk mengkaitkan dokumen HTML ke dokumen HTML pada URL (situs) yang berbeda, mengkaitkan antar dokumen HTML pada URL yang sama atau pengkaitan penunjukan tempat pada URL, dokumen HTML yang sama.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Mengkaitkan Halaman WEB pada URL yang Berbeda&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;contoh:&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Utama&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Halo Dunia!&amp;lt;p&amp;gt;&lt;br /&gt;Halo semuanya&amp;lt;br&amp;gt;&lt;br /&gt;Ini adalah halaman WEB saya. &amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;A hreff="http://thomasipt.blogspot.com"&amp;gt;Klik di sini&amp;lt;/a&amp;gt;untuk melihat data pribadi saya.&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;Simpan dokumen di atas dengan nama utama.htm kemudian buatlah file lain dengan nama pribadi.htm, lalu ketik kode-kode HTML di bawah ini:&lt;br /&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Data Pribadi&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Nama: Thomas &amp;lt;br&amp;gt;&lt;br /&gt;Alamat: Jalan Hati Hati Banyak Anak Anak&amp;lt;br&amp;gt;&lt;br /&gt;Pekerjaan: WEB Developer&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&lt;br /&gt;&amp;lt;A hreff="utama.htm"&amp;gt;klik di sini&amp;lt;/a&amp;gt;untuk kembali&lt;br /&gt;&amp;lt;A hreff="pribadi.htm"&amp;gt;Klik di sini&amp;lt;/a&amp;gt;untuk melihat data probadi saya.&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Mengkaitkan Halaman WEB pada URL yang sama dan Dokumen yang Berbeda&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;contoh:&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Utama&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Halo Dunia!&amp;lt;p&amp;gt;&lt;br /&gt;Halo semuanya&amp;lt;br&amp;gt;&lt;br /&gt;Ini adalah halaman WEB saya. &amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;A hreff="pribadi.htm"&amp;gt;Klik di sini&amp;lt;/a&amp;gt;untuk melihat data pribadi saya.&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;Simpan dokumen di atas dengan nama utama.htm kemudian buatlah file lain dengan nama pribadi.htm, lalu ketik kode-kode HTML di bawah ini:&lt;br /&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Data Pribadi&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Nama: Thomas &amp;lt;br&amp;gt;&lt;br /&gt;Alamat: Jalan Hati Hati Banyak Anak Anak No 123&amp;lt;br&amp;gt;&lt;br /&gt;Pekerjaan: Mencari Pekerjaan&amp;lt;br&amp;gt;&amp;lt;p&amp;gt;&lt;br /&gt;&amp;lt;A hreff="utama.htm"&amp;gt;klik di sini&amp;lt;/a&amp;gt;untuk kembali&lt;br /&gt;&amp;lt;A hreff="pribadi.htm"&amp;gt;Klik di sini&amp;lt;/a&amp;gt;untuk melihat data pribadi saya.&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;Simpan dengan nama pribadi.htm&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Mengkaitkan Halaman WEB pada URL yang sama dan Dokumen yang Sama&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;contoh:&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Utama&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;Halo Dunia!&amp;lt;p&amp;gt;&lt;br /&gt;Halo semuanya&amp;lt;br&amp;gt;&lt;br /&gt;Ini adalah halaman WEB saya. &amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;A href="http://thomasipt.blogspot.com/"&amp;gt;klik di sini &amp;lt;/A&amp;gt; untuk mulai ke BAB I &amp;lt;BR&amp;gt;&lt;br /&gt;Kode HTML adalah kode-kode pembangun halaman web&amp;lt;BR&amp;gt;&lt;br /&gt;Kode tersebut biasanya dibentuk dalam file teks biasa&amp;lt;BR&amp;gt;&lt;br /&gt;Membuat kode-kode HTML dapat dilakukan dengan teks editor biasa seperti notepad&amp;lt;BR&amp;gt;&lt;br /&gt;Ada juga software khusus yang dirancang untuk&amp;lt;BR&amp;gt; memudahkan membangun kode-kode HTML seperti&amp;lt;BR&amp;gt; Microsoft FrontPage, Macromedia DreamWeaver&amp;lt;BR&amp;gt; lain-lain&amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;&lt;br /&gt;Aplikasi pengolah kata Microsoft Word &amp;lt;BR&amp;gt;&lt;br /&gt;juga dapat dipergunakan untuk &amp;lt;BR&amp;gt;&lt;br /&gt;membuat dokument HTML.&amp;lt;BR&amp;gt;&lt;br /&gt;Coba Lihat fasilitas Save AS WEB Page...&amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;&lt;br /&gt;Halaman WEB yang dibentuk oleh kode-kode HTML&amp;lt;BR&amp;gt;&lt;br /&gt;dapat menampilkan Teks, Gambar, animasi, Video, Suara&amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;&lt;br /&gt;Dengan WEB pertukaran informasi menjadi lebih cepat&amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;A name=bab1&amp;gt;BAB I. HTML Sebagai Pembentuk Halaman WEB&amp;lt;/A&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Font&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Speksifikasi dari Huruf (Font) : &amp;lt;FONT&amp;gt; tag ini menerangkan bahwa sebuah tulisan mempunyai beberapa pelengkap.&lt;br /&gt;Pelengkapnya adalah: Ukuran (SIZE), FACE, dan Warna (COLOR)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ukuran (SIZE) : &lt;/b&gt;Menerangkan ukuran dari tulisan antara angka 1-7, tergantung kepada . angka 1 adalah yang terkecil dan angka 7 adalah yang terbesar.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;FACE: &lt;/b&gt;Menerangkan huruf aktual yang Anda mau tampilkan jika huruf ini terinstal pada komputer pengguna. Anda diperbolehkan mempunyai 3 pilihan huruf, dengan dibatasi oleh koma.&lt;br /&gt;Semua batasan (spaces) pada nama huruf harus diganti dengan "garis bawah" ( _ ).&lt;br /&gt;Huruf yang Anda pilih harus ada pada komputer si pengunjung. Jika tidak, maka komputer akan lanjut ke pilihan huruf yang kedua (jika ada).&lt;br /&gt;Jika tidak ada huruf yang ditemukan, maka huruf yang menjadi default yang akan ditampilkan oleh komputer. Untuk menjamin gabungan tulisan itu agar terlihat adalah merubahnya menjadi grafik.&lt;br /&gt;Ini adalah huruf-huruf yang populer &amp;lt;FONT FACE="Helvetia, Times New Roman, Arial&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warna (COLOR): &lt;/b&gt;Menerangkan warna dari huruf dengan namanya atau dengan angka RGB/HEX.&lt;br /&gt;&lt;br /&gt;Contoh:&lt;br /&gt;&lt;br /&gt;&amp;lt;FONT SIZE="4" FACE="Arial" COLOR="Red"&amp;gt; Tulisan ini akan berbeda dengan yang lain. &amp;lt;/FONT&amp;gt;&lt;br /&gt;&lt;br /&gt;Kode tersebut akan terlihat seperti ini: &lt;span style="color: red; font-family: Arial; font-size: medium;"&gt; Tulisan ini akan berbeda dengan yang lain. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Huruf Dasar (Base Font): &lt;/b&gt;Tag ini ditempatkan disebelah kanan bawah dari BODY tag Anda dan tag ini menerangkan "default text" yang akan digunakan pada seluruh bagian dari halaman tersebut. Perlengkapan yang jadi satu bagian dari FONT tag dapat diterima. FONT tag tersebut akan me-overwrite setting dari BASEFONT.&lt;br /&gt;&lt;br /&gt;Contoh: &lt;br /&gt;&amp;lt;BASEFONT SIZE=2 FACE="Arial" COLOR="red"&amp;gt;&lt;br /&gt;&lt;br /&gt;Font Tag lainnya:&lt;br /&gt;&lt;br /&gt;Catatan: Semua tag di bawah ini juga memerlukan sebuah tag penutup.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Catatan:&lt;/b&gt; Semua tag di bawah ini juga memerlukan sebuah tag penutup.&lt;br /&gt;&lt;br /&gt;&amp;lt;B&amp;gt; &lt;b&gt;Tulisan Tebal&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;I&amp;gt; &lt;i&gt;Tulisan Italic&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;U&amp;gt; &lt;u&gt;Underscore&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Strong&amp;gt; &lt;b&gt;Strong&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SStrike&amp;gt; Strikeout&lt;strike&gt; Menggambar sebuah garis sepanjang tulisan&lt;/strike&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;PRE&amp;gt; Preformatted&lt;br /&gt;&lt;pre&gt;Preformatted Text&lt;/pre&gt;&lt;br /&gt;&amp;lt;SUP&amp;gt; Renders text sebagai superscript&lt;sup&gt;Renders text sebagai superscript&lt;/sup&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;SUB&amp;gt; Renders test sebagai sub script&lt;sub&gt;Renders test sebagai sub script&lt;/sub&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Membuat Tabel&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Tabel adalah tag yang sangat penting dalam bahasa HTML. Untuk menjadi seorang web designer yang efektif Anda harus mengetahui dan mengerti bagaimana cara kerja dari sebuah tabel.&lt;br /&gt;&lt;br /&gt;Ada tiga elemen pada tabel. tag dari &amp;lt;TABLE&amp;gt; tag dari row table &amp;lt;TR&amp;gt; dan tag dari sel tabel &amp;lt;TD&amp;gt;. Setiap Anda menambahkan sebuah tag &amp;lt;TR&amp;gt;, ini berarti Anda menambah 1 baris (row) ke bawah terhadap baris (row) berikutnya. Setiap Anda menambahkan sebuah tag &amp;lt;TD&amp;gt;, berarti Anda menambah sel baru disamping baris (row) yang sebelumnya. Elemen utama ada di bawah ini, bersama dengan pelengkapnya yang umum lainnya.&lt;br /&gt;&lt;br /&gt;&amp;lt;TABLE&amp;gt;&lt;b&gt; Pelengkapnya:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;* align - meratakan tabel ke kiri, ke tengah atau ke kanan.&lt;br /&gt;&lt;br /&gt;* bgcolor - menunjukkan warna background untuk semua tabel.&lt;br /&gt;&lt;br /&gt;* border - menunjukkan lebarnya batas (border) dalam satuan pixel.&lt;br /&gt;&lt;br /&gt;* cellpadding - luas yang tak terlihat diantara isi sel dan aktual dinding sel.&lt;br /&gt;&lt;br /&gt;* cellspacing - luas yang aktual (dalam pixel) diantara dua sel.&lt;br /&gt;&lt;br /&gt;* width - menunjukkan luas dari tabel dalam satuan pixel atau persentase &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contoh:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TABLE align="center" bgcolor="blue" border="2" cellpadding="5" cellspacing="2" width="90%"&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;b&gt; Pelengkapnya:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;* align - meratakan isi dari baris (row) yaitu ke kiri, tengah atau ke kanan.&lt;br /&gt;&lt;br /&gt;* bgcolor - menunjukkan warna background dari baris (row).&lt;br /&gt;&lt;br /&gt;* valign - meratakan secara vertikal isi dari baris (row) ke atas, ke tengah atau ke bawah. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contoh:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TR align="right" bgcolor="red" valign=top&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&lt;b&gt; Pelengkapnya:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;* align - meratakan isi dari row yaitu ke kiri, tengah atau ke kanan.&lt;br /&gt;&lt;br /&gt;* background - tempat dari gambar background di dalam sel.&lt;br /&gt;&lt;br /&gt;* bgcolor - menunjukkan warna background untuk semua tabel.&lt;br /&gt;&lt;br /&gt;* height - menunjukkan tinggi dari sel dalam satuan pixel.&lt;br /&gt;&lt;br /&gt;* nowrap - perlengkapan untuk mengunci isi yang kita buat agar tetap pada garis yang sama.&lt;br /&gt;&lt;br /&gt;* valign - meratakan secara vertikal isi dari baris (row) ke atas, ke tengah atau ke bawah. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Latihan:  Membuat Tabel 3 baris 4 kolom&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TABLE  width="75%" border=1&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt; &lt;br /&gt;&amp;lt;/TR&amp;gt;  &lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt; &lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt; &lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;/TABLE&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ini adalah hasilnya:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Menyatukan Baris&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TABLE width="75%" border=1&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD ROWSPAN=2&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;/TABLE&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ini hasilnya (lihat baris yang disatukan)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="2" style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 /2 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Menyatukan Kolom&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;TABLE width="75%" border=1&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD COLSPAN=2&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt; /FONT&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt; &lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;TR&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;TD&amp;gt;&amp;lt;/TD&amp;gt;&lt;br /&gt;&amp;lt;/TR&amp;gt;&lt;br /&gt;&amp;lt;/TABLE&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ini hasilnya (lihat kolom yang disatukan)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;table border="1"&gt;&lt;tbody&gt;&lt;tr&gt;     &lt;td colspan="2" style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 1/2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 1 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;   &lt;/tr&gt;&lt;tr&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;  &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 2 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;    &lt;/tr&gt;&lt;tr&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 1&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 2&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 3&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;     &lt;td style="background-color: blue; color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;BARIS 3 KOLOM 4&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;   &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-3539271384293728120?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/3539271384293728120/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/04/dasar-dasar-html.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3539271384293728120'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/3539271384293728120'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/04/dasar-dasar-html.html' title='Dasar-Dasar HTML'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-6486828302318570667</id><published>2010-04-23T16:53:00.000+07:00</published><updated>2010-04-23T16:53:43.025+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Website'/><title type='text'>WEB Database (Basis Data WEB)</title><content type='html'>&lt;div style="text-align: justify;"&gt;Dalam rekayasa perangkat lunak, suatu aplikasi web (bahasa Inggris: web application atau sering disingkat webapp) adalah suatu aplikasi yang diakses menggunakan penjelajah web melalui suatu jaringan seperti Internet atau intranet. Ia juga merupakan suatu aplikasi perangkat lunak komputer yang dikodekan dalam bahasa yang didukung penjelajah web (seperti HTML, JavaScript, AJAX, Java, dll) dan bergantung pada penjelajah tersebut untuk menampilkan aplikasi. Aplikasi web menjadi populer karena kemudahan tersedianya aplikasi klien untuk mengaksesnya, penjelajah web, yang kadang disebut sebagai suatu thin client (klien tipis). Kemampuan untuk memperbarui dan memelihara aplikasi web tanpa harus mendistribusikan dan menginstalasi perangkat lunak pada kemungkinan ribuan komputer klien merupakan alasan kunci popularitasnya. Aplikasi web yang umum misalnya webmail, toko ritel daring, lelang daring, wiki, papan diskusi, weblog, serta MMORPG.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Pengertian WEB Database&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Pemakaian World Wide Web sebagai alat untuk menyajikan dan mengumpulkan data telah berkembang jauh melampaui tampilan halaman web sederhana. Halaman-halaman web begitu sulit diatur pada mulanya dan hampir mustahil untuk dapat diperbaharui setiap waktu. Seiring dengan berjalannya waktu, volume dan struktur data yang disajikan pada web membutuhkan penyimpanan dan pengolahan ke dalam sebuah database/ basis data dan kemudian menghasilkan halaman-halaman web yang berbasis pada database tersebut. Jumlah situs yang mendapat keuntungan dari pendekatan metode ini kian hari kian meningkat. Berbagai situs Web yang menyajikan informasi tentang kumpulan data-data merupakan calon pengguna Web database ini. Data-data itu bisa berupa produk penjualan, foto-foto pribadi, hyperlink, atau apapun yang kita mau. Pendekatan yang umum adalah mendefenisikan sebuah database/basis data (misalnya: dengan MS-Access), menambah rekord, menghapus, memperbarui atau mengelompokkan database dan langsung dibuat sebagai halaman web dengan cepat.&lt;br /&gt;Keuntungan pendekatan semacam ini adalah:&lt;br /&gt;- Database lebih mudah dipelihara daripada memelihara halaman-halaman web individual.&lt;br /&gt;- Menggunakan fasilitas pencarian database untuk kata kunci yang kita inginkan.&lt;br /&gt;- Dengan database jadi lebih mudah untuk menyajikan data yang sama dalam cara yang berbeda, misalnya: data ditampilkan berdasarkan kategori, berdasarkan uraian, berdasarkan usia atau berdasarkan field lain dalam database.&lt;br /&gt;&lt;br /&gt;Kebutuhan untuk menyebarkan atau mengumpulkan informasi lewat halaman Web memang universal. Halaman web menjadikan tidak nampaknya perbedaan antara organisasi besar atau kecil; bisnis, pemerintahan, pendidikan atau pribadi; profit atau non profit. Tidak perduli apakah itemnya berupa barang antik, mobil bekas, perangko langka, barang seni, rumah yang mau dijual ataupun anak hilang. Jika anda berpikir bahwa membuat halaman web statis untuk menambhkan atau mengurangi item pada halaman web terasa membosankan, banyak kesalahan dan sulit dikelola dan dipelihara, maka WEB Database sangat cocok sekali diterapkan. Sebagai pengelola sekaligus pemelihara situs ini, saya sudah mengalaminya sendiri.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Komponen-komponen yang harus anda ketahui untuk membangun web database adalah:&lt;/b&gt;&lt;br /&gt;- HTML&lt;br /&gt;- Microsoft Active Server Page (ASP)&lt;br /&gt;- Microsoft Visual Basic Scripting Edition (VBScript)&lt;br /&gt;- Desain dan Implementasi Database&lt;br /&gt;- Microsoft ActiveX Data Objects (ADO)&lt;br /&gt;- Structured Query Language (SQL)&lt;br /&gt;- Windows NT atau Windows 2000 Server&lt;br /&gt;- Internet Information Server (IIS)/ Personal Web Server (PWS)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Active Server Page&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;WEB telah berubah menjadi tempat yang interaktif. Pemakai tidak hanya ingin menjelajahi halaman web, mereka juga ingin mendapatkan kesan petualangan pada web tersebut. Membuat WEB server yang dapat memberikan pengalaman yang menggairahkan pemakai adalah tehnik penting yang harus dikuasai. Active Server Page (ASP) memungkinkan kita menerapkan logika pada sisi server. Pada masa silam aplikasi logik yang sering digunakan adalah CGI (Common Gateway Interface). Acrtive Server Page memberikan kemudahan untuk mengaplikasikan pengembangan pada sisi server. Kita dapat merancang dan mengembangkan ASP seperti dalam proses pengembangan WEB. ASP terdiri dari HTML dan script yang berada pada server. Bahasa Script populer yang biasa&amp;nbsp; dipakai adalah sama dengan bahasa script yang berada pada sisi client yaitu VBScript dan JavaScript di dukung oleh ASP.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mengapa Active Server Page Begitu Dinamis?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Active Server Pages dapat digunakan sebagai pusat untuk mengontrol aktifitas server. Kita dapat memberikan kode langsung ke Active Server Page. Pada Active Server Page kita dapat memasukkan ActiveX yang dapat dieksekusi di server. ASP dapat diintegrasikan dengan&amp;nbsp; dengan komponen Active Server untuk membuat aplikasi yang kuat dan mantap pada Server.Sebagai contoh, kita dapat membangun Komponen Active SErver (ActiveX) dengan Visual Basic atau Visual C++ yang dapat mengolah data keuangan dan memberikan hasilnya melalui ASP. Kita juga dapat melakukan hubungan dengan basis data dengan ASP ini.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mari Kita Lihat Lebih Dekat Apa yang Terjadi&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Bagian ini mengupas bagaimana browser berinteraksi dengan ASP. Pertama, halaman WEB mengacu ke pada sebuat file ASP. File ASP mempunya ektensi .asp. Kode berikut adalah contoh demo pemanggilan ASP:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&amp;lt;FORM METHODE="POST" ACTION="ProsesForm.asp"&amp;gt; &lt;/div&gt;&lt;form action="ProsesForm.asp" methode="POST"&gt;&lt;br /&gt;Ketika browser memanggil ASP (dalam hal ini "ProsesForm.asp") file ini pertama diproses oleh server. File ASP ini bisa terdiri dari kode HTML dan kode Script. Semua kode HTML di lewatkan langsung ke browser dengan baik, demikian juga semua Script pada Sisi-Client, Script Sisi-Server ditandai oleh tanda &amp;lt;% dan %&amp;gt;. Server menjalankan script Server dan mengembalikan hasilnya ke browser.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mengenal ASP&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Active Server Page (ASP) bisa terdiri dari kode Script dan kode HTML. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Model Objek ASP&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Active Server Page mempergunakan objek yang memungkinkan dapat mengembangkan logika yang tepat untuk memenuhi kebutuhan pembuatan aplikasi. Model Objek ini mirip dengan model objek yang dipakai pada Visual Basic. 2 Objek dasar di bawah ini dapat dipergunakan pada ASP:&lt;br /&gt;1. Request&lt;br /&gt;2. Response&lt;br /&gt;&lt;br /&gt;Tiap objek ini akan di bahas dengan detail berikut ini.&lt;br /&gt;1. Request&lt;br /&gt;Objek Request memungkinkan kita mengambil informasi dari pamakai. Objek ini sangat berguna ketika kita mencoba mengumpulkan informasi dari pemakai. Buku tamu adalah contoh yang bagus untuk dijadikan bahan praktek untuk mengambil informasi dari pemakai.&lt;br /&gt;2. Response&lt;br /&gt;Kita dapat mempergunakan objek response ini untuk mengirim informasi ke pemakai.&lt;br /&gt;Di bawah ini adalah contoh script buku tamunya:&lt;br /&gt;&lt;br /&gt;Ini adalah file form HTML yang dipergunakan untuk mengambil data (frmData.htm)&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;FORM NAME="frmTamu" &lt;span style="color: red;"&gt;&lt;b&gt;METHODE&lt;/b&gt;=&lt;/span&gt;"&lt;b&gt;&lt;span style="color: red;"&gt;post&lt;/span&gt;&lt;/b&gt;" &lt;b&gt;&lt;span style="color: red;"&gt;ACTION&lt;/span&gt;&lt;/b&gt;="&lt;b&gt;&lt;span style="color: red;"&gt;Tamu.asp&lt;/span&gt;&lt;/b&gt;"&amp;gt;&lt;br /&gt;&amp;lt;H1&amp;gt;Isi Buku Tamu&amp;lt;/H1&amp;gt;&lt;br /&gt;Nama :&amp;lt;INPUT NAME="txtNama"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BR&amp;gt;&lt;br /&gt;Email:&amp;lt;INPUT NAME="txtEmail"&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BR&amp;gt;&lt;br /&gt;Tahu ThomasIPT dari:&amp;lt;INPUT NAME=txtTahuDari&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BR&amp;gt;&lt;br /&gt;Komentar:&amp;lt;TEXTAREA NAME=txtComment ROWS=5 COLS=64&amp;gt;&amp;lt;/TEXTAREA&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BR&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT TYPE="button" VALUE="OK" NAME="btnSubmit"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BR&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;INPUT TYPE="reset" VALUE="Batal" NAME="btnReset"&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;/FORM&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;Di bawah ini adalah file yang dipergunakan untuk memproses data (tamu.asp)&lt;br /&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;'deklarasi variabel&lt;br /&gt;Dim Nama&lt;br /&gt;Dim Email&lt;br /&gt;Dim &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TahuDari&lt;br /&gt;Dim Komentar&lt;br /&gt;' ambil data dari form &lt;br /&gt;Nama = &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Request.Form("txtNama")&lt;br /&gt;Email = Request.Form("txtEmail")&lt;br /&gt;TahuDari= &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Request.Form("txtTahuDari")&lt;br /&gt;Komentar = Request.Form("txtComment")&lt;br /&gt;' tulis nama pada halaman WEB&lt;br /&gt;Response.Write Nama&lt;br /&gt;Response.Write Email&lt;br /&gt;Response.Write TahuDari&lt;br /&gt;Response.Write Komentar&lt;br /&gt;%&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;Perhatikan kata yang diberi &lt;b&gt;&lt;span style="color: red;"&gt;warna merah&lt;/span&gt;&lt;/b&gt;. &lt;span style="color: black;"&gt;Methode="Post"&lt;/span&gt; kata ini menjelaskan metode pemasukan data yang dipergunakan (dlm hal ini methoe Post) methode Post biasanya dipergunakan dengan form HTML. Action="Tamu.asp" kata ini menjelaskan nama file yang akan memproses data dari form HTML tersebut.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;JavaScript &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;JavaScript adalah bahasa script yang dipergunakan di Internet Browser sebelum VBScript dan JScript milik Microsoft oleh perusahaan Netscape. JavaScript berbeda dengan pemrograman Java yang di kembangkan oleh Sun Microsystem. Namun kedua perusahaan ini Netscape dan Sun Microsystem bekerjasama dalam mengembangkan JavaScript dan Java. Java adalah bahasa pemrogaman sedangkan JavaScript adalah bahasa scripting. Kita dapat membuat program yang berdiri sendiri dengan Java sedangkan Scrip yang ditulis dengan JavaScript harus dijalankan oleh browser.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Variable JavaScript&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Dunia pemrograman selalu tidak terlepas dari pengolahan data dan informasi. Data atau informati tersebut mungkin berupa teks yang ditampilkan pada browser. Selanjutnya teks tersebut dapat dikatakan sebagai nilai dari sebuah variabel contoh: kata = 'halo' kata adalah variabel sedangkan 'halo' adalah nilai atau value.&lt;br /&gt;&lt;br /&gt;Berikut adalah variabel yang biasa dipakai pada JavaScript: &lt;br /&gt;&lt;table border="1" cellpadding="1" cellspacing="1"&gt;&lt;tbody&gt;&lt;tr&gt;  &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;Type&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;Contoh&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;Deskripsi&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;String&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;  &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;'halo'&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;  &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;karakter yang diapit oleh &lt;br /&gt;tanda kutip&lt;/span&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;     &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;Number&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;5&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;  &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;nomor yang tidak diapit &lt;br /&gt;oleh tanda kutip&lt;/span&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;      &lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;Boolean&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;true&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;logika benar atau salah (true=   benar, false= &lt;br /&gt;salah)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;Null&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;null&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/td&gt; &lt;td style="background-color: blue;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="font-family: Arial;"&gt;variabel tidak &lt;br /&gt;bernilai&lt;/span&gt; &lt;br /&gt;&lt;/b&gt;&lt;/span&gt;  &lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;Membuat Variable&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Cara I:&lt;/b&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;var Umur;&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;Umur = 18;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Cara II:&lt;/b&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;var Umur = 18;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Membuat Keputusan&lt;/b&gt;&lt;br /&gt;Membuat keputusan dengan If.. Then di bawah ini adalah contoh penggunaan If ... Then &lt;br /&gt;&lt;span style="color: blue;"&gt;If kondisi (){ &lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;... kode ini dijalankan jika kondisinya benar&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Jika kondisinya benar, kode yang berada diantara If dan End If akan dijalankan. Jika kondisinya tidak benar, maka kode nya dilompati dan tidak dijalankan. Di bawah ini adalah contoh penggunaa If - then&lt;br /&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&lt;br /&gt;&amp;lt;TITLE&amp;gt;Programming Website&amp;lt;/TITLE&amp;gt;&lt;br /&gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;H1&amp;gt;&amp;lt;A HREF="http://thomasipt.blogspot.com"&amp;gt;Thomas IPT&amp;lt;/A&amp;gt;&lt;br /&gt;&amp;lt;EM&amp;gt;menggunakan&amp;nbsp; If-Then &amp;lt;/EM&amp;gt;&amp;lt;/H1&amp;gt;&lt;br /&gt;&amp;lt;HR&amp;gt;&lt;br /&gt;&amp;lt;P&amp;gt;Masukkan umur dan klik tombol "Tes".&amp;nbsp; Visual Basic&lt;br /&gt;Script akan memakai kondisi If-Then untuk menampilkan pesan&lt;br /&gt;&amp;lt;PRE&amp;gt;&lt;br /&gt;Saya berumur &amp;lt;INPUT NAME="txtUmur" SIZE=10 &amp;gt; tahun.&amp;nbsp;&amp;nbsp; --&lt;br /&gt;&amp;lt;INPUT TYPE="BUTTON" VALUE="Tes" SIZE=30 NAME="cmdTes"&amp;gt;&lt;br /&gt;&amp;lt;/PRE&amp;gt;&lt;br /&gt;&amp;lt;HR&amp;gt;&lt;br /&gt;&amp;lt;center&amp;gt;&lt;br /&gt;from &amp;lt;em&amp;gt;Programming Website&amp;lt;/em&amp;gt; oleh&lt;br /&gt;&amp;lt;A HREF="http://thomasipt.blogspot.com"&amp;gt;Thomas IPT&amp;lt;/A&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;/center&amp;gt;&lt;br /&gt;&lt;br /&gt;Kode di atas bila dijalankan akan meminta input umur pemakai. Ketika pemakai mengklik tombol Tes, pernyataan If-then akan memeriksa apakah pemakai memassukkan umur yang sah. Jika pemakai memasasukkan nilai negatif atau lebih besar dari 120 maka akan muncul pesan kesalahan.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Perulangan / Loop&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Perulangan sering dijumpai dalam pemgrograman. Contoh kita ingin menghitung pajak atau total gaji dari daftar karyawan. Di sini sering dipergunakan perulangan/loop.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;For Next&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;pernyataan for next biasanya dipergunakan untuk melakukan perulangan dengan jumlah perulangan yang sudah diketahui pemaik sebelumnya.&lt;br /&gt;Contoh kita akan mencetak kata halo sebagai pesan sebanyak 10 kali. &lt;br /&gt;&lt;br /&gt;Contoh kodenya adalah sbb:&lt;br /&gt;&lt;span style="color: blue;"&gt;for (var i = 0; i &amp;lt; =&amp;nbsp; 10;i++){&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;alert ("Halo..!");&lt;/span&gt;&lt;br style="color: blue;" /&gt;&lt;span style="color: blue;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Simpan script&amp;nbsp; di bawah ini dapat anda copy ke notepad, lalu simpan dengan nama "if_javascript.htm"&lt;/b&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;Programming Website&amp;lt;/TITLE&amp;gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;H1&amp;gt;&amp;lt;A HREF="http://thomasipt.blogspot.com"&amp;gt;Thomas IPT&amp;lt;/A&amp;gt; &amp;lt;EM&amp;gt;menggunakan for - next &amp;lt;/EM&amp;gt; &amp;lt;HR&amp;gt;&amp;lt;/H1&amp;gt; &amp;lt;P&amp;gt; Masukkan angka dan klik tombol "Tes". JavaScript akan memakai for - next untuk menampilkan pesan sebanyak yang diisikan pada textbox.&amp;lt;BR&amp;gt;&lt;br /&gt;perulangan &amp;lt;INPUT NAME="txtmax" SIZE=10 &amp;gt; kali &amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;INPUT TYPE="button" VALUE="Tes" SIZE=30 NAME="cmdTes" LANGUAGE=javascript onclick="return cmdTes_onclick()"&amp;gt;&lt;br /&gt;&amp;lt;BR&amp;gt;&lt;br /&gt;&amp;lt;HR&amp;gt; &amp;lt;center&amp;gt;&lt;br /&gt;from &amp;lt;em&amp;gt;Programming Website&amp;lt;/em&amp;gt; oleh&lt;br /&gt;&amp;lt;A HREF="http://thomasipt.blogspot.com"&amp;gt;Thomas IPT&amp;lt;/A&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;&amp;lt;SCRIPT LANGUAGE="JavaScript"&amp;gt;&lt;br /&gt;function cmdTes_onclick(){&lt;br /&gt;var max = window.txtmax.value;&lt;br /&gt;for (var i = 0; i &amp;lt; = max;i++){&lt;br /&gt;alert (i+" Halo..!");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;Validasi Pemakai dengan JavaScript Client Site&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Validasi&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Validasi /pengesahan biasanya dilakukan pada saat pemakai mengisikan data-data. Contoh untuk memeriksa apakah pemakai sudah benar-benar mengisi nama atau alamat.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Client Side&lt;/b&gt;&lt;br /&gt;Yang dimaksud dengan client side script disini adalah, Script di jalankan pada sisi Client yaitu pada komputer pemakai.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Di bawah ini adalah contoh pengisian buku tamu versi JavaScript:&lt;/b&gt;&lt;br /&gt;&amp;lt;HTML&amp;gt;&amp;lt;HEAD&amp;gt;&amp;lt;/HEAD&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;&lt;br /&gt;&amp;lt;H1&amp;gt;&amp;lt;FONT face="Courier New"&amp;gt;Isi Buku Tamu&amp;lt;/FONT&amp;gt; &amp;lt;/H1&amp;gt;&lt;br /&gt;&amp;lt;FONT face="Courier New"&amp;gt; &amp;lt;FORM name="frmInput"&amp;gt; &amp;lt;BR&amp;gt;&lt;br /&gt;Nama&amp;nbsp; &amp;lt;input name="txtNama"&amp;gt; &amp;lt;BR&amp;gt;&lt;br /&gt;Email &amp;lt;input name="txtEmail"&amp;gt; &amp;lt;BR&amp;gt; &amp;lt;BR&amp;gt;&lt;br /&gt;Komentar: &amp;lt;BR&amp;gt;&amp;lt;TEXTAREA name=txtKomentar rows=10 cols=60&amp;gt;&amp;lt;/TEXTAREA&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;input type="button" value="OK" name="btnSubmit" LANGUAGE=javascript onclick="return btnSubmit_onclick()"&amp;gt; &amp;lt;input type="reset" value="Batal" name="btnReset"&amp;gt; &amp;lt;BR&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;/FONT&amp;gt;&lt;br /&gt;&amp;lt;script LANGUAGE="JavaScript"&amp;gt;&lt;br /&gt;function btnSubmit_onclick() {&lt;br /&gt;var kesalahan="";&lt;br /&gt;if (frmInput.txtNama.value == ""){&lt;br /&gt;kesalahan="\n" + "Nama harus di isi";&lt;br /&gt;}&lt;br /&gt;var email = frmInput.txtEmail.value;&lt;br /&gt;var x = email.indexOf("@");&lt;br /&gt;if (x == -1){ &lt;br /&gt;kesalahan = kesalahan + "\n" + "Alamat email harus memiliki tanda @"; }&lt;br /&gt;}&lt;br /&gt;if(frmInput.txtKomentar.value == ""){&lt;br /&gt;kesalahan=kesalahan + "\n" + "Tolong Isi Komentar...";&lt;br /&gt;}&lt;br /&gt;if (kesalahan != ""){&lt;br /&gt;alert ("Ada kesalahan isi form: " + "\n" + kesalahan);&lt;br /&gt;}else{&lt;br /&gt;alert ("submit"); &lt;br /&gt;window.frmInput.submit&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;function btnReset_onclick(){ &lt;br /&gt;frmInput.txtNama.value = "";&lt;br /&gt;frmInput.txtEmail.value = "";&lt;br /&gt;frmInput.txtKomentar.value = "";&lt;br /&gt;}&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;copy kode di atas ke notepad lalu simpan dengan nama validasi_JavaScript.htm buka dengan browser.&lt;/form&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-6486828302318570667?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/6486828302318570667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/04/web-database-basis-data-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6486828302318570667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/6486828302318570667'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/04/web-database-basis-data-web.html' title='WEB Database (Basis Data WEB)'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-2209825666154124153</id><published>2010-04-09T19:48:00.006+07:00</published><updated>2010-05-17T13:31:40.477+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>ODBC Minded</title><content type='html'>&lt;div style="text-align: justify;"&gt;Dari seluruh pekerjaan maupun proyek aplikasi yang saya kerjakan selalu menggunakan koneksi dengan ODBC, mungkin dari beberapa orang, banyak yang sudah mengerti penggunaan koneksi dengan ODBC. Saya sendiri pribadi jika ditanya kenapa menggunakan Koneksi Database ODBC, cukup simple jawaban yang saya berikan yaitu :&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;i&gt;" GURU YANG MENGAJAR SAYA MENGGUNAKAN KONEKSI ODBC ... xixixi"&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;i&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;otomatis saya yang belajar membuat program 1000% otodidak mau tidak mau juga menggunakan koneksi tersebut. Sudah lebih dari 4 tahun saya menggunakan koneksi tersebut dengan menggunakan Database Ms Access ataupun Ms SQL Server. Bukannya saya minded juga dengan semua Software Microsoft, tapi memang jujur cuma 2 database itu yang saya bisa gunakan... dan juga bukan saya tidak ada keinginan untuk belajar database lain, tapi memang waktu yang tersedia sudah habis untuk mengerjakan berbagai pesanan. Andaikata ada kelebihan waktu lebih banyak saya gunakan untuk bersosialisasi di &lt;a href="http://www.facebook.com/"&gt;facebook&lt;/a&gt;.... he he he parah banget ya. Dan dengan menulis tentang ODBC di &lt;a href="http://thomasipt.blogspot.com/"&gt;blog ini&lt;/a&gt; otomatis saya jadi belajar tentang pengertian fundamental dari koneksi tersebut. Lagian belajar dan saling membagi ilmu juga merupakan tujuan saya menulis disini. Kalo ada yang baca ya lumayan, tapi kalo cuma numpang lewat juga bodo amat... :p bagus lagi kalo ada yang meng-copy dan membagi ke teman yang lain, karena seluruh isi memang saya bebaskan untuk dicopy ke forum atau kemanapun, terserah yang baca ni posting...&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;a href="http://id.wikipedia.org/wiki/Open_Database_Connectivity"&gt;&lt;b&gt;Referensi&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;&lt;b&gt;Open Database Connectivity&lt;/b&gt; (disingkat menjadi ODBC)&lt;br /&gt;Sebuah standar terbuka untuk konektivitas antar &lt;a class="new" href="http://id.wikipedia.org/w/index.php?title=Mesin_basis_data&amp;amp;action=edit&amp;amp;redlink=1" title="Mesin basis data (halaman belum tersedia)"&gt;mesin&lt;/a&gt; &lt;a href="http://id.wikipedia.org/wiki/Basis_data"&gt;basis data&lt;/a&gt;. Standar ini menyediakan API yang dapat digunakan untuk menjalankan dan mengoneksikan sebuah aplikasi dengan sebuah &lt;a href="http://id.wikipedia.org/wiki/Sistem_manajemen_basis_data"&gt;sistem manajemen basis data&lt;/a&gt; (SMBD). Para desainer ODBC membuatnya dengan tujuan agar ODBC terbebas dari penggunaan &lt;a href="http://id.wikipedia.org/wiki/Bahasa_pemrograman"&gt;bahasa pemrograman&lt;/a&gt; tertentu, sistem manajemen basis data tertentu, dan &lt;a href="http://id.wikipedia.org/wiki/Sistem_operasi" title="Sistem operasi"&gt;sistem operasi&lt;/a&gt; tertentu.&lt;br /&gt;&lt;b&gt;Selayang pandang&lt;/b&gt;&lt;br /&gt;Spesifikasi ODBC menawarkan API prosedural untuk menggunakan &lt;i&gt;&lt;a class="mw-redirect" href="http://id.wikipedia.org/wiki/Query" title="Query"&gt;query&lt;/a&gt;&lt;/i&gt; dengan bahasa &lt;a href="http://id.wikipedia.org/wiki/SQL" title="SQL"&gt;SQL&lt;/a&gt; untuk mengakses sebuah basis data. Sebuah implementasi ODBC, akan menyediakan satu aplikasi atau lebih, &lt;a href="http://id.wikipedia.org/wiki/Pustaka_perangkat_lunak" title="Pustaka perangkat lunak"&gt;pustaka&lt;/a&gt; inti ODBC, dan juga "&lt;i&gt;driver&lt;/i&gt; basis data". Pustaka inti ODBC, yang bersifat independen terhadap aplikasi dan juga DBMS, bertindak sebagai interpreter antara aplikasi dan juga driver basis data, sementara driver basis data mengandung detail-detail mengenai SMBD tertentu. Sehingga, dengan cara seperti ini, para programmer dapat menulis aplikasi basis data, tanpa harus memahami sistem manajemen basis data tertentu, mengingat semuanya telah ditangani oleh ODBC. Akan tetapi, para pembuat driver basis data ODBC hanya harus mengetahui bagaimana caranya memasukkan driver basis data ke dalam pustaka inti ODBC. Dengan begitu, ODBC ini dapat disebut sebagai sistem yang modular.&lt;br /&gt;ODBC memiliki beberapa komponen utama, yakni sebagai berikut:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;ODBC API&lt;/b&gt;: sekumpulan panggilan fungsi, kode-kode kesalahan dan sintaksis SQL yang mendefinisikan bagaimana data dalam sebuah DBMS diakses.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Driver basis data ODBC&lt;/b&gt;: driver (yang berupa dynamic link library) yang mampu memproses panggilan fungsi ODBC untuk sebuah DBMS tertentu.&lt;/li&gt;&lt;li&gt;&lt;b&gt;ODBC Driver Manager&lt;/b&gt;: yang bertugas untuk memuat driver basis data ODBC yang dibutuhkan oleh aplikasi.&lt;/li&gt;&lt;/ul&gt;Pengguna sistem operasi Windows dapat mengonfigurasikan ODBC dengan menggunakan utilitas ODBC yang terdapat di dalam Control Panel. Utilitas ini mengizinkan mereka untuk mendefinisikan DSN (&lt;i&gt;Data Source Name&lt;/i&gt;) untuk basis data yang hendak diakses dan juga &lt;i&gt;driver&lt;/i&gt; yang digunakan untuk mengakses basis data tersebut. Untuk mengonfigurasikan ODBC dengan utilitas ini, mereka dapat mengasosiasikan sebuah DSN dengan sebuah driver ODBC, yang mengizinkan aplikasi untuk dapat berinterakse dengan sebuah basis data yang disimpan baik secara lokal di dalam mesin yang sama maupun di dalam &lt;i&gt;&lt;a class="mw-redirect" href="http://id.wikipedia.org/wiki/Server" title="Server"&gt;server&lt;/a&gt;&lt;/i&gt; &lt;a href="http://id.wikipedia.org/wiki/Jaringan_komputer" title="Jaringan komputer"&gt;jaringan&lt;/a&gt;.&lt;/blockquote&gt;Gimana, sudah cukup jelas, kalo belum jelas cari referensi lain juga silahkan, saya lebih suka dengan &lt;a href="http://id.wikipedia.org/wiki/Halaman_Utama"&gt;wiki&lt;/a&gt;. Untuk lebih jelasnya cara koneksi akan saya berikan contoh aplikasi dengan menggunakan Ms Visual Basic dan Database Ms Access, untuk Database SQL Server tunggu tanggal mainnya, karena anda baca juga belum selesai jadi jangan terburu-buru dengan Database SQL...&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;SAMPEL SOURCE CODE&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Module.BAS&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: vb;"&gt;Public CN As String&lt;br /&gt;&lt;br /&gt;Sub Main()&lt;br /&gt;CN = "DSN=LATIHAN;DRIVER={Microsoft Access Driver};Server=CENTRAL;UID= ;PWD=;Database = LATIHAN.mdb;"&lt;br /&gt;LOGIN.Show&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Public Sub ClearTextBoxes(frmClearMe As Form)&lt;br /&gt;Dim txt As Control&lt;br /&gt;For Each txt In frmClearMe&lt;br /&gt;If TypeOf txt Is TextBox Then txt.Text = ""&lt;br /&gt;Next&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;ADMIN.FRM&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: vb;"&gt;Private Sub cmdCLOSE_Click()&lt;br /&gt;Unload Me&lt;br /&gt;LOGIN.Show&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;LOGIN.FRM&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: vb;"&gt;Private RDOE As rdoEnvironment&lt;br /&gt;Private RDCO As rdoConnection&lt;br /&gt;Private RCari, tUser, tMasuk As rdoResultset&lt;br /&gt;Private SCari, SqlPass As String&lt;br /&gt;Private Sub cmdCLOSE_Click()&lt;br /&gt;End&lt;br /&gt;End Sub&lt;br /&gt;Private Sub cmdOK_Click()&lt;br /&gt;SCari = "Select * From C013 where UserCode = '" + Text1 + "' and Password = '" + Text2 + "'"&lt;br /&gt;Set RCari = RDCO.OpenResultset(SCari, rdOpenKeyset)&lt;br /&gt;If RCari.RowCount &lt;&gt; 0 Then&lt;br /&gt;Call Masuk&lt;br /&gt;Unload Me&lt;br /&gt;Else&lt;br /&gt;LOGIN.Hide&lt;br /&gt;MsgBox "ANDA TIDAK BERHAK LOG IN KE SYSTEM", vbCritical, "KONFIRMASI"&lt;br /&gt;LOGIN.Show&lt;br /&gt;ClearTextBoxes Me&lt;br /&gt;Text1.SetFocus&lt;br /&gt;End If&lt;br /&gt;RCari.Close&lt;br /&gt;Set RCari = Nothing&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Masuk()&lt;br /&gt;SqlPass = "Select * from C013 where UserCode =  '" + Trim(Text1) + "' "&lt;br /&gt;Set tMasuk = RDCO.OpenResultset(SqlPass, rdOpenDynamic, rdConcurRowVer)&lt;br /&gt;If tMasuk.RowCount &lt;&gt; 0 Then&lt;br /&gt;If tMasuk("MAIN") = "01" Then&lt;br /&gt;ADMIN.Show&lt;br /&gt;ElseIf tMasuk("MAIN") = "02" Then&lt;br /&gt;USER.Show&lt;br /&gt;End If&lt;br /&gt;End If&lt;br /&gt;tMasuk.Close&lt;br /&gt;Set tMasuk = Nothing&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;Set RDOE = rdoEnvironments(0)&lt;br /&gt;Set RDCO = RDOE.OpenConnection("DSN=LATIHAN", rdDriverNoPrompt, False, CN)&lt;br /&gt;ClearTextBoxes Me&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Text1_KeyPress(KeyAscii As Integer)&lt;br /&gt;If KeyAscii = 13 Then&lt;br /&gt;SendKeys "{TAB}"&lt;br /&gt;End If&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Text1_LostFocus()&lt;br /&gt;Text1 = Format(Text1, "&gt;")&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Text2_KeyPress(KeyAscii As Integer)&lt;br /&gt;If KeyAscii = 13 Then&lt;br /&gt;SendKeys "{TAB}"&lt;br /&gt;End If&lt;br /&gt;End Sub&lt;br /&gt;Private Sub Text2_LostFocus()&lt;br /&gt;Text2 = Format(Text2, "&gt;")&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;USER.FRM&lt;/b&gt;&lt;br /&gt;&lt;pre class="brush: vb;"&gt;Private Sub cmdCLOSE_Click()&lt;br /&gt;Unload Me&lt;br /&gt;LOGIN.Show&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt;SAMPEL FORM&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_kWfzEC2uPH8/S78bfbmNGWI/AAAAAAAAAWc/GcwCmnf-hTQ/s1600/SAMPEL_FORM.JPG" imageanchor="1" rel="facebox" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="232" src="http://4.bp.blogspot.com/_kWfzEC2uPH8/S78bfbmNGWI/AAAAAAAAAWc/GcwCmnf-hTQ/s400/SAMPEL_FORM.JPG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;Untuk SAMPEL PROJECT, DATABASE dan SETTING ODBC dapat anda download &lt;a href="http://www.ziddu.com/downloadlink/4972937/KoneksiDenganODBC.rar"&gt;&lt;b&gt;DISINI&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;PASSWORD RAR ...&lt;b&gt; th0m4s_1pt&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Penjelasan Isi Download :&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;ADMIN&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;br /&gt;USER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&lt;br /&gt;&lt;br /&gt;Untuk dapat menjalankan aplikasi, pertamakali setting ODBC dengan nama LATIHAN dan alamat database sesuai dimana database LATIHAN.mdb berada&lt;br /&gt;Apabila aplikasi digunakan untuk sistem terintegrasi di dalam jaringan, maka folder/drive dapat di share kemudian copy aplikasi ke setiap komputer client&lt;br /&gt;Kemudian setting ODBC pada masing2 komputer client dengan alamat database pada posisi folder/drive yang di share tadi. Untuk memudahkan lebih baik pada komputer client dibuatkan Network Drive baru untuk folder/drive yang di share.&lt;br /&gt;Apabila aplikasi ini dikembangkan maka akan menjadi suatu aplikasi yang terintegrasi dalam suatu jaringan lokal.&lt;/blockquote&gt;Semoga Bermanfaat ... !!!&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6134872469536066566-2209825666154124153?l=thomasipt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thomasipt.blogspot.com/feeds/2209825666154124153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://thomasipt.blogspot.com/2010/04/odbc-minded.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/2209825666154124153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6134872469536066566/posts/default/2209825666154124153'/><link rel='alternate' type='text/html' href='http://thomasipt.blogspot.com/2010/04/odbc-minded.html' title='ODBC Minded'/><author><name>Thomas IPT</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='20' src='http://3.bp.blogspot.com/_kWfzEC2uPH8/SrCbrKvULAI/AAAAAAAAAIU/QdrxKPLe1hE/S220/face.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_kWfzEC2uPH8/S78bfbmNGWI/AAAAAAAAAWc/GcwCmnf-hTQ/s72-c/SAMPEL_FORM.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6134872469536066566.post-6473453463703345131</id><published>2010-04-05T13:56:00.002+07:00</published><updated>2010-04-05T14:31:11.213+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Belajar VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Basic'/><title type='text'>VB-[dot]-Net</title><content type='html'>&lt;b&gt;Dasar Pemahaman&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Pemahaman dasar visual basic bisa dimulai dari pengenalan terhadap:&lt;br /&gt;1. Objek&lt;br /&gt;2. Properties&lt;br /&gt;3. Event&lt;br /&gt;4. Methode&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;1. Objek&lt;/b&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Objek dapat diartikan kepada sebuah benda dalam hal ini anggap saja objek ada lah textbox, label dan comman button.&lt;/div&gt;&lt;br /&gt;&lt;b&gt;2. Properties&lt;/b&gt;&lt;br /&gt;Properties adalah sesuatu yang dipunyai oleh objek.&lt;br /&gt;Mis:&lt;br /&gt;&lt;span style="color: blue;"&gt;textbox mempunyai property nama atau property text&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Event&lt;/b&gt;&lt;br /&gt;Event adalah suatu kejadian terhadap objek pada saat tertentu.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Misal:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="color: blue;"&gt;Objek command button dapat menerima event klik pada saat pemakai software kita nanti mengklik nya.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;4. Method&lt;/b&gt;&lt;br /&gt;Method adalah sesuatu yang dapat dilakukan oleh objek.&lt;br /&gt;Misal:&lt;br /&gt;&lt;span style="color: blue;"&gt;Objek combo dapat menambahkan Item nama-nama hari pada dirinya dengan method Add&lt;/span&gt;&lt;br /&gt;contoh:&lt;br /&gt;&lt;span style="color: blue;"&gt;combobox1.Items.Add (“Senin”)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Coba dengan yang mudah terlebih dahulu.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Misal penggunaan textbox, command button dan label. textbox, command button dan label sebenarnya punya banyak sekali metode dan properti. Untuk mempermudah pemahaman, anda juga tidak perlu mempelajari semua metode,event dan properti yang ada itu hanya akan membuat anda bingung.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Coba pelajari event yang penting-penting saja misalnya event keypress dan event click seiring dengan jalannya waktu anda akan terbiasa dengan event-event yang lainnya.&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Kode dibawah ini adalah kode yang dijalankan pda event click command button untuk mengubah property text dari objek textbox:&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;Public Class Form1&lt;br /&gt;Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;txtNama.Text = "Nama saya VB.Net"&lt;br /&gt;End Sub&lt;br /&gt;End Class&lt;/blockquote&gt;Dibawah ini adalah gambar sampel programnya:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" s
