<?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-5771596013994697111</id><updated>2011-07-30T21:13:36.274-07:00</updated><category term='Basis Data'/><category term='VB'/><title type='text'>Like The Sun</title><subtitle type='html'>&lt;a href="http://www.tendollarclick.com/index.php?ref=sun21ibanez"&gt;&lt;img src="http://www.tendollarclick.com/banners/banner1.png" border="0"&gt;&lt;/a&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-7069140845866496801</id><published>2009-09-26T06:38:00.001-07:00</published><updated>2009-09-26T06:38:02.190-07:00</updated><title type='text'>Sun Basket</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://2.bp.blogspot.com/_DCVoHHNQ-mg/Sr4ZOICl8PI/AAAAAAAAACw/HyMhYbfErsE/s1600-h/image-upload-369-780378.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_DCVoHHNQ-mg/Sr4ZOICl8PI/AAAAAAAAACw/HyMhYbfErsE/s320/image-upload-369-780378.jpg"/&gt;&lt;/a&gt;&lt;br /&gt;&lt;span/&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/5771596013994697111-7069140845866496801?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/7069140845866496801/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=7069140845866496801' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/7069140845866496801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/7069140845866496801'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/09/sun-basket.html' title='Sun Basket'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_DCVoHHNQ-mg/Sr4ZOICl8PI/AAAAAAAAACw/HyMhYbfErsE/s72-c/image-upload-369-780378.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-2376837759277581655</id><published>2009-08-16T08:29:00.001-07:00</published><updated>2009-08-17T05:16:02.234-07:00</updated><title type='text'>Team</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;a href="http://2.bp.blogspot.com/_DCVoHHNQ-mg/SolKAUndOyI/AAAAAAAAACs/ikcINaPWCTQ/s1600-h/image-upload-135-783510.jpg"&gt;&lt;img src="http://2.bp.blogspot.com/_DCVoHHNQ-mg/SolKAUndOyI/AAAAAAAAACs/ikcINaPWCTQ/s320/image-upload-135-783510.jpg"/&gt;&lt;/a&gt;&lt;br /&gt;&lt;span/&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/5771596013994697111-2376837759277581655?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/2376837759277581655/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=2376837759277581655' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/2376837759277581655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/2376837759277581655'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/08/team.html' title='Team'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_DCVoHHNQ-mg/SolKAUndOyI/AAAAAAAAACs/ikcINaPWCTQ/s72-c/image-upload-135-783510.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-8706288689280344764</id><published>2009-08-13T01:32:00.000-07:00</published><updated>2009-08-13T01:48:07.135-07:00</updated><title type='text'>Skuad Bayer Munich 100 Tahun Kemudian</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_DCVoHHNQ-mg/SoPP7d6GViI/AAAAAAAAACQ/KdFMEy5S9Qw/s1600-h/DSC00004.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_DCVoHHNQ-mg/SoPP7d6GViI/AAAAAAAAACQ/KdFMEy5S9Qw/s320/DSC00004.JPG" alt="" id="BLOGGER_PHOTO_ID_5369363801303307810" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5771596013994697111-8706288689280344764?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/8706288689280344764/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=8706288689280344764' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/8706288689280344764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/8706288689280344764'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/08/skuad-bayer-munich-100-tahun-kemudian.html' title='Skuad Bayer Munich 100 Tahun Kemudian'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_DCVoHHNQ-mg/SoPP7d6GViI/AAAAAAAAACQ/KdFMEy5S9Qw/s72-c/DSC00004.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-7658555714904543880</id><published>2009-06-15T05:46:00.000-07:00</published><updated>2009-06-15T05:48:58.121-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Basis Data'/><title type='text'>Jenis-jenis Error pada Vb dan cara menanganinya</title><content type='html'>&lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Terdapat tiga kategori kesalahan :&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;1.&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Syntax Errors, adalah kesalahan pada penulisan kode program.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;2.&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Run-Time Errors, adalah pada waktu program berjalan. Contoh : file tidak ada data dalam database, terjadi pembagian dengan nol.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;3. Logic Errors, adalah kesalahanyang berupa hasil / output yang tidak diharapkan karena kesalahan implementasi logika pada program.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Berikut adalah beberapa cara untuk menangani Run-Time Error, yaitu Error Trapping dilakukan dengan menggunakan statement on Error :&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;on Error Go To Errlabel&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm"&gt;&lt;span lang="EN-US"  style=" line-height:150%;Times New Roman&amp;quot;;font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Errlabel adalah sebuah label. Cara membuat label adalah dengan membuat nama label diikuti dengan ":". Contohnya :&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Sub SubExample()&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;On Error Go To HandleErrors&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;[procedure code]&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Exit Sub&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;HandleErrors:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;[Error Handling Code]&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:3"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;              &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:5"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;                            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Atau&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;On Error Go To 0, digunakan untuk menghilangkan error trapping.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Obyek Err mempunyai properti nomor (Err.Number) dan properti deskripsi (Err.Description). Untuk menggambil deskripsi dari nomor kesalahan yang terjadi dapat menggunakan fungsi Error().&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Setelah terjadi kesalahan dan dilakukan error trapping, maka ada beberapa cara untuk kembali ke program :&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Resume, langkah kompilasi / eksekusi program akan kembali ke statement penyebab kesalahan.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Resume Next, langkah kompilasi / eksekusi program akan dilanjutkan ke statement berikutnya.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count: 1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Resume Label, langkah kompilasi / eksekusi program akan menuju pada label yang ditentukan.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:1.0cm;margin-bottom:.0001pt;text-align:justify;text-indent:-1.0cm; line-height:150%;tab-stops:list 14.2pt left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Untuk menampilkan kesalahan nomor berapa yang terjadi dapat digunakan method Raise. Contohnya :&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Err.Raise Number&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Sedangkan untuk menghilangkan kesalahan yang terjadi dapat digunakan method Clear. Contohnya :&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-top:0cm;margin-right:0cm;margin-bottom:0cm; margin-left:14.2pt;margin-bottom:.0001pt;text-align:justify;text-indent:-14.2pt; line-height:150%;tab-stops:list 1.0cm left 42.55pt 2.0cm 3.0cm"&gt;&lt;span lang="EN-US"  style="line-height:150%;Times New Roman&amp;quot;; font-family:&amp;quot;;"&gt;&lt;span style="mso-tab-count:2"&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 255, 255);"&gt;Err.Clear&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5771596013994697111-7658555714904543880?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/7658555714904543880/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=7658555714904543880' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/7658555714904543880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/7658555714904543880'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/06/jenis-jenis-error-pada-vb-dan-cara.html' title='Jenis-jenis Error pada Vb dan cara menanganinya'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-6410775242659826992</id><published>2009-06-15T05:44:00.000-07:00</published><updated>2009-06-15T05:46:23.710-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Basis Data'/><title type='text'>Mengakses database dengan menggunakan Script pada Visual Basic</title><content type='html'>&lt;p class="MsoNormal" style="margin-left:18.0pt;text-align:justify;text-indent: 18.0pt;line-height:150%"&gt;&lt;/p&gt;&lt;div style="text-indent: -24px;"&gt;&lt;br /&gt;&lt;/div&gt;Kita juga dapat mengakses database melalui kode program pada visual basic. Caranya :&lt;p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Buatlah sebuah project baru pada VB, dengan objek-objek Form1, DataGrid1, Adodc1.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Buatlah variable global yang akan mewakili ADODB Connection&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;Contoh : Public ADOCon As New ADODB.Connection&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Membuat seting ADODB Connetion. Disarankan untuk membuat seting tersebut pada prosedur yang terpisah.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;Contoh :&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Sub SetConn()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;ADOCon.ConnectionString = connection_string&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;If ADOCon.State = adstateOpen Then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;‘ do nothing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Else&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;ADOCon.Open ADOCon.ConnectionString&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;End if&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;End sub&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;o:p&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;span style="mso-tab-count:1"&gt;            &lt;/span&gt;ADODB ConnectionString bisa didapatkan dengan cara membuat connection string pada ADodc, kemudian di-copy.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Membuat seting ADODC Source, juga disarankan untuk membuatnya pada prosedur yang terpisah.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;Contoh :&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Public sub SetADOSource (conName as ADDB.Connection, adoname as Adodc, adosql as string)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;If adosql &lt;&gt; “” then&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;With adoname&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;.connectionString = conname&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;.commandType = adCmdText&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;.cursorType = adOpenStatic&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;.LockType = adLockReadOnly&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;.RecordSource = adosql&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;.Refresh&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;End with&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Adosql = “”&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;           &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;End if&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;End sub&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Untuk mengetahui hasilnya kita dapat memanggil prosedur-prosedur tersebut dengan memasukan nilai pada parameter-parameter yang telah ditentukan.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;Contoh :&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Private sub Form_Load()&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Dim SQLText As String&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;setConn&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SQLText = “SELECT * FROM Mahasiswa”&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;SetADOSource ADOCon, Adodc1,SQLText&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Set DataGrid1.DataSource = Adodc1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;End sub&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;text-indent: -18.0pt;line-height:150%;mso-list:l0 level1 lfo2"&gt;&lt;span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list:Ignore"&gt;·&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;Untuk menghindari terjadinya konflik dan untuk melakukan pembebasan terhadap memori yang digunakan, kita jangan lupa untuk menutup semua koneksi serta membebaskan memori saat keluar dari program.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;Contoh :&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Private Sub Form_Unload(Cancel as Integer)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Set DataGrid1.dataSource = Nothing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;If ADOCon.State = adStateOpen then ADOCon.Close&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:36.0pt;text-align:justify;line-height: 150%"&gt;&lt;span style="mso-spacerun:yes"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;Seet ADOCon = Nothing&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align:justify;line-height:150%"&gt;&lt;span style="mso-tab-count:1"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;End sub&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5771596013994697111-6410775242659826992?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/6410775242659826992/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=6410775242659826992' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/6410775242659826992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/6410775242659826992'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/06/mengakses-database-dengan-menggunakan.html' title='Mengakses database dengan menggunakan Script pada Visual Basic'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-688156550432925583</id><published>2009-06-15T05:40:00.000-07:00</published><updated>2009-06-15T05:41:47.604-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Basis Data'/><title type='text'>Menggunakan Crystal Report 8.5 pada vb dengan script</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Segoe UI'; "&gt;&lt;p&gt;Menggunakan Crystal Report 8.5 pada vb memang banyak cara, bisa gunakan data environment untuk Connection ke databasenya atau bisa juga menggunakan Crviewer dan kita kirim parameternya dalam crviewer tersebut.&lt;/p&gt;&lt;p&gt;Langkah - langkahnya adalah : &lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Pastikan Crystall report sudah terinstall&lt;/li&gt;&lt;li&gt;masuk ke vicual basic 6.0&lt;/li&gt;&lt;li&gt;Project - &gt; Components -&gt; Controls -&gt; pilih Crystal Report Viewer Control tekan OK&lt;/li&gt;&lt;li&gt;Pastikan ADODB nya sudah diaktifkan kalo belum caranya : Project -&gt; References -&gt; pilih Microsoft AktiveX Data Object 2.0 Library&lt;/li&gt;&lt;li&gt;Tulis script untuk Koneksi databasenya :&lt;br /&gt;- buat form baru dengan nama frmtest dan tulis script di bawah ini :&lt;br /&gt;&lt;pre&gt;&lt;====startscript====&gt; dim dbconn as New.ADODB.connection Public Sub koneksi_database()     On Error GoTo NoConn     With dbconn         If .State = adStateOpen Then Exit Sub         .CursorLocation = adUseClient         .ConnectionString = "Provider=MSDASQL.1;Persist Security Info=False;User ID=dba;Data Source="&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5771596013994697111-688156550432925583?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/688156550432925583/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=688156550432925583' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/688156550432925583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/688156550432925583'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/06/menggunakan-crystal-report-85-pada-vb.html' title='Menggunakan Crystal Report 8.5 pada vb dengan script'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5771596013994697111.post-3305167345064367508</id><published>2009-06-15T05:32:00.001-07:00</published><updated>2009-06-15T05:35:50.591-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VB'/><category scheme='http://www.blogger.com/atom/ns#' term='Basis Data'/><title type='text'>Mengubah tampilan VB ke XP tanpa OCX</title><content type='html'>&lt;div&gt;tampilan dari VB memang bisa diubah tampilanya dengan menggunakan file *.ocx tambahan atau dengan menggunakan software tambahan. tapi kali ini yang digunakan bukanlah menggunakan *.ocx atau program, tetapi menggunakan script xml. Adapun scriptnya adalah sebagai berikut :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;img src="http://4.bp.blogspot.com/_DCVoHHNQ-mg/SjY_-y9MRjI/AAAAAAAAAB4/4_ekpfLSjNI/s320/lis.JPG" /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Copykan script xml tersebut ke dalam notepad lalu simpan file tersebut dengan nama vb6.exe.manifest.&lt;/div&gt;&lt;div&gt;Kemudian letakkan file tadi ke tempat dimana Visual Basic 6.0 Ter-install (biasanya ada di c:/Program Files/Microsoft Visual Studio/vb98/).&lt;/div&gt;&lt;div&gt;Jalankan Visual Basic dan tambahkan beberapa komponen, maka akan terlihat perubahannya.&lt;/div&gt;&lt;div&gt;Jika Project sudah selesai dan telah di compile, maka copy kan juga file menifest tadi ke directory tempat program  berada dan ganti namanya dengan namaprogram.exe.manifest, contoh : program  bernama project1.exe dan terletak di directory D:\project1, maka copy kan dan beri nama file manifest tadi dengan nama project1.exe.manifest dan letakkan di D:\project1 juga.&lt;/div&gt;&lt;div&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/5771596013994697111-3305167345064367508?l=nansarunai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nansarunai.blogspot.com/feeds/3305167345064367508/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5771596013994697111&amp;postID=3305167345064367508' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/3305167345064367508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5771596013994697111/posts/default/3305167345064367508'/><link rel='alternate' type='text/html' href='http://nansarunai.blogspot.com/2009/06/mengubah-tampilan-vb-ke-xp-tanpa-ocx.html' title='Mengubah tampilan VB ke XP tanpa OCX'/><author><name>Nansarunai</name><uri>http://www.blogger.com/profile/14092015674475106412</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_DCVoHHNQ-mg/SjY_-y9MRjI/AAAAAAAAAB4/4_ekpfLSjNI/s72-c/lis.JPG' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
