<?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:blogger='http://schemas.google.com/blogger/2008' 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-1374887213520933587</id><updated>2024-11-08T07:32:21.083-08:00</updated><title type='text'>LUTHFI-AL-HUWAIDI</title><subtitle type='html'>melanjutkan sebuah perjalanan yang sesungguhnya</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://proceedcontinue.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1374887213520933587/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://proceedcontinue.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1374887213520933587.post-4348586830295336623</id><published>2011-11-03T05:24:00.000-07:00</published><updated>2011-11-03T05:24:34.128-07:00</updated><title type='text'>Date Mysql Vb.net</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;Kawan, tentu nikmat jika kita bisa membuat aplikasi database dengan mysql dan vb.net. Dan pembuatan aplikasi database hampir dipastikan terdapat tabel yang mempunya field bertipe DATE. Secara defaut jika kawan mencoba melakukan insert data bertipe date menggunakan vb.net maka yang terjadi adalah error. tentu saja karena format date pada mysql dengan vb.net bebeda.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;a href=&quot;&quot; name=&quot;more&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;&lt;/a&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;Secara format data pda mysql adalah tahun-bulan-tanggal sedangkan pada vb.net tanggal/bulan/ tahun. Maka satu-satunya cara adalah mengubah format tanggal pada vb.net agar bisa diterima oleh mysql. Caranya dengan membuat suatu fungsi yang merubah tanggal vb.net menjadi format tanggal mysql. berikut adalah potongan script yang bisa di jalankan&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Public Class Form1&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Public Function harini(ByVal Input As Date)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Dim hour As String = CStr(Input.Hour)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Dim minute As String = CStr(Input.Minute)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Dim second As String = CStr(Input.Second)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Dim day As String = CStr(Input.Day)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Dim month As String = CStr(Input.Month)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;If Len(CStr(Input.Hour)) = 1 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;hour = &quot;0&quot; &amp;amp; Input.Hour&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ElseIf Len(CStr(Input.Hour)) = 0 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;hour = &quot;00&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;If Len(CStr(Input.Minute)) = 1 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;minute = &quot;0&quot; &amp;amp; Input.Minute&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ElseIf Len(CStr(Input.Minute)) = 0 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;minute = &quot;00&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;If Len(CStr(Input.Second)) = 1 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;second = &quot;0&quot; &amp;amp; Input.Second&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ElseIf Len(CStr(Input.Second)) = 0 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;second = &quot;00&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;If Len(CStr(Input.Day)) = 1 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;day = &quot;0&quot; &amp;amp; Input.Day&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ElseIf Len(CStr(Input.Day)) = 0 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;day = &quot;00&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;If Len(CStr(Input.Month)) = 1 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;month = &quot;0&quot; &amp;amp; Input.Month&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ElseIf Len(CStr(Input.Month)) = 0 Then&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;month = &quot;00&quot;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;End If&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;harini = CStr(Input.Year &amp;amp; &quot;-&quot; &amp;amp; month &amp;amp; &quot;-&quot; &amp;amp; day &amp;amp; &quot; &quot; &amp;amp; hour &amp;amp; &quot;:&quot; &amp;amp; minute &amp;amp; &quot;:&quot; &amp;amp; second)&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;End Function&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;dan contoh pemanggilan fungsi diatas sebagai berikut&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small; line-height: 18px; text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;Dim tgl As Date = Date.Now&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;MessageBox.Show(&quot;#format mysql :&quot; &amp;amp; harini(tgl) &amp;amp; &quot; #format VB:&quot; &amp;amp; tgl)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;End Sub&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8AzTwMjhSpTzDoGU9XYOf5Vr_mFKdB0b4Zy6TAhveY38tBhbDuOJb50FtHsSd1KC5wATq2dIoUX7J1g6kRwAyu3QVOEcy2G-F0FBYzZJ-Q3XJ4QLmgOVmkN_l739v7-pnytZmiK-hlfi3/s1600/tgl.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8AzTwMjhSpTzDoGU9XYOf5Vr_mFKdB0b4Zy6TAhveY38tBhbDuOJb50FtHsSd1KC5wATq2dIoUX7J1g6kRwAyu3QVOEcy2G-F0FBYzZJ-Q3XJ4QLmgOVmkN_l739v7-pnytZmiK-hlfi3/s1600/tgl.png&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;Untuk source code vb.net bisa di download di&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://www.blogger.com/%20http://www.ziddu.com/download/7647825/DateMysql.rar.html&quot;&gt;SINI&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 13px; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://proceedcontinue.blogspot.com/feeds/4348586830295336623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://proceedcontinue.blogspot.com/2011/11/date-mysql-vbnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1374887213520933587/posts/default/4348586830295336623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1374887213520933587/posts/default/4348586830295336623'/><link rel='alternate' type='text/html' href='http://proceedcontinue.blogspot.com/2011/11/date-mysql-vbnet.html' title='Date Mysql Vb.net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8AzTwMjhSpTzDoGU9XYOf5Vr_mFKdB0b4Zy6TAhveY38tBhbDuOJb50FtHsSd1KC5wATq2dIoUX7J1g6kRwAyu3QVOEcy2G-F0FBYzZJ-Q3XJ4QLmgOVmkN_l739v7-pnytZmiK-hlfi3/s72-c/tgl.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1374887213520933587.post-6799273357345910412</id><published>2011-11-03T05:20:00.000-07:00</published><updated>2011-11-03T05:20:56.302-07:00</updated><title type='text'>Mencari Nomer Port Device Dengan VB.net</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLQ5XvJcp0HyBh2uuhmEYJanP8TZSymU9zGEPv5bhZiSICpo4uQdN5AyTMO3JRbhg9h0NcZLT-vQVTEIFVELDVOekUq-xOIaqZCFtHep59duO2iTC3JeA2j4CTOWlMK1mbvYFOlTpam-K9/s1600/com.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLQ5XvJcp0HyBh2uuhmEYJanP8TZSymU9zGEPv5bhZiSICpo4uQdN5AyTMO3JRbhg9h0NcZLT-vQVTEIFVELDVOekUq-xOIaqZCFtHep59duO2iTC3JeA2j4CTOWlMK1mbvYFOlTpam-K9/s1600/com.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Sumpeh, sulit sekali cari tutorial ini di google. Berhubung anak berbakti sangat terpuji sifatnya dan tak ingin pemirsa mengalami kejadian serupa. Maka anak berbakti bersedia share sedikit ilmu yg barusan anak berbakti dapat.&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;Ok, biasanya kita perlu port number ini saat program kita ingin berkomunikasi dengan harware misal printer atau handphone saat kita membuat aplikasi sms gateway&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;Ok lsg kita mulai&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot;&gt;1. Bikin project baru&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;ini pasti=&quot;&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; sudah=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;br /&gt;
2. Tambahkan comboBox pada form misal beri nama cbCom&lt;br /&gt;
3. Tambahkan kode program berikut&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Imports&lt;/span&gt;&amp;nbsp;System&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Imports&lt;/span&gt;&amp;nbsp;System.IO.Ports&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Imports&lt;/span&gt;&amp;nbsp;System.Threading&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Public Class&lt;/span&gt;&amp;nbsp;Form1&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Private Sub&lt;/span&gt;&amp;nbsp;Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;ports&amp;nbsp;&lt;span style=&quot;color: #3366ff;&quot;&gt;As&lt;/span&gt;&amp;nbsp;String() = SerialPort.GetPortNames()&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;port&amp;nbsp;&lt;span style=&quot;color: #3366ff; font-weight: bold;&quot;&gt;As&lt;/span&gt;&amp;nbsp;String&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;For Each&lt;/span&gt;&amp;nbsp;port In ports&lt;br /&gt;
cbCom.Items.Add(port)&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;Next&lt;/span&gt;&amp;nbsp;port&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;End Sub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;End Class&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
4. Silakan tunjukan kesemua orang, klo anda mampu melakukannya juga&lt;/span&gt;&lt;/ini&gt;&lt;br /&gt;
&lt;ini pasti=&quot;&quot; style=&quot;background-color: white; color: #444444; font-size: 13px; line-height: 18px;&quot; sudah=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Download&amp;nbsp;&lt;/span&gt;&lt;/ini&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Suorce Code &lt;a href=&quot;http://www.ziddu.com/download/5222209/WindowsApplication1.rar.html&quot;&gt;Disini&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://proceedcontinue.blogspot.com/feeds/6799273357345910412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://proceedcontinue.blogspot.com/2011/11/mencari-nomer-port-device-dengan-vbnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1374887213520933587/posts/default/6799273357345910412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1374887213520933587/posts/default/6799273357345910412'/><link rel='alternate' type='text/html' href='http://proceedcontinue.blogspot.com/2011/11/mencari-nomer-port-device-dengan-vbnet.html' title='Mencari Nomer Port Device Dengan VB.net'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLQ5XvJcp0HyBh2uuhmEYJanP8TZSymU9zGEPv5bhZiSICpo4uQdN5AyTMO3JRbhg9h0NcZLT-vQVTEIFVELDVOekUq-xOIaqZCFtHep59duO2iTC3JeA2j4CTOWlMK1mbvYFOlTpam-K9/s72-c/com.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>