<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>afasyah.web.id &#187; danni</title>
	<atom:link href="http://afasyah.web.id/author/danni/feed/" rel="self" type="application/rss+xml" />
	<link>http://afasyah.web.id</link>
	<description>Me, Myself and a Wordpress</description>
	<lastBuildDate>Thu, 24 Dec 2009 02:14:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tutorial membuat aplikasi berbasis plugin menggunakan VB.NET dan MEF</title>
		<link>http://afasyah.web.id/vb-net/tutorial-membuat-aplikasi-berbasis-plugin-menggunakan-vb-net-dan-mef/</link>
		<comments>http://afasyah.web.id/vb-net/tutorial-membuat-aplikasi-berbasis-plugin-menggunakan-vb-net-dan-mef/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 02:14:12 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Add On]]></category>
		<category><![CDATA[MEF]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=117</guid>
		<description><![CDATA[Baru bikin artikel yang membahas pembuatan aplikasi berbasis plugin menggunakan VB.NET dan MEF (Manage Extensibility Framework ). Baca lebih lanjut di http://waroengvb.net/membuat-aplikasi-berbasis-plug-in-menggunakan-manage-extensibility-framework-mef/ Related posts:Tutorial Subversion #2 &#8211; Konfigurasi


Related posts:<ol><li><a href='http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/' rel='bookmark' title='Permanent Link: Tutorial Subversion #2 &#8211; Konfigurasi'>Tutorial Subversion #2 &#8211; Konfigurasi</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Baru bikin artikel yang membahas pembuatan aplikasi berbasis plugin menggunakan VB.NET dan MEF (Manage Extensibility Framework ). Baca lebih lanjut di <a href="http://waroengvb.net/membuat-aplikasi-berbasis-plug-in-menggunakan-manage-extensibility-framework-mef/">http://waroengvb.net/membuat-aplikasi-berbasis-plug-in-menggunakan-manage-extensibility-framework-mef/</a></p>
<!-- PHP 5.x -->

<p>Related posts:<ol><li><a href='http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/' rel='bookmark' title='Permanent Link: Tutorial Subversion #2 &#8211; Konfigurasi'>Tutorial Subversion #2 &#8211; Konfigurasi</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/vb-net/tutorial-membuat-aplikasi-berbasis-plugin-menggunakan-vb-net-dan-mef/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade prestashop</title>
		<link>http://afasyah.web.id/prestashop/upgrade-prestashop/</link>
		<comments>http://afasyah.web.id/prestashop/upgrade-prestashop/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 02:30:50 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[Prestashop]]></category>
		<category><![CDATA[Upgrade Prestashop]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=104</guid>
		<description><![CDATA[Detail cara upgrade sudah dijelaskan dengan detail di-wikinya. Tapi berikut proses yang aku gunakan untuk upgrade Prestashop ke versi yang lebih baru di hosting yang menggunakan CPanel. Catatan : Prestashop sudah diinstall di root folder (\public_html\) 1. Backup terlebih dahulu database yang digunakan. 2. Jika Anda menggunakan bahasa selain bahasa Inggris, backup terlebih dahulu translationnya [...]


Related posts:<ol><li><a href='http://afasyah.web.id/prestashop/prestashop-menampilkan-slideshow-di-halaman-depan/' rel='bookmark' title='Permanent Link: Prestashop &#8211; Menampilkan slideshow di halaman depan'>Prestashop &#8211; Menampilkan slideshow di halaman depan</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Detail cara upgrade sudah dijelaskan dengan detail di-<a href="http://www.prestashop.com/wiki/Installing_And_Updating_PrestaShop_Software/" target="_blank">wikinya</a>. Tapi berikut proses yang aku gunakan untuk upgrade Prestashop ke versi yang lebih baru di hosting yang menggunakan CPanel.</p>
<p><strong>Catatan </strong>: Prestashop sudah diinstall di root folder (\public_html\)</p>
<p>1. Backup terlebih dahulu database yang digunakan.</p>
<p>2. Jika Anda menggunakan bahasa selain bahasa Inggris, backup terlebih dahulu translationnya (dari menu Tools | Translations | Export a language).</p>
<p>3. Download Prestashop versi terbaru.</p>
<p>4. Extract filenya, kemudian compress lagi (dengan nama file, misalnya update.zip) tapi tanpa root folder (kalo urang jelas lihat perbandingan dibawah)</p>
<p><a rel="lightbox[1]" href="http://afasyah.web.id/wp-content/uploads/2009/09/zip.jpg" title="zip"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="zip" src="http://afasyah.web.id/wp-content/uploads/2009/09/zip_thumb.jpg" border="0" alt="zip" width="410" height="247" /></a></p>
<p>5. Buat folder baru diserver, misalnya backup.</p>
<p>6. Login ke CPanel, pilih File Manager :</p>
<p>7. Pindahkan/<em>move</em> semua folder dan file prestashop ke folder backup.</p>
<p>8. Upload file update.zip tadi ke root dan extract.</p>
<p>9. Jika Anda sudah memodifikasi Modul yang ada, copy module tersebut dari folder backup ke root, demikian juga dengan folder img, mails dan theme (jika menggunakan custom theme).</p>
<p>10. Copy file <strong>settings.inc.php</strong> dari folder backup\config ke public_html\config.</p>
<p><a rel="lightbox[2]" href="http://afasyah.web.id/wp-content/uploads/2009/09/configbackup.jpg" title="config-backup"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="config-backup" src="http://afasyah.web.id/wp-content/uploads/2009/09/configbackup_thumb.jpg" border="0" alt="config-backup" width="426" height="210" /></a></p>
<p>9. Buka <a href="http://domainanda.com/install">http://domainanda.com/install</a> dan ikuti petunjuknya (prosesnya lebih kurang sama dengan instalasi Prestashop pertama kali).</p>
<p>10. Jika proses instalasi berjalan lancar dan Anda berhasil login ke back office, perhatikan bagian footernya karena disana terdapat informasi versi Prestashop yang sedang digunakan. Jangan lupa untuk me-restore kembali translation diatas (jika menggunakan bahasa selain Inggris).</p>
<p><a href="http://afasyah.web.id/wp-content/uploads/2009/09/ver.jpg" rel="lightbox[104]" title="ver"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="ver" src="http://afasyah.web.id/wp-content/uploads/2009/09/ver_thumb.jpg" border="0" alt="ver" width="421" height="34" /></a></p>
<!-- PHP 5.x -->

<p>Related posts:<ol><li><a href='http://afasyah.web.id/prestashop/prestashop-menampilkan-slideshow-di-halaman-depan/' rel='bookmark' title='Permanent Link: Prestashop &#8211; Menampilkan slideshow di halaman depan'>Prestashop &#8211; Menampilkan slideshow di halaman depan</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/prestashop/upgrade-prestashop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>C# &#8211; VB.NET (Offline) Code Converter</title>
		<link>http://afasyah.web.id/miscellaneous/csharp-vb-net-offline-code-converter/</link>
		<comments>http://afasyah.web.id/miscellaneous/csharp-vb-net-offline-code-converter/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 03:48:19 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=90</guid>
		<description><![CDATA[Here’s the offline version of the C#-VB.NET code converter. The code conversion engine and syntax formatting is powered by the awesome NRefactory of Sharpdevelop. Feel free to download and or modify the source code. Download Binary &#124; Source code Related posts:Membuat Accelerator untuk Internet Explorer 8 &#8211; Code Converter


Related posts:<ol><li><a href='http://afasyah.web.id/asp-net-mvc/membuat-accelerator-untuk-internet-explorer-8/' rel='bookmark' title='Permanent Link: Membuat Accelerator untuk Internet Explorer 8 &ndash; Code Converter'>Membuat Accelerator untuk Internet Explorer 8 &ndash; Code Converter</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://afasyah.web.id/wp-content/uploads/2009/08/20090821_042147.jpg" rel="lightbox[90]" title="2009-08-21_042147"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="2009-08-21_042147" src="http://afasyah.web.id/wp-content/uploads/2009/08/20090821_042147_thumb.jpg" border="0" alt="2009-08-21_042147" width="426" height="342" /></a></p>
<p>Here’s the offline version of the C#-VB.NET code converter. The code conversion engine and syntax formatting is powered by the awesome NRefactory of <a href="http://www.sharpdevelop.net" target="_blank">Sharpdevelop</a>.</p>
<p>Feel free to download and or modify the source code.</p>
<p>Download <a title="Download binary file" href="http://www.ziddu.com/download/6138857/offline-code-converter.zip.html" target="_blank">Binary</a> | <a title="Download source code" href="http://www.ziddu.com/download/6138858/Code-Converter-source.zip.html" target="_blank">Source code</a></p>
<!-- PHP 5.x -->

<p>Related posts:<ol><li><a href='http://afasyah.web.id/asp-net-mvc/membuat-accelerator-untuk-internet-explorer-8/' rel='bookmark' title='Permanent Link: Membuat Accelerator untuk Internet Explorer 8 &ndash; Code Converter'>Membuat Accelerator untuk Internet Explorer 8 &ndash; Code Converter</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/miscellaneous/csharp-vb-net-offline-code-converter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The truth about typebased theme</title>
		<link>http://afasyah.web.id/miscellaneous/the-truth-about-typebased-theme/</link>
		<comments>http://afasyah.web.id/miscellaneous/the-truth-about-typebased-theme/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 02:16:48 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[typebased]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=50</guid>
		<description><![CDATA[ow, ternyata typebased, wordpress theme yang digunakan di blog ini adalah buatan indonesia, akhirnya pake produk dalam negeri juga hwhwhwhw. Theme ini dipake karena simple tapi teteup elegan ,, doea jempol buat Armono Wibowo, the creator of this theme. Nice job! No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>ow, ternyata typebased, wordpress theme yang digunakan di blog ini adalah <a title="boeatan Indonesia" href="http://www.flickr.com/photos/armono/2979873303/" target="_blank">buatan indonesia</a>, akhirnya pake produk dalam negeri juga hwhwhwhw.</p>
<p>Theme ini dipake karena simple tapi teteup elegan <img src='http://afasyah.web.id/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ,, doea jempol buat <a title="Armono Wibowo" href="http://www.webanomaly.com/" target="_blank">Armono Wibowo</a>, the creator of this theme. Nice job!</p>
<!-- PHP 5.x -->

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/miscellaneous/the-truth-about-typebased-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tutorial Subversion #2 &#8211; Konfigurasi</title>
		<link>http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/</link>
		<comments>http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 19:26:21 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[Subversion]]></category>
		<category><![CDATA[collabnet]]></category>
		<category><![CDATA[konfigurasi]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=73</guid>
		<description><![CDATA[Sebagai studi kasus, katakanlah satu team developer sedang mengerjakan project Accounting, dengan susunan teamnya seperti gambar dibawah ini: Catatan : Goku, sebagai team lead, dapat mengakses (baca dan tulis) semua project. Pikolo, baca semua project, tulis hanya ke modul A/R. Cell, baca semua project dan tulis hanya ke modul G/L. Membuat user Buka command prompt, [...]


Related posts:<ol><li><a href='http://afasyah.web.id/subversion/tutorial-subversion-instalasi-subversion-svn-di-windows/' rel='bookmark' title='Permanent Link: Tutorial Subversion #1 &#8211; Instalasi Subversion (SVN) di Windows XP/Server'>Tutorial Subversion #1 &#8211; Instalasi Subversion (SVN) di Windows XP/Server</a></li>
<li><a href='http://afasyah.web.id/vb-net/tutorial-membuat-aplikasi-berbasis-plugin-menggunakan-vb-net-dan-mef/' rel='bookmark' title='Permanent Link: Tutorial membuat aplikasi berbasis plugin menggunakan VB.NET dan MEF'>Tutorial membuat aplikasi berbasis plugin menggunakan VB.NET dan MEF</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sebagai studi kasus, katakanlah satu team developer sedang mengerjakan project Accounting, dengan susunan teamnya seperti gambar dibawah ini:</p>
<p><a href="http://afasyah.web.id/wp-content/uploads/2009/07/group.jpg" rel="lightbox[73]" title="group"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="group" src="http://afasyah.web.id/wp-content/uploads/2009/07/group_thumb.jpg" border="0" alt="group" width="426" height="429" /></a></p>
<p>Catatan : <strong>Goku</strong>, sebagai team lead, dapat mengakses (baca dan tulis) semua project. <strong>Pikolo</strong>, baca semua project, tulis hanya ke modul A/R. <strong>Cell</strong>, baca semua project dan tulis hanya ke modul G/L.</p>
<h3>Membuat user</h3>
<p>Buka command prompt, masuk ke folder “C:\Program Files\CollabNet Subversion Server\httpd\bin” kemudian ketikkan perintah “htpasswd -cm C:\svn_repository\passwd goku” dan tekan tombol ENTER, Anda kemudian akan diminta untuk mengisi password dan file password akan dibuatkan juga difolder c:\svn_repository.</p>
<p>Selanjutnya, untuk menambah user lainnya cukup ketikan perintah “htpasswd -m C:\svn_repository\passwd namauser”.</p>
<h3>Membuat Group</h3>
<p>Buat sebuah file dengan nama “groups” (tanpa ekstension) di folder c:\svn_repository dan tambahkan baris berikut ini:</p>
<p>Lead: goku<br />
ARDeveloper: pikolo<br />
GLDeveloper: cell</p>
<p>Maksudnya, buat group Lead dengan membernya goku, Jika pada group terdiri dari beberapa user cukup gunakan spasi sebagai pemisahnya, semisal</p>
<p>Lead: Goku Gohan Bulma</p>
<h3>Membuat repository</h3>
<p>Repository maksudnya adalah folder/database untuk penyimpanan data nantinya. Tidak ada ketentuan untuk penamaan repository, Anda dapat menggunakan nama perusahaan, <em>codename</em> dari aplikasi dan sebagainya. Dalam satu repository, didalamnya nanti bisa terdapat satu atau beberapa project.</p>
<p>Untuk membuat repository baru, masuk ke command prompt, masuk ke folder c:\svn_repository kemudian ketikkan perintah “<strong>svnadmin create accounting</strong>” (accounting adalah nama repository yang akan digunakan)</p>
<p>Untuk mengecek apakah repository diatas telah dibuat dengan sukses, buka browser favorit Anda, dan ketikkan url berikut : http://localhost:8080/svn/accounting.</p>
<p>Jika terbuka dengan sukses, selamat!, Anda telah berhasil mengkonfigurasikan subversion server.</p>
<p>Selanjutnya, kita akan coba untuk mengupload project dan setup hak akses usernya.</p>
<!-- PHP 5.x -->

<p>Related posts:<ol><li><a href='http://afasyah.web.id/subversion/tutorial-subversion-instalasi-subversion-svn-di-windows/' rel='bookmark' title='Permanent Link: Tutorial Subversion #1 &#8211; Instalasi Subversion (SVN) di Windows XP/Server'>Tutorial Subversion #1 &#8211; Instalasi Subversion (SVN) di Windows XP/Server</a></li>
<li><a href='http://afasyah.web.id/vb-net/tutorial-membuat-aplikasi-berbasis-plugin-menggunakan-vb-net-dan-mef/' rel='bookmark' title='Permanent Link: Tutorial membuat aplikasi berbasis plugin menggunakan VB.NET dan MEF'>Tutorial membuat aplikasi berbasis plugin menggunakan VB.NET dan MEF</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tutorial Subversion #1 &#8211; Instalasi Subversion (SVN) di Windows XP/Server</title>
		<link>http://afasyah.web.id/subversion/tutorial-subversion-instalasi-subversion-svn-di-windows/</link>
		<comments>http://afasyah.web.id/subversion/tutorial-subversion-instalasi-subversion-svn-di-windows/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 15:20:43 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[Subversion]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[collabnet]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=61</guid>
		<description><![CDATA[Bagi yang belum kenal, Subversion, atau dikenal juga dengan nama svn atau SVN, adalah suatu perangkat lunak sumber terbuka pengontrol versi yang dapat mengatur proses pengembangan perangkat lunak yang dilakukan oleh suatu kelompok pemrogram yang terpisah menjadi runut dan teratur (wikipedia). Walaupun penggunaan SVN identik dengan penyimpanan dan versioning source code tapi sebetulnya bisa juga [...]


Related posts:<ol><li><a href='http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/' rel='bookmark' title='Permanent Link: Tutorial Subversion #2 &#8211; Konfigurasi'>Tutorial Subversion #2 &#8211; Konfigurasi</a></li>
<li><a href='http://afasyah.web.id/asp-net-mvc/running-asp-net-mvc-website-on-windows-xp/' rel='bookmark' title='Permanent Link: Running ASP.NET MVC website on Windows XP/IIS 5.1'>Running ASP.NET MVC website on Windows XP/IIS 5.1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Bagi yang belum kenal, Subversion, atau dikenal juga dengan nama svn atau SVN, adalah suatu perangkat lunak sumber terbuka pengontrol versi yang dapat mengatur proses pengembangan perangkat lunak yang dilakukan oleh suatu kelompok pemrogram yang terpisah menjadi runut dan teratur (<a href="http://id.wikipedia.com/subversion" target="_blank">wikipedia</a>).</p>
<blockquote><p>Walaupun penggunaan SVN identik dengan penyimpanan dan versioning source code tapi sebetulnya bisa juga digunakan untuk dokumen atau file binary.</p></blockquote>
<p>Bagi yang sudah familiar dengan program serupa, misalnya Source Safe, subversion memiliki cara kerja yang lebih kurang sama tapi dia memiliki keunggulan sendiri, diantaranya dapat diakses dengan cepat jika digunakan melalui internet. Tidak heran jika sudah banyak website yang menyediakan fasilitas/jasa untuk penyimpanan source code menggunakan Subversion ini, diantaranya sourceforge, google code, gitthub dan sebagainya.</p>
<p>Sebagai aplikasi yang biasa digunakan untuk penyimpanan source code, Subversion tentunya dapat dijalankan baik di lingkungan Windows ataupun Linux. Pada artikel ini, kita akan membatasi penggunannya pada sistem operasi Windows (Windows XP atau Windows Server).</p>
<h3>Download Subversion</h3>
<p>Subversion server dapat didownload di URL berikut ini: <a title="http://www.collab.net" href="http://www.collab.net">http://www.collab.net</a></p>
<h3>Instalasi Subversion/SVN Server</h3>
<p>Instalasi CollabNet Subversion Server tidaklah sulit, tetapi ada beberapa point yang harus diperhatikan:</p>
<p>1. Sebagai servernya Anda dapat menggunakan SVNSERVE ataupun Apache. Pada tutorial ini, hiraukan dulu SVNSERVE (jangan beri tanda centang) dan pilih Apache.</p>
<p><a href="http://afasyah.web.id/wp-content/uploads/2009/07/step1.jpg" rel="lightbox[61]" title="step-1"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="step-1" src="http://afasyah.web.id/wp-content/uploads/2009/07/step1_thumb.jpg" border="0" alt="step-1" width="426" height="333" /></a></p>
<p>2. Set the nama host dan port, folder tempat menyimpan data, dan prefix yang akan digunakan. Jika port 80 sudah digunakan oleh IIS, Anda dapat menggunakan port lain, misalnya port 8080.</p>
<p><a href="http://afasyah.web.id/wp-content/uploads/2009/07/step2.jpg" rel="lightbox[61]" title="step-2"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="step-2" src="http://afasyah.web.id/wp-content/uploads/2009/07/step2_thumb.jpg" border="0" alt="step-2" width="426" height="333" /></a></p>
<p>Jika proses instalasi sukses, service untuk menjalankan Subversion dapat ditemukan di daftar service milik Windows..</p>
<p><a href="http://afasyah.web.id/wp-content/uploads/2009/07/step3.jpg" rel="lightbox[61]" title="step-3"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="step-3" src="http://afasyah.web.id/wp-content/uploads/2009/07/step3_thumb.jpg" border="0" alt="step-3" width="426" height="65" /></a></p>
<p>Tetapi <strong>ketika dijalankan pertama kali</strong> akan muncul eror seperti berikut ini “<em>Windows could not start the Collabnet Subversion Apache on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor</em> ..”</p>
<p>Kalau ditengok di Event Log, pesan yang muncul adalah sebagai berikut:</p>
<p><img class="alignnone size-full wp-image-65" title="SVN eror" src="http://afasyah.web.id/wp-content/uploads/2009/07/svn-error.jpg" alt="SVN eror" width="404" height="455" /></p>
<p>Itu tidak lain karena mod_dav_svn tidak menemukan file runtime yang dia perlukan. Solusinya, copy semua file DLL yang ada di folder C<strong>:\Program Files\CollabNet Subversion Server</strong> ke folder <strong>C:\Program Files\CollabNet Subversion Server\httpd\bin</strong> dan<br />
<strong>C:\Program Files\CollabNet Subversion Server\httpd\modules</strong>.</p>
<p>3. Jalankan kembali servicenya, kali ini harusnya dapat berjalan dengan sukses.</p>
<p>4.   Cek jika subversion telah aktif dengan mengetikan URL berikut ini di browser favorit Anda: <a href="http://localhost:8080">http://localhost:8080</a> atau <a href="http://localhost:8080/svn">http://localhost:8080/svn</a> .</p>
<p><a href="http://afasyah.web.id/wp-content/uploads/2009/07/step4.jpg" rel="lightbox[61]" title="step-4"><img style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" title="step-4" src="http://afasyah.web.id/wp-content/uploads/2009/07/step4_thumb.jpg" border="0" alt="step-4" width="426" height="205" /></a></p>
<p>Dibagian selanjutnya kita akan coba mengkonfigurasikan SVN server ini.</p>
<!-- PHP 5.x -->

<p>Related posts:<ol><li><a href='http://afasyah.web.id/subversion/tutorial-subversion-konfigurasi/' rel='bookmark' title='Permanent Link: Tutorial Subversion #2 &#8211; Konfigurasi'>Tutorial Subversion #2 &#8211; Konfigurasi</a></li>
<li><a href='http://afasyah.web.id/asp-net-mvc/running-asp-net-mvc-website-on-windows-xp/' rel='bookmark' title='Permanent Link: Running ASP.NET MVC website on Windows XP/IIS 5.1'>Running ASP.NET MVC website on Windows XP/IIS 5.1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/subversion/tutorial-subversion-instalasi-subversion-svn-di-windows/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Membuat Accelerator untuk Internet Explorer 8 &#8211; Code Converter</title>
		<link>http://afasyah.web.id/asp-net-mvc/membuat-accelerator-untuk-internet-explorer-8/</link>
		<comments>http://afasyah.web.id/asp-net-mvc/membuat-accelerator-untuk-internet-explorer-8/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 17:21:50 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[IE 8]]></category>
		<category><![CDATA[Accelerator]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=28</guid>
		<description><![CDATA[BTW, post ini merupakan studi kasus dari artikel yang telah dibuat sebelumnya di geeks. Tentang Accelerator Accelerator, yang pada Internet Explorer 8 beta disebut dengan Activities, adalah suatu konsep baru yang memungkinkan user untuk berinteraksi dengan web service atau aplikasi dari kebiasan browsing Anda (di internet). Maksudnya, katakanlah Anda kesulitan dengan bahasa Inggris, dan ketika [...]


Related posts:<ol><li><a href='http://afasyah.web.id/miscellaneous/csharp-vb-net-offline-code-converter/' rel='bookmark' title='Permanent Link: C# &ndash; VB.NET (Offline) Code Converter'>C# &ndash; VB.NET (Offline) Code Converter</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://afasyah.web.id/wp-content/uploads/2009/07/cstovb.jpg" rel="lightbox[28]" title="cstovb"><img style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" title="cstovb" src="http://afasyah.web.id/wp-content/uploads/2009/07/cstovb_thumb.jpg" border="0" alt="cstovb" width="437" height="345" /></a></p>
<p>BTW, post ini merupakan studi kasus dari artikel yang telah dibuat sebelumnya di <a href="http://geeks.netindonesia.net/blogs/danni/archive/2009/06/05/c-vb-c-code-converter-internet-explorer-8-accelerator.aspx" target="_blank">geeks</a>.</p>
<h3>Tentang Accelerator</h3>
<p>Accelerator, yang pada Internet Explorer 8 beta disebut dengan Activities, adalah suatu konsep baru yang memungkinkan user untuk berinteraksi dengan web service atau aplikasi dari kebiasan browsing Anda (di internet). Maksudnya, katakanlah Anda kesulitan dengan bahasa Inggris, dan ketika browsing sebuah halaman web dan menemukan kalimat yang tidak Anda kenal (mungkin) seringkali Anda meng-<em>copy</em> kalimat tersebut kemudian membuka website atau program lain untuk menterjemahkan, <em>paste</em> kalimat tadi dan bum! Anda mendapatkan kalimat yang sudah diterjemahkan.</p>
<p>Proses diatas sebetulnya sederhana tapi sebetulnya membutuhkan beberapa tahapan:</p>
<ol>
<li><em>Copy</em> kalimat ke clipboard</li>
<li>Buka Website/Program lain untuk menterjemahkan.</li>
<li><em>Paste </em>kalimat tadi.</li>
<li>Eksekusi untuk mendapatkan apa yang Anda inginkan.</li>
</ol>
<p>Nah, dengan Acceleratornya IE8, tahapan diatas jadi lebih mudah lagi, cukup (1) sorot kalimat yang akan ditranslate (2) Klik kanan atau klik icon biru untuk menampilkan daftar Accelerator yang tersedia di PC Anda, dan (3) Pilih/klik pada menu Accelerator untuk translate.</p>
<p>Jika Accelerator mendukung mode Preview, sebetulnya ketika menyorot Accelerator untuk Translate hasilnya dapat Anda lihat langsung tanpa harus browser membuka tab baru.</p>
<p><img src="http://i.msdn.microsoft.com/Cc289775.ie8_accelerators_map(en-us,VS.85).jpg" alt="" /></p>
<blockquote><p>Walaupun bisa menampilkan jendela preview, ternyata fitur preview ini masih mempunyai kekurangan,</p></blockquote>
<p>Fitur preview ini sangatlah bagus, tapi menurut dokumentasinya, fitur ini masih mempunyai kekurangan, diantaranya ukuran yang terbatas (sekitar 320×240 pixel), diluar itu konten akan kepotong, juga tidak disarankan untuk menampilkan scrollbar pada jendela preview ini.</p>
<h3>Tentang Code Converter</h3>
<p>Untuk mempelajari teknologi baru seperti Accelerator ini tidaklah seru kalo tidak dengan membuat satu produk yang bermanfaat. Dan salah satu yang menjadi kandidat adalah <strong>code converter</strong>. Mengapa ? jika Anda sebagai VB developer mungkin bisa jadi tahu kalau artikel-artikel di internet kebanyakan kodenya dibuat pake C#. Kalo sampai beberapa baris mungkin masi ok lah, masi bisa dicerna tapi kalo sudah puluhan baris dan kompleks si… gile dah.</p>
<p>Nah disinilah Accelerator-nya si IE ini bisa bermanfaat. Jadinya kalo nemu kode C# tinggal sorot aja, pilih menu “Convert C# to VB” maka kode VB-nya akan tampil di window preview. Untuk lebih detailnya, Anda dapat juga meng-klik menu “Convert C# to VB” dan kode VB-nya akan ditampilkan di halaman tersendiri.</p>
<p>Untuk membuat code converter tidaklah sulit karena sebetulnya sudah ada <em>engine</em> untuk itu, yaitu <a href="http://www.sharpdevelop.net/" target="_blank">NRefactory</a>* buatan <a href="http://www.sharpdevelop.net/" target="_blank">SharpDevelop</a>, bahkan beberapa online converter yang populer seperti milik telerik, dsb. sebetulnya dibuat dengan memanfaatkan engine yang sama.</p>
<p>* NRefactory (assembly-nya punya nama <strong>ICSharpCode.NRefactory.dll</strong>) dapat Anda temukan jika Anda sudah memasang SharpDevelop di PC Anda.</p>
<p>Contoh kode untuk konversi dari C# ke VB menggunakan NRefactory:</p>
<div id="codeSnippetWrapper" style="border: 1px solid silver; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; direction: ltr; max-height: 200px; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #0000ff">Imports</span> ICSharpCode.NRefactory</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #0000ff">Imports</span> ICSharpCode.NRefactory.Ast</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #0000ff">Imports</span> ICSharpCode.NRefactory.Parser</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #0000ff">Imports</span> ICSharpCode.NRefactory.PrettyPrinter</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #0000ff">Imports</span> ICSharpCode.NRefactory.Visitors</pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #008000">''' &lt;summary&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #008000">''' Konversi dari C# ke VB</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #008000">''' &lt;/summary&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #008000">''' &lt;param name="input"&gt;Blok kode&lt;/param&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #008000">''' &lt;param name="errorMsg"&gt;Pesan error&lt;/param&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #008000">''' &lt;returns&gt;String&lt;/returns&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #008000">''' &lt;remarks&gt;&lt;/remarks&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #0000ff">Private</span> <span style="color: #0000ff">Function</span> ConvertCSharpToVB(<span style="color: #0000ff">ByVal</span> input <span style="color: #0000ff">As</span> <span style="color: #0000ff">String</span>, <span style="color: #0000ff">ByRef</span> errorMsg <span style="color: #0000ff">As</span> <span style="color: #0000ff">String</span>) <span style="color: #0000ff">As</span> <span style="color: #0000ff">String</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    <span style="color: #0000ff">Dim</span> parser <span style="color: #0000ff">As</span> SnippetParser = <span style="color: #0000ff">New</span> SnippetParser(SupportedLanguage.CSharp)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">Dim</span> node <span style="color: #0000ff">As</span> INode</pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">Try</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">        node = parser.Parse(input)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">Catch</span> ex <span style="color: #0000ff">As</span> Exception</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">        errorMsg = parser.Errors.ErrorOutput</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">        <span style="color: #0000ff">Return</span> <span style="color: #006080">""</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    <span style="color: #0000ff">End</span> <span style="color: #0000ff">Try</span></pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    <span style="color: #0000ff">If</span> (parser.Errors.Count &gt; 0) <span style="color: #0000ff">Then</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">        errorMsg = parser.Errors.ErrorOutput</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">        <span style="color: #0000ff">Return</span> <span style="color: #006080">""</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">End</span> <span style="color: #0000ff">If</span></pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    PreprocessingDirective.CSharpToVB(parser.Specials)</pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    node.AcceptVisitor(<span style="color: #0000ff">New</span> CSharpConstructsConvertVisitor(), <span style="color: #0000ff">Nothing</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    node.AcceptVisitor(<span style="color: #0000ff">New</span> ToVBNetConvertVisitor(), <span style="color: #0000ff">Nothing</span>)</pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    <span style="color: #0000ff">Dim</span> output <span style="color: #0000ff">As</span> VBNetOutputVisitor = <span style="color: #0000ff">New</span> VBNetOutputVisitor()</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    Using (SpecialNodesInserter.Install(parser.Specials, output))</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">        node.AcceptVisitor(output, <span style="color: #0000ff">Nothing</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">End</span> Using</pre>
<p><!--CRLF--></p>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">Return</span> output.Text</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #0000ff">End</span> Function</pre>
<p><!--CRLF--></div>
</div>
<h3>Membuat Accelerator</h3>
<p>Untuk Accelerator ini dibuat website yang berfungsi sebagai penyedia jasa konversi kode diatas. Website ini dibuat menggunakan ASP.NET MVC tapi sebetulnya pake WebForm bisa juga,</p>
<p>“Inti” dari konversi kode ini sebetulnya ada di pada 2 form berikut :</p>
<p>Form Preview</p>
<div id="codeSnippetWrapper">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span id="lnum1" style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">form</span> <span style="color: #ff0000">action</span><span style="color: #0000ff">="http://localhost:1800/convert/preview"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span id="lnum2" style="color: #606060">   2:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">input</span> <span style="color: #ff0000">type</span><span style="color: #0000ff">="text"</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="f"</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">="cstovb"</span> <span style="color: #0000ff">/&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span id="lnum3" style="color: #606060">   3:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">input</span> <span style="color: #ff0000">type</span><span style="color: #0000ff">="text"</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="c"</span> <span style="color: #0000ff">/&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span id="lnum4" style="color: #606060">   4:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">form</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p>Form Convert</p>
<div id="codeSnippetWrapper">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span id="lnum1" style="color: #606060">   1:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">form</span> <span style="color: #ff0000">action</span><span style="color: #0000ff">="http://localhost:1800/convert"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span id="lnum2" style="color: #606060">   2:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">input</span> <span style="color: #ff0000">type</span><span style="color: #0000ff">="text"</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="f"</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">="cstovb"</span> <span style="color: #0000ff">/&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span id="lnum3" style="color: #606060">   3:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">input</span> <span style="color: #ff0000">type</span><span style="color: #0000ff">="text"</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="c"</span> <span style="color: #0000ff">/&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span id="lnum4" style="color: #606060">   4:</span> <span style="color: #0000ff">&lt;/</span><span style="color: #800000">form</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p>Jika Anda perhatikan form diatas menggunakan 2 parameter, yaitu f/format dan c/code untuk kode yang akan dikonversi. Jika kode diatas kita buat kedalam format OpenService yang digunakan oleh Accelerator maka akan menjadi file xml dengan isi sebagai berikut (file ini kemudian diberi nama <strong>cstovb-accelerator.xml</strong>):</p>
<div id="codeSnippetWrapper" style="border: 1px solid silver; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; direction: ltr; max-height: 200px; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span style="color: #0000ff">&lt;?</span><span style="color: #800000">xml</span> <span style="color: #ff0000">version</span><span style="color: #0000ff">="1.0"</span> <span style="color: #ff0000">encoding</span><span style="color: #0000ff">="UTF-8"</span> ?<span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #0000ff">&lt;</span><span style="color: #800000">openServiceDescription</span> <span style="color: #ff0000">xmlns</span><span style="color: #0000ff">="http://www.microsoft.com/schemas/openservicedescription/1.0"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">  <span style="color: #0000ff">&lt;</span><span style="color: #800000">homepageUrl</span><span style="color: #0000ff">&gt;</span>http://localhost:1800<span style="color: #0000ff">&lt;/</span><span style="color: #800000">homepageUrl</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">  <span style="color: #0000ff">&lt;</span><span style="color: #800000">display</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">name</span><span style="color: #0000ff">&gt;</span>Convert C# to VB<span style="color: #0000ff">&lt;/</span><span style="color: #800000">name</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">icon</span><span style="color: #0000ff">&gt;</span>http://localhost:1800/favicon.ico<span style="color: #0000ff">&lt;/</span><span style="color: #800000">icon</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">  <span style="color: #0000ff">&lt;/</span><span style="color: #800000">display</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">  <span style="color: #0000ff">&lt;</span><span style="color: #800000">activity</span> <span style="color: #ff0000">category</span><span style="color: #0000ff">="C# Converter"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">    <span style="color: #0000ff">&lt;</span><span style="color: #800000">activityAction</span> <span style="color: #ff0000">context</span><span style="color: #0000ff">="selection"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">      <span style="color: #0000ff">&lt;</span><span style="color: #800000">preview</span> <span style="color: #ff0000">method</span><span style="color: #0000ff">="post"</span> <span style="color: #ff0000">action</span><span style="color: #0000ff">="http://localhost:1800/convert/preview"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">parameter</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="f"</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">="cstovb"</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">parameter</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">parameter</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="c"</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">="{selection}"</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">parameter</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">      <span style="color: #0000ff">&lt;/</span><span style="color: #800000">preview</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">      <span style="color: #0000ff">&lt;</span><span style="color: #800000">execute</span> <span style="color: #ff0000">method</span><span style="color: #0000ff">="post"</span> <span style="color: #ff0000">action</span><span style="color: #0000ff">="http://localhost:1800/convert"</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">parameter</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="f"</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">="cstovb"</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">parameter</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">        <span style="color: #0000ff">&lt;</span><span style="color: #800000">parameter</span> <span style="color: #ff0000">name</span><span style="color: #0000ff">="c"</span> <span style="color: #ff0000">value</span><span style="color: #0000ff">="{selection}"</span> <span style="color: #0000ff">&gt;&lt;/</span><span style="color: #800000">parameter</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">      <span style="color: #0000ff">&lt;/</span><span style="color: #800000">execute</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">    <span style="color: #0000ff">&lt;/</span><span style="color: #800000">activityAction</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;">  <span style="color: #0000ff">&lt;/</span><span style="color: #800000">activity</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span style="color: #0000ff">&lt;/</span><span style="color: #800000">openServiceDescription</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></div>
</div>
<p><strong>Catatan</strong> : URL yang digunakan diatas adalah URL di pc lokal. {selection} adalah string yang dikirimkan oleh accelerator.</p>
<p>Agar pengunjung dapat menambahkan Accelerator yang kita buat ini, dibuat link untuk instalasinya sebagai berikut:</p>
<div id="codeSnippetWrapper" style="border: 1px solid silver; margin: 20px 0px 10px; padding: 4px; overflow: auto; font-size: 8pt; width: 97.5%; cursor: text; direction: ltr; max-height: 200px; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span id="lnum1" style="color: #606060">   1:</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: #f4f4f4; text-align: left;"><span id="lnum2" style="color: #606060">   2:</span> <span style="color: #0000ff">&lt;</span><span style="color: #800000">button</span> <span style="color: #ff0000">id</span><span style="color: #0000ff">="cstovb"</span> <span style="color: #ff0000">onclick</span><span style="color: #0000ff">="javascript:window.external.addservice('cstovb-accelerator.xml')"</span><span style="color: #0000ff">&gt;</span>Install C# to VB Converter - Accelerator<span style="color: #0000ff">&lt;/</span><span style="color: #800000">button</span><span style="color: #0000ff">&gt;</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; font-size: 8pt; width: 100%; color: black; direction: ltr; line-height: 12pt; font-family: 'Courier New',courier,monospace; background-color: white; text-align: left;"><span id="lnum3" style="color: #606060">   3:</span></pre>
<p><!--CRLF--></div>
</div>
<p>Setelah dijalankan, aplikasi ini akan tampil seperti gambar diatas.</p>
<!-- PHP 5.x -->

<p>Related posts:<ol><li><a href='http://afasyah.web.id/miscellaneous/csharp-vb-net-offline-code-converter/' rel='bookmark' title='Permanent Link: C# &ndash; VB.NET (Offline) Code Converter'>C# &ndash; VB.NET (Offline) Code Converter</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/asp-net-mvc/membuat-accelerator-untuk-internet-explorer-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoogleMap License to share</title>
		<link>http://afasyah.web.id/aspnet/googlemap-license-to-share/</link>
		<comments>http://afasyah.web.id/aspnet/googlemap-license-to-share/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 04:12:58 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[Subgurim's Google Map control]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=24</guid>
		<description><![CDATA[About SubGurim Google Map control GoogleMaps.Subgurim.NET is the most advanced Google Maps control for ASP.NET 2.0. With the full power of the official GoogleMaps API, yet without the need of a single line of javascript code: only ASP.NET! Just drag the control in Visual Studio, and with a few lines of code you will be [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<h3>About SubGurim Google Map control</h3>
<blockquote><p><a title="Subgurim Google Map control" href="http://en.googlemaps.subgurim.net/" target="_blank">GoogleMaps.Subgurim.NET </a>is the most advanced Google Maps control for ASP.NET 2.0. With the full power of the official GoogleMaps API, yet without the need of a single line of javascript code: only ASP.NET!</p>
<p>Just drag the control in Visual Studio, and with a few lines of code you will be able program powerful Google Maps applications!!</p></blockquote>
<p>Well, I&#8217;ve been rewarded 100 license of Subgurim&#8217;s GoogleMap control for translating the website to Indonesian and I&#8217;m about to share 20 of them for FREE ! (FYI, each license is worth 10 EURO).</p>
<h3>The rules</h3>
<ol>
<li>You can use the license for personal or even commercial purposes.</li>
<li>One email address can only request one license for a single domain.</li>
<li>Please leave a comment with valid email, URL and a short description of your website (the license will be sent by email later).</li>
<li>Valid for the first 20 requester.</li>
</ol>
<p><strong>note</strong>. <span style="text-decoration: underline;">The license will be created in the subgurims&#8217;s website so it&#8217;s valid and legal.</span></p>
<!-- PHP 5.x -->

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/aspnet/googlemap-license-to-share/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Meng-UNDO tab yang tertutup di browser</title>
		<link>http://afasyah.web.id/miscellaneous/meng-undo-tab-yang-tertutup-di-browser/</link>
		<comments>http://afasyah.web.id/miscellaneous/meng-undo-tab-yang-tertutup-di-browser/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 06:46:00 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[tab browsing]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/?p=19</guid>
		<description><![CDATA[Ada hal menarik dengan Opera 10 : ketika sedang membaca satu artikel gag sengaja si tab tersebut ketutup, reflek &#8211; kalo pemakai windows &#8211; tentunya menekan tombol CTRL+Z untuk membatalkan, bah,,,, taunya si tab balik lagi,, cool. Setelah diusut ini ternyata udah fitur si Opera &#8230; BTW, browser lain yang ada fitur ini adalah FireFox [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-23" title="Opera" src="http://afasyah.web.id/wp-content/uploads/2009/06/opera_logo.jpg" alt="Opera" width="123" height="103" />Ada hal menarik dengan Opera 10 : ketika sedang membaca satu artikel gag sengaja si tab tersebut ketutup, reflek &#8211; kalo pemakai windows &#8211; tentunya menekan tombol CTRL+Z untuk membatalkan, bah,,,, taunya si tab balik lagi,, <em>cool</em>. Setelah diusut ini ternyata udah fitur si Opera <img src='http://afasyah.web.id/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8230; BTW, browser lain yang ada fitur ini adalah FireFox hanya untuk shortcutnya berbeda, yaitu CTRL+SHIFT+T atau CTRL+F12.</p>
<!-- PHP 5.x -->

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/miscellaneous/meng-undo-tab-yang-tertutup-di-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Konversi dataset ke JSON</title>
		<link>http://afasyah.web.id/aspnet/konversi-dataset-ke-json/</link>
		<comments>http://afasyah.web.id/aspnet/konversi-dataset-ke-json/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 12:04:07 +0000</pubDate>
		<dc:creator>danni</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Dataset]]></category>
		<category><![CDATA[Javasript]]></category>

		<guid isPermaLink="false">http://afasyah.web.id/konversi-dataset-ke-json/</guid>
		<description><![CDATA[Setelah muter2 ketemu juga akhirnya. Biar gampangnya, serialisasi ke JSON menggunakan library JSON.NET, di websitenya ada beberapa versi tergantung versi .net framework yang digunakan. BTW, ini kodenya : 1: Imports Newtonsoft.Json 2: Private Function GetCustomer() As String 3: Dim retVal As String = "" 4: Dim ds As DataSet = DAL.Customer.GetCustomers 5: 6: If ds [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Setelah muter2 ketemu juga akhirnya. Biar gampangnya, serialisasi ke <a href="http://id.wikipedia.org/wiki/JSON" target="_blank">JSON</a> menggunakan library <a href="http://james.newtonking.com/pages/json-net.aspx" target="_blank">JSON.NET</a>, di websitenya ada beberapa versi tergantung versi .net framework yang digunakan. BTW, ini kodenya :</p>
<div id="codeSnippetWrapper" style="border: 1px solid silver; margin: 20px 0px 10px; padding: 4px; overflow: auto; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 97.5%; font-family: 'Courier New',courier,monospace; direction: ltr; max-height: 200px; font-size: 8pt; cursor: text;">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum1" style="color: #606060">   1:</span> <span style="color: #0000ff">Imports</span> Newtonsoft.Json</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum2" style="color: #606060">   2:</span> <span style="color: #0000ff">Private</span> <span style="color: #0000ff">Function</span> GetCustomer() <span style="color: #0000ff">As</span> <span style="color: #0000ff">String</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum3" style="color: #606060">   3:</span>     <span style="color: #0000ff">Dim</span> retVal <span style="color: #0000ff">As</span> <span style="color: #0000ff">String</span> = <span style="color: #006080">""</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum4" style="color: #606060">   4:</span>     <span style="color: #0000ff">Dim</span> ds <span style="color: #0000ff">As</span> DataSet = DAL.Customer.GetCustomers</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum5" style="color: #606060">   5:</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum6" style="color: #606060">   6:</span>     <span style="color: #0000ff">If</span> ds IsNot <span style="color: #0000ff">Nothing</span> <span style="color: #0000ff">AndAlso</span> ds.Tables(0).Rows.Count &gt; 0 <span style="color: #0000ff">Then</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum7" style="color: #606060">   7:</span>         <span style="color: #0000ff">Dim</span> custList <span style="color: #0000ff">As</span> <span style="color: #0000ff">New</span> List(Of Hashtable)()</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum8" style="color: #606060">   8:</span>         <span style="color: #0000ff">For</span> i <span style="color: #0000ff">As</span> <span style="color: #0000ff">Integer</span> = 0 <span style="color: #0000ff">To</span> ds.Tables(0).Rows.Count - 1</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum9" style="color: #606060">   9:</span>             <span style="color: #0000ff">Dim</span> ht <span style="color: #0000ff">As</span> <span style="color: #0000ff">New</span> Hashtable()</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum10" style="color: #606060">  10:</span>             <span style="color: #0000ff">Dim</span> row <span style="color: #0000ff">As</span> DataRow = <span style="color: #0000ff">TryCast</span>(ds.Tables(0).Rows(i), DataRow)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum11" style="color: #606060">  11:</span>             ht(<span style="color: #006080">"IDCustomer"</span>) = Convert.ToString(row(<span style="color: #006080">"IDCustomer"</span>))</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum12" style="color: #606060">  12:</span>             ht(<span style="color: #006080">"CustomerName"</span>) = Convert.ToString(row(<span style="color: #006080">"CustomerName"</span>))</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum13" style="color: #606060">  13:</span>             custList.Add(ht)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum14" style="color: #606060">  14:</span>         <span style="color: #0000ff">Next</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum15" style="color: #606060">  15:</span>         retVal = JavaScriptConvert.SerializeObject(custList)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum16" style="color: #606060">  16:</span>     <span style="color: #0000ff">End</span> <span style="color: #0000ff">If</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum17" style="color: #606060">  17:</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum18" style="color: #606060">  18:</span>     <span style="color: #0000ff">Return</span> retVal</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum19" style="color: #606060">  19:</span> <span style="color: #0000ff">End</span> Function</pre>
<p><!--CRLF--></div>
</div>
<p>Output yang dihasilkan adalah sebagai berikut (setelah dirapikan):</p>
<div id="codeSnippetWrapper">
<div id="codeSnippet" style="border-style: none; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;">
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum1" style="color: #606060">   1:</span> [</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum2" style="color: #606060">   2:</span> {<span style="color: #006080">"IDCustomer"</span>:<span style="color: #006080">"1"</span>,<span style="color: #006080">"CustomerName"</span>:<span style="color: #006080">"Unyil"</span>},</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum3" style="color: #606060">   3:</span> {<span style="color: #006080">"IDCustomer"</span>:<span style="color: #006080">"2"</span>,<span style="color: #006080">"CustomerName"</span>:<span style="color: #006080">"Cuplis"</span>},</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum4" style="color: #606060">   4:</span> {<span style="color: #006080">"IDCustomer"</span>:<span style="color: #006080">"3"</span>,<span style="color: #006080">"CustomerName"</span>:<span style="color: #006080">"Ableh"</span>}</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; margin: 0em; padding: 0px; overflow: visible; text-align: left; line-height: 12pt; background-color: white; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt;"><span id="lnum5" style="color: #606060">   5:</span> ]</pre>
<p><!--CRLF--></div>
</div>
<!-- PHP 5.x -->

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://afasyah.web.id/aspnet/konversi-dataset-ke-json/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
