Feeds:
Posts
Comments

*) note : we use .netCharting as component/control in this article

Introduction

This document describes how to add the .netCHARTING control to various versions of Visual Studio toolbox.

Visual Studio 2002 & 2003:

  • Right-Click on the toolbox > Add/Remove Items
  • Select the .net Framework Components tab
  • If the server version is installed, the component will be listed in the list box. Otherwise, click browse and select the .netCHARTING dll.
  • Click Ok to finish.
  If the error “The format of the file ‘dotnetcharting’ is invalid.” occurs. This means the dll being added is a .net 2.0 assembly. To resolve this issue, the .net 1.x version of the bundle must be downloaded and used instead.

 

Visual Studio 2005, 2008 & Express editions.

  • Right-Click on the toolbox > Choose Items
  • Select the .net Framework Components tab
  • If the server version is installed, the component will be listed in this tab. Otherwise, click browse and select the .netCHARTING dll.
  • Click Ok to finish. 

    Web Matrix

    • Select “Custom Controls” tab of the toolbox.
    • Right-Click on the custom controls tab and select “Add Local Toolbox Components…”
    • Click “Browse…”
    • Navigate to the location of the dotnetcharting.dll file, select it and click ok.
    • Finally click ok at the “Select Components” popup.
    • When the “Install to GAC” popup appears, click no.
  • Build Your Own ASP.NET Server Control Component
    aka.
    by alfred_ng@hotvoice.com
    ——————————————————————————–

    Here will deliver a simple tutorial guide you how to build a component using VB.NET, and the steps using it with ASP.NET Web Page.

    This component will generate the bullet or numbering beside your list.

    Below is the coding of the component

    Step1: Copy the code below save it as “ShowList.vb” filename.

    ================== Code Listing: ShowList.vb ========================

    Imports System
    Imports System.Web
    Imports System.Web.UI
    Imports System.Collections

    Namespace listControl

    Public Class ShowList: Inherits Control

    Private _dataSource As IEnumerable

    Public Property DataSource As IEnumerable

    Get
    Return _dataSource
    End Get

    Set
    _dataSource = Value
    End Set
    End Property

    Public Title As String
    Public Format As String

    Protected Overrides Sub OnDataBinding (e As EventArgs)

    Dim DataEnum As IEnumerator
    Dim ltlLiteral As LiteralControl
    Dim lstBeginFormatTag As String
    Dim lstEndFormatTag As String

    Controls.Clear()
    Controls.Add(New LiteralControl(”” & Title & ““))

    Select Case Format.ToLower()
    Case “number”
    lstBeginFormatTag = “


      lstEndFormatTag = “

    Case “bullet”
    lstBeginFormatTag = “

      lstEndFormatTag = “

    End Select

    If Format.ToLower() “number” AND Format.ToLower() “bullet” Then
    Controls.Add(New LiteralControl(”
    ” _
    & “Error Message: Undefined “”Format”" Property, either ” _
    & “”"number”" or “”bullet”"

    “))
    Else
    If Not DataSource Is Nothing
    DataEnum = DataSource.GetEnumerator()
    Controls.Add(New LiteralControl(lstBeginFormatTag))

    While (DataEnum.MoveNext())
    ltlLiteral = New LiteralControl (DataEnum.Current.ToString())

    Controls.Add(New LiteralControl(”

  • “))
    Controls.Add(ltlLiteral)
    Controls.Add(New LiteralControl(”
  • “))
    End While

    Controls.Add(New LiteralControl(lstEndFormatTag))
    Else
    Controls.Add(New LiteralControl(”
    ” _
    & “Data Not Found!

    “))
    End If
    End If
    End Sub

    End Class

    End Namespace

    ================== End of Code Listing ==============================

    Step2: Compile and locate it at your web application root\bin folder.

    vbc /t:library /r:System.dll,System.Web.dll ShowList.dll

    Step3: Implement into your ASP.NET page, copy it and save it as “ListControl.aspx”.

    ================== Code Listing: ListControl.aspx ===================

    Sub Page_Load

    Dim theList As ArrayList

    theList = New ArrayList
    theList.Add (”Expresso”)
    theList.Add (”Cappurino”)
    theList.Add (”Coffee”)
    theList.Add (”Mocha”)

    dbBound.DataSource = theList
    dbBound.DataBind()

    End Sub

    ListControl Demonstration

    Build Your Own Bullet and Numbering Control Component

    ================== End of Code Listing ==============================
    In order to use the control, remember that locate the “ShowList.dll” file which is just generated into the web application root\bin folder. Inside your .aspx page, you need to attach this code on top

    Inside the content, you need to attach the code below to using the control.

    Description: Initially the Page_Load will bind the data into the control. You may bind the data with the database. For the “Format” property you can use either “bullet” or “number” to display your list. The “Title” property, it is just a title for the listing and in “BOLD” format.

    Thanks for reading and try it out. Any suggestion or recommendation about this control are welcome reply to me.

    source : http://www.asp101.com/articles/misc/usercontrol/default.asp

    Aika Imanina Ardhiansa putriku sayang, Ayah-Bunda mengucap Alhamdulillah untuk kehadiran Aika bersama kami. Semoga Aika sayang menjadi putri yang sholehah, beriman kepada Allah, berbakti dan dapat mengangkat derajat Ayah-Bunda.

    Aika lahir di RSI Al Arafah Kediri pada tanggal 28 Agustus 2008 pukul 15:18 WIB. Bunda tentu akan segera melupakan rasa sakit dan berganti bahagia ketika melihat Aika lahir dengan selamat.

    Aika Imanina Ardhiansa kami ambil dari kata :
    - Aika (Arab) : Tanaman yang tumbuh dengan baik, yang secara harfiah kami artikan Tumbuh dengan Baik
    - Aika (Kanji) : kanji Ai berarti Cinta dan kanji Hana yang berarti Bunga, jadi secara harfiah bisa diartikan Bunga Cinta
    - Imanina (Arab) : Keimanan kita kepada Allah
    Secara harfiah, Aika Imanina Ardhiansa kami maksudkan Tumbuh Dengan Baik Keimanan Kita Kepada Allah. Semoga doa kami dalam nama Aika mendapat rahmat dan kasih-sayang Allah SWT.

    Aika sayang, cepat besar ya nak, kita rajut bersama hari-hari nanti, semoga selalu penuh keberkahan, Amiin.

    Bangku Tunggu

    Bangku Tunggu

    Bangku Tunggu

    Pada awalnya bangku ini adalah bangku kayu biasa, seperti pada umumnya tempat perbelanjaan menyediakan tempat duduk bagi yang ingin istirahat. Pun demikian di ITC Permata Hijau di lantai 1, sekitar 30 meter dari mushola lantai 1. Lokasinya agak jauh dari mushola memang dan terhalang beberapa toko. Dan, sekarang bangku ini tetap bangku biasa bagi sebagian orang, mungkin, tapi tidak bagi kami, saya dan istri. Bangku ini adalah tempat yang kami sepakati untuk saling menunggu meskipun tidak pernah ada deklarasi dan tidak pernah terucapkan. Saya atau istri “pasti” akan menunggu di bangku ini setelah selesai melakukan sholat. Disinilah saya atau istri saling menunggu sambil mengamati anak-anak kecil yang bermain di taman bermain di lantai dasar. Kami tidak tahu apakah buah hati kami juga bisa menikmati taman bermain di sini karena ada rencana kami akan pindah tempat tinggal di kawasan Ragunan. Dan mungkin akan ada Bangku Tunggu yang baru bagi kami sekeluarga.

    Apabila Anda ingin menambahkan user ke Windows 2000 server dan setelah cek Control Panel tidak menemukan icon User Account, silakan coba langkah-langkah berikut :

    1. From the Windows Start menu select Programs | Administrative Tools | Computer Management. If this menu item does not exist, you are either not an administrator for the computer or the server is a domain controller and you need to create a domain user instead.
    2. From the Computer Management dialog, navigate to System Tools | Local Users and Groups | Users on the left panel; right click on Users and select New user from the popup menu.
    3. In the New User dialog, enter prtracker, PR-Tracker and Problem Tracking System for the User name, Full name and Description, respectively.
    4. Uncheck box User must change password at next login and then check box Password Never Expires.
    5. Click the Create button to create the user and then click Close button.
    6. Optional steps follow: double-click the prtracker username on the right panel.
    7. From the prtracker Properties dialog, select tab Member Of and click the Add button.
    8. From the Select Groups dialog double-click Administrators and click the OK button.

    Note that optional steps 6, 7 and 8 are only recommended if you plan to use SQL Server as your database provider. Even if you do plan to use SQL Server as the database provider, these steps are optional if you choose to configure the server roles in SQL Server instead.

    Source : prtracker

    Pernah klik tanda seru (!) di logonya Yahoo? Kalo belum cobain dech masuk ke http://www.yahoo.com dan klik tanda seru di logonya yahoo. Jangan lupa pastikan speaker dalam kondisi On. Akan terdengar suara “Yahuuuuu uu uu”

    Pada kondisi tertentu, kadang kita harus ganti komputer (Mac) dengan konsekuensi harus memindah data juga dari satu Mac ke Mac yang lain. Tulisan berikut khusus membahas bagaimana caranya memindahkan Mailbox (Email) dari Mac 1 ke Mac 2.

    Langkah 1 :
    Copy folder Mail di Mac 1. Lokasi filenya ada di “Users/[Nama User]/Library/Mail

    Langkah 2 :
    Paste hasil copy di langkah 1 di salah satu folder di Mac 2 (Misal di Desktop)

    Langkah 3 :
    Buka aplikasi Mail. Klik File > Import Mailboxes

    Export Mailboxes

    Import Mailboxes

    Langkah 4 :
    Pilih “Mail for Mac OS X”

    Mail for Mac OS X

    Mail for Mac OS X

    Langkah 5 :
    Pilih folder dengan nama Account Email yang telah kita Copy-Paste tadi (Misal di folder Desktop.
    Misal : Desktop/Mail/POPemail@NamaDomain.
    Akan muncul daftar yang akan kita import

    Items to Import

    Items to Import

    Click Continue…. Kelar dech, semua item yang kita import akan muncul di email kita dibawah folder Import.

    Hari Rabu minggu kemaren, seperti biasanya aku suka download software-aplikasi untuk belajar dan senang-senang. Setelah install-uninstall berbagai macam software-aplikasi, ternyata di desktop Windows 2000-ku meninggalkan icon antivirus. Iconnya seperti gambar ini :

    Vista Antivirus 2008 Icon

    Sekilas tidak curiga, tapi setelah beberapa saat muncul tanda tanya muter-muter di atas kepala (seperti di pelm kartun, tuing..tuing). Koq aneh ya ada vista antivirus di sini padahal kompie ini OS-nya Windows 2000? Dan kecurigaan semakin besar karena mulai bermunculan pop-up yang mewajibkan pengguna untuk meng-klik pop-up tersebut. Ini screen capture pop-up yang muncul :

    Vista Antivirus 2008 Pop-up

    Wah, apabila sudah seperti ini artinya kompie ini memang sudah terjangkit trojan. Pekerjaan selanjutnya adalah mencari anti-spyware untuk menghancurkan Vista Antivirus gadungan ini.

    Beberapa anti-spyware yang aku coba antara lain Ad-Aware, Spyware Doctor (tidak berhasil diinstall, i don’t know why), Spyware Terminator (menurut referensi yang aku baca sich bagus, tapi kelemahannya banyak sekali warning-warning yang sangat mengganggu, sampai open Control Panel saja ada warningnya, duhh)  dan masih banyak lagi anti-spyware yang aku coba terutama yang menurut review mendapat rating good.

    Bagaimana hasil akhirnya? Kompieku terserang trojan-spyware yang jauh lebih banyak. Mungkin karena terburu-buru atau memang lagi apes yang membuat trojan semakin beranak-pinak di kompieku. Dan puncaknya adalah ketika kompieku benar-benar tidak dapat diakses. Dan solusi klasik dan salah satu jurus pamungkas adalah install ulang. Sebenarnya install ulang bukan hal yang berat dalam kondisi ini karena memang tidak banyak aplikasi yang ada di kompie ini, tapi ada hal yang lebih penting dari kejadian ini. Pelajaran menghadapi serangan virus, trojan, spyware dan berbagai penyakit dunia online.

    Berikut ini beberapa riset yang masih aku lanjutkan tentang Vista Antivirus 2008 meskipun kompie sudah aku install ulang. Penasaran.

    Ini salah satu referensi detail tentang cara menghapus Vista Antivirus 2008 :
    http://www.spywareremove.com/removeVistaAntivirus2008.html

    Tulisan ini aku tulis sambil riset tentang Vista Antivirus 2008. Jadi masih ada kemungkinan tulisan ini akan aku update sesuai perkembangan risetku.

    Setelah sekian lama hanya menggunakan Mac OS, sore ini tiba-tiba saja aku ingin menikmati Windows OS di Macbook Pro-ku. Setelah meng-klik icon Parallel Desktop, muncul pesan “Parallels desktop is unable to access the virtual hard disk…” Wah kenapa pula nie windows? Rusak gara-gara ada file yang terhapus? Soalnya sebelumnya aku lagi bersih-bersih file, ternyata banyak “sampah” yang harus dimasukkan ke dalam Trash.

    Akhirnya, seperti biasanya harus memanggil paman Google, dan dari 2 solusi yang aku temukan, solusi ini yang berhasil. Solusi detailnya ada di http://kb.parallels.com/en/4680 , salah satu solusi yang menurutku cukup masuk akal juga menurut error message yang aku terima adalah http://kb.parallels.com/en/4938

    Dan akhirnya Parallels Desktopku sudah bisa jalan, tapi ternyata masalah tidak berhenti sampai disitu. Windowsku tidak bisa jalan, tapi kalau error yang kedua ini aku sudah tahu jawabannya. Errornya seperti ini “Only 286 MB of free disk space remains in the /User/….” Yup, hardiskku sudah penuh :(