Halaman

WARNING!!
Please do not post links crack / patch in your comment

Monday, December 26, 2011

DevExpress 2011.2.7






After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the future. DXperience 11.2 is the first instance of the DXv2 wave.


After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the
Touch-Enabled
Bring your software to life with intelligent touch-based applications. Use your existing development skills to tap into the growing demand for stunning tablet & touch-enabled apps across all platforms, including WinForms, WPF and ASP.NET. Build for today as you begin to re-imagine business applications for the Windows 8 Metro design aesthetic. DXv2 delivers the gestures, themes, and controls to put Touch within your reach, right now.
Visually Stunning
Today’s customers want smart, beautiful apps in every part of their lives, from work to home. Now, with the tools from DevExpress, you can build them better than ever. Apply sophisticated themes, create your own, and even integrate your corporate brand. Incorporate elegant office-inspired or business intelligence dashboard controls into your design so your users can view and manipulate data in more insightful and compelling ways. And do it all on the platforms you know best. DXv2 delivers the tools you need to inspire and be inspired by application design.
Productivity + Creativity
Never sacrifice one for the other again. CodeRush helps you build and manage your complex code base allowing more time to focus on your business logic. Fewer keystrokes and clicks on the way to quickly building gorgeous, high-performance apps. The eXpressApp Framework (XAF) delivers a powerful, modular application framework that helps you bring robust enterprise applications to market, faster. These are the developer tools you expect from the company you know and trust. This is DXv2—designed to help you use your time, skills, and creativity for what truly matters.
Your free trial of the Enterprise Subscription
Named the Best Software Development Tool by judges at the 2011 TechEd Conference, this 30-day free trial includes over 300 individual controls, libraries, and extensions.

Friday, December 23, 2011

DevExpress 2011.2.6

It's time to experience 11.2


After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the future. DXperience 11.2 is the first instance of the DXv2 wave.


After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the
Touch-Enabled
Bring your software to life with intelligent touch-based applications. Use your existing development skills to tap into the growing demand for stunning tablet & touch-enabled apps across all platforms, including WinForms, WPF and ASP.NET. Build for today as you begin to re-imagine business applications for the Windows 8 Metro design aesthetic. DXv2 delivers the gestures, themes, and controls to put Touch within your reach, right now.
Visually Stunning
Today’s customers want smart, beautiful apps in every part of their lives, from work to home. Now, with the tools from DevExpress, you can build them better than ever. Apply sophisticated themes, create your own, and even integrate your corporate brand. Incorporate elegant office-inspired or business intelligence dashboard controls into your design so your users can view and manipulate data in more insightful and compelling ways. And do it all on the platforms you know best. DXv2 delivers the tools you need to inspire and be inspired by application design.
Productivity + Creativity
Never sacrifice one for the other again. CodeRush helps you build and manage your complex code base allowing more time to focus on your business logic. Fewer keystrokes and clicks on the way to quickly building gorgeous, high-performance apps. The eXpressApp Framework (XAF) delivers a powerful, modular application framework that helps you bring robust enterprise applications to market, faster. These are the developer tools you expect from the company you know and trust. This is DXv2—designed to help you use your time, skills, and creativity for what truly matters.
Your free trial of the Enterprise Subscription
Named the Best Software Development Tool by judges at the 2011 TechEd Conference, this 30-day free trial includes over 300 individual controls, libraries, and extensions.

Microsoft SQL Server 2008 R2 Express Edition

Easy to get. Free to use.


SQL Server Express is a free edition of SQL Server ideal for developing and powering desktop, web and small server applications. Download SQL Server 2008 R2 Express or try SQL Server 2012 Express RC0, which includes SQL Server Express LocalDB, a new lightweight deployment option for Express.

Top Express Features
  • Same database engine as other versions of SQL Server.
  • Supports 10 GB of storage per database.
  • Backup and restore with ease.
  • Compatible with all editions of SQL Server and SQL Azure.
  • Designed to work with Visual Studio and ASP.NET.
  • Available with a graphical management tool.
  • Offers reporting capabilities, full-text search, and spatial support. 






Faster development
Take advantage of existing Transact-SQL skills, and incorporate technologies, including the Microsoft ADO.NET Entity Framework and LINQ. Develop applications faster through deep integration with Visual Studio 2008, Visual Web Developer 2008, and SQL Server Management Studio.

Development acceleration
Model data by using the ADO.NET Entity Framework to hide database schema details and access data by using entities that closely resemble business logic. Take advantage of support for LINQ, including LINQ to SQL and LINQ to Entities, which allows data to be retrieved from entities natively from any Microsoft .NET language.

Improved developer productivity
Increase developer productivity and simplify deployment through integration with Visual Studio 2008 and Visual Web Developer. Take advantage of advanced capabilities, including rich table and query designers, full integration with Server Explorer, and drag-and-drop IDE support, for rapidly building data-bound applications. Access data with PHP by using the SQL Server driver for PHP.

Easy design process
Manage SQL Server 2008 R2 Express databases with SQL Server Management Studio Express. Connect to local SQL Server 2008 R2 Express databases and manage objects with full Object Explorer integration. Write, execute, and test queries by using visual query plans that provide hints to tune queries and access management and maintenance options.
Robust applications
Create applications by using advanced features while centralizing business logic and increasing application performance with stored procedures, CLR integration, triggers, and views. Dynamically respond to data changes by using query notification, and extend data to remote locations with Service Broker and Replication.

Management of any data type
Take advantage of data, including support for structured and unstructured data while storing business data with native support for relational data, XML, and spatial data. Store and validate XML data and use XQuery to retrieve data. Increase granularity of temporal data with data types such as date and time.

Data mapping
Add geographical information to business applications and build location-aware applications.

Relevant information delivery
Visualize data by using Reporting Services and create readable reports that answer complex user questions. Enable users to share reports by using Microsoft Word and Microsoft Excel.


Anywhere data access
Create occasionally connected applications that function even when disconnected from the network. Develop desktop applications that automatically synchronize with central databases.

Simple remote management
Manage data infrastructures with policy-based management and apply policies to all instances. Reduce maintenance time by defining common policies for operations, such as query optimizations, naming conventions, backup, restore, and index management. Apply policies to multiple servers for consistent management across the enterprise.

Corporate data synchronization
Keep data synchronized with subscriber support for SQL Server transactional and merge replication. Take advantage of advanced conflict resolution capabilities to build robust business solutions, and synchronize data automatically with support for change tracking and the Microsoft Sync Framework.



System requirements


Supported Operating Systems: Windows Server 2003 Service Pack 2, Windows Server 2008, Windows Vista, Windows Vista Service Pack 1, Windows XP Service Pack 2, Windows XP Service Pack 3


  • 32-Bit Systems: Computer with Intel or compatible 1GHz or faster processor (2 GHz or faster is recommended. Only a single processor is supported)
  • 64-Bit Systems: 1.4 GHz or higher processor (2 GHz or faster is recommended. Only a single processor is supported)
  • Minimum of 256 MB of RAM (1 GB or more is recommended)
  • 1 GB of free hard disk space

Instructions


Note: You must have administrative rights on the computer to install SQL Server 2008 Express.

We recommend that you read the Release Notes and Readme before installing SQL Server 2008 Express.


    Step 1: Download and install Microsoft .Net Framework 3.5 SP1.

    Step 2: Download and install Windows Installer 4.5.

    Step 3: Download SQL Server 2008 Express by clicking the appropriate link later on this page. To start the installation immediately, click Run. To install SQL Server Express at a later time, click Save.

    Note: Note: SQL Server 2008 Express includes both 32-bit and 64-bit versions. SQLEXPR32_x86 is a smaller package that can be used to install SQL Server 2008 Express onto only 32-bit operating systems. SQLEXPR_x86 is the same product but supports installation onto both 32-bit and 64-bit (WoW) operating systems. SQLEXPR_x64 is a native 64-bit SQL Server 2008 Express and supports installation onto only 64-bit operating systems. There is no other difference between these packages.

Hanya sharing saja, bagus juga untuk digunakan karena kapasitasnya sudah semakin besar dari 4 GB sekarang menjadi 10 GB per databasenya, buat temen temen daripada pakai yang ilegal coba mulai pakai yang versi ini, lumayan lama juga untuk mencapai 10 GB.


Saya pakai untuk perusahaan Retail dengan transaksi minimal 2500 per hari untuk program yang didalamnya ada transaksi Penjualan, Keuangan dan Accounting kemudian Gudang dan Ekspedisi sehingga setelah di ujicoba ternyata untuk 1 tahun perlu 2 GB , jadi kalau pakai versi ini setidaknya bisa 5 tahun, tapi saya setiap 3 tahun sekali juga di potong databasenya biar selalu ringan, jadi pakai versi ini sudah sangat cukup. Saya mencobanya tidak pakai Store Prosedure atau Trigger, untuk transaksi saya full pakai program. Seperti yang saya bilang, ini hanya sharing dan bukan promosi, saya yakin teman teman juga punya database sendiri yang sudah biasa digunakan, ini hanya info saja barangkali ada yang belum tahu.

Tuesday, December 20, 2011

MySQL Community Server



MySQL Community Edition is a freely downloadable version of the world's most popular open source database that is supported by an active community of open source developers and enthusiasts.
MySQL Cluster Community Edition is available as a separate download. The reason for this change is so that MySQL Cluster can provide more frequent updates and support using the latest sources of MySQL Cluster Carrier Grade Edition.





  • MySQL Connectors

  • MySQL offers standard database driver connectivity for using MySQL with applications and tools that are compatible with industry standards ODBC and JDBC.
    • Connector/ODBC(Current Generally Available Release: 5.1.9)Standardized database driver Windows, Linux, Mac OS X, and Unix platforms.Download
    • Connector/J(Current Generally Available Release: 5.1.18)Standardized database driver for Java platforms and development.Download
    • Connector/Net(Current Generally Available Release: 6.4.4)Standardized database driver for .NET platforms and development.Download
    • Connector/MXJ(Current Generally Available Release: 5.0.12)MBean for embedding the MySQL server in Java applications.Download
    • Connector/C++(Current Generally Available Release: 1.1.0)Standardized database driver for C++ development.Download
    • Connector/C (libmysql)(Current Generally Available Release: 6.0.2)A client library for C development.Download
    • MySQL native driver for PHP (mysqlnd)The MySQL native driver for PHP is an additional, alternative way to connect from PHP 6 to the MySQL Server 4.1 or newer.More Info


    Entry Column Using GridControl With Database (Basic)

    Pada Artikel sebelumnya yaitu Entry Column Using GridControl With TableOnTheFly , kita sudah pelajari bagaimana cara untuk menginput/entry data langsung pada GriControl. Jika anda belum mengerti baiknya anda ulas lagi di artikel sebelumnya, karena pada artikerl ini masih sangat berhubungan dengan artikel Entry Column Using GridControl With TableOnTheFly.

    Pada artikel ini saya akan melanjutkan apa yang sudah saya bahas, sehingga saya tidak terlalu panjang lagi untuk menjelaskannnya. Pada artikel ini saya akan membahas koneksi ke database (Access 2007) dan cara menyimpan hasil inputan/entry data di GridControl ke dalam database. Anda bisa memodifikasi untuk database yang anda pakai/disesuaikan dengan kebutuhan anda.

    Baiklah, kita mulai dengan tampilan seperti pada artikel sebelumnya, hanya di tambahkan beberapa tombol seperti gambar berikut ini


    setalah anda buat seperti di atas, sekarang kita setup untuk koneksi ke database access 2007 seperti ini :

    Imports System.Data.OleDb
    Imports DevExpress.XtraGrid.Views.Grid

    Public con As New OleDb.OleDbConnection
    Dim dtTable As DataTable
    Dim GetCustID As String
    Dim dtHutang As DataTable
    'Buka koneksi ke database
        Public Sub opencon()
            Try
                Dim Path As String = Application.StartupPath + "\" + "udinsofyanblogspotcom.accdb"
                con = New OleDb.OleDbConnection
                con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " & Path & ";Jet OLEDB:Database Password=; "
                If con.State = ConnectionState.Closed Then con.Open()
            Catch ex As OleDbException
                Throw ex
            End Try
        End Sub

    Karena saya menggunakan OLEDB untuk mengakses ke database Access 2007, maka saya harus melakukan Imports System.Data.OleDb. sekarang kita telah tersambung dengan database, langkah berikutnya adalah bagaimana jika yang kita input/entry pada GridControl salah dan kita harus menghapusnya, tapi sebelumnya kita harus bisa menangkap posisi kursor pada saat mouse di klik pada baris/row di GridControl:

     Private Sub GridView1_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles GridView1.MouseUp
            Try
                For Each i As Integer In GridView1.GetSelectedRows()
                    Dim row As DataRow = GridView1.GetDataRow(i)
                    GetCustID = String.Format(row("custid")).Trim
                Next
            Catch ex As Exception
                Exit Sub
            End Try
        End Sub
    Tambahkan scrip berikut pada tombol Delete. Delete disini hanya digunakan pada saat entry data, jadi tidak menghapus data jika sudah disimpan. berikut scripnya :
     Try
                For Each i As Integer In GridView1.GetSelectedRows()
                    Dim row As DataRow = GridView1.GetDataRow(i)
                    GetCustID = String.Format(row("custid")).Trim
                    row.Delete()
                    dtHutang.AcceptChanges()
                Next
      Catch ex As Exception
                Exit Sub
      End Try
    Scrip di atas akan menghapus baris yang telah di tunjuk oleh mouse, bagaimana jika kita ingin pakai Double Click pada mouse untuk menghapusnya, seperti ini :
     Private Sub GridView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.DoubleClick
            Try
                For Each i As Integer In GridView1.GetSelectedRows()
                    Dim row As DataRow = GridView1.GetDataRow(i)
                    GetCustID = String.Format(row("custid")).Trim
                    row.Delete()
                    dtHutang.AcceptChanges()
                Next
            Catch ex As Exception
                Exit Sub
            End Try
        End Sub
    kita sudah membuat event delete, sekarang bagaimana jika data yang telah di input/entry dimasukkan ke dalam database, berikut scriptnya :
    Private Sub InsertTransaksi()
            opencon()
            Dim count As Integer
            For Each Row As DataRow In dtHutang.Rows
                Dim cmd As New OleDbCommand
                With cmd
                    .CommandType = CommandType.Text
                    .Connection = con
                End With
                cmd.CommandText = "insert into sample " & _
                        "(custid, nama, hutang, tgl_jatuhtempo) " & _
                        "values (" & _
                        "'" & Row("custid") & "'," & _
                        "'" & Row("nama") & "'," & _
                        "'" & Row("hutang") & "'," & _
                        "'" & Row("tgl_jatuhtempo") & "' " & _
                        ")"
                opencon()
                count = cmd.ExecuteNonQuery()
            Next
            Try
                If count > 0 Then
                    MessageBox.Show("Success...", "Save", MessageBoxButtons.OK, MessageBoxIcon.Information)
                    dtHutang.Clear()
                Else
                    MessageBox.Show("Failed...", "Save", MessageBoxButtons.OK, MessageBoxIcon.Error)
                End If
            Catch ex As OleDbException
                MessageBox.Show(ex.Message)
            Finally
                con.Close()
            End Try
        End Sub

    Pada tombol Save, anda hanya memanggil prosesedure di atas seperti ini :
           Try
                InsertTransaksi()
            Catch ex As Exception
                Exit Sub
            End Try
    Tombol Retrieve dibuat hanya untuk mengecek apakah hasil dari input/entry yang telah dibuat masuk kedalam database atau tidak, seperti ini :
            Try
                opencon()
                Using dsReg As New DataSet()
                    Dim cmd As New OleDbCommand("select * from sample", con)
                    Dim daReg As New OleDbDataAdapter(cmd)
                    daReg = New OleDbDataAdapter(cmd)
                    dsReg.Tables.Clear()
                    daReg.Fill(dsReg, "data") ' data hanya penamaan di dataset, bisa diisi bebas
                    dtTable = Nothing
                    dtTable = dsReg.Tables("data")
                    GridControl1.DataSource = Nothing
                    GridControl1.DataSource = dtTable
                End Using
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
                Exit Sub
            Finally
                con.Close()
            End Try
       
    Untuk Tombol New, jika anda ingin membuat input/entry data baru kedalam GridControl
            Try
                dtHutang.Clear()
                GridControl1.DataSource = Nothing
                TableOnTheFlay()
            Catch ex As Exception
                Exit Sub
            End Try


    Jika sudah selesai, maka jalankan dengan menekan tombol F5, maka hasilnya akan seperti ini



    semoga membantu...


    Salam

    Thursday, December 1, 2011

    Entry Column Using GridControl With TableOnTheFly (Basic)

    Kebanyakan untuk form entry data/input data biasanya menggunakan control yang telah disediakan seperti TextBox dan lainnya, dari control tersebut kita isikan data sesuai dengan kebutuhan program, lalu bagaimana jika kita menggunakan atau Entry data melalui Grid lebih tepatnya GridControl.

    Jika kita berbelanja ke supermarket atau toko yang sudah menggunakan komputer (terutama sudah berbasis windows/GUI) maka perhatikan program yang digunakan oleh toko (kasir) tersebut, biasanya mereka langsung menggunakannya dalam bentuk grid. Kita akan mencoba dasar dari input dalam grid, dalam artikel ini tidak disertakan bagaimana cara save hasil input kedalam database, tapi bagaimana membuat GridControl agar bisa digunakan untuk entry data tersebut.

    Baiklah, mari kita mulai dengan New Project, namakan sesuai dengan keinginan anda, setelah selesai maka akan muncul form1, tambahkan SimpleButtom dan GridControl kedalam form1.





    Saya jelaskan mengenai properties di dalam gridcontrol ini, karena disini adalah titik yang paling vital bagaimana gridcontrol digunakan. Masuklah kedalam Run Designer, sehingga anda masuk kedalam Properties GridView1. Properties yang paling penting adalah sbb:

    View
    1.  OptionsBehavior
          AllowAddRows  = True      ' Agar GridView bisa untuk menambahkan row/baris baru

    2. OptionsNavigation
         EnterMoveNextColumn =True  ' Jika anda tekan enter maka langsung ke colum berikutnya

    3. OptionsView
        ColumnAutoWidth  = False
        NewItemRowPosition  = Bottom   ' tambahkan row baru di posisi bawah


    Columns
    Tambahkan 4 GridColumn, kemudian isikan untuk masing masing properties  gridcolum sebagai berikut :
    1. GridColumn1
        Caption--> Cust Id    ' Keterangan di Header Column
         FileName --> custid   ' nama field di database Warning : jgn sampai salah
        ColumnEdit -- > RepositoryItemTextEdit1     ' pilih TextBox


    2. GridColumn2
        Caption--> Nama    ' Keterangan di Header Column
        FileName --> nama     ' nama field di database Warning : jgn sampai salah
        ColumnEdit -- > RepositoryItemTextEdit2     ' pilih TextBox
    3. GridColumn3
        Caption--> Jumlah Hutang     ' Keterangan di Header Column
        FileName --> hutang    ' nama field di database Warning : jgn sampai salah
        ColumnEdit -- > RepositoryItemTextEdit2     ' pilih TextBox
                         DisplayFormat --> Format String = {0:n2}
                                                        FormatType : Numerik
                         EditFormat --> Format String = {0:n2}
                                                  FormatType : Numerik

                        Mask --> EditMask = n2
                                        MaskType = Numeric
                                        SaveLiteral = False
                                        ShowPlaceHolder = False
                                        UseMaskAsDsiplayFormat = True


    4. GridColumn4
        Caption--> Jatuh Tempo     ' Keterangan di Header Column
        FileName --> tgl_jatuhtempo     ' nama field di database Warning : jgn sampai salah
        ColumnEdit -- > RepositoryItemDateEdit1     ' pilih DateEdit
                         DisplayFormat --> Format String = dd MMM yyyy
                                                        FormatType : DateTime
                         EditFormat --> Format String = dd MMM yyyy
                                                  FormatType : DateTime
                         Mask --> EditMask = dd MMM yyyy
                                        MaskType = DateTime
                                        SaveLiteral = False
                                        ShowPlaceHolder = False
                                        UseMaskAsDsiplayFormat = True


    Nah kita telah selesai untuk hal yang pentingnya,  sekarang kita buat TableOnTheFly

    Private Sub TableOnTheFlay()
            Dim col1 As New DataColumn("custid", GetType(System.String))
            col1.AllowDBNull = False
            Dim col2 As New DataColumn("nama", GetType(System.String))
            col2.AllowDBNull = True
            Dim col3 As New DataColumn("hutang", GetType(System.Decimal))
            col3.AllowDBNull = True
            Dim col4 As New DataColumn("tgl_jatuhtempo", GetType(System.DateTime))
            col4.AllowDBNull = True
            dtHutang = Nothing
            dtHutang = New DataTable("Hutang")
            dtHutang.Columns.Add(col1)
            dtHutang.Columns.Add(col2)
            dtHutang.Columns.Add(col3)
            dtHutang.Columns.Add(col4)
            GridControl1.DataSource = Nothing
            GridControl1.DataSource = dtHutang
        End Sub


    saya terangkan contohnya untuk baris pertama :
    Dim col1 As New DataColumn("custid", GetType(System.String))

    buat colum1 dengan nama col1 dan namafile adalah custid, jika anda perhatikan custid ini sama dengan FileName yang ada di gridcolumn1 (Wajib sama ya....) dan typenya adalah String
    begitu terusnya untuk colum2 dan sampai 4
           
    col1.AllowDBNull = False
    col1 ini tidak boleh Null alias wajib diisi ....

    sekarang anda masuk ke ViewCode pada form1 kemudian isikan seperti ini :


    Public Class Form1
        Inherits System.Windows.Forms.Form
        Public con As New OleDb.OleDbConnection
        Dim dtTable As DataTable
        Dim dtHutang As DataTable
        Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Try
                TableOnTheFlay()
            Catch ex As Exception
                Exit Sub
            End Try
        End Sub

        Private Sub TableOnTheFlay()
            Dim col1 As New DataColumn("custid", GetType(System.String))
            col1.AllowDBNull = False
            Dim col2 As New DataColumn("nama", GetType(System.String))
            col2.AllowDBNull = True
            Dim col3 As New DataColumn("hutang", GetType(System.Decimal))
            col3.AllowDBNull = True
            Dim col4 As New DataColumn("tgl_jatuhtempo", GetType(System.DateTime))
            col4.AllowDBNull = True
            dtHutang = Nothing
            dtHutang = New DataTable("Hutang")
            dtHutang.Columns.Add(col1)
            dtHutang.Columns.Add(col2)
            dtHutang.Columns.Add(col3)
            dtHutang.Columns.Add(col4)
            GridControl1.DataSource = Nothing
            GridControl1.DataSource = dtHutang
        End Sub


        Private Sub SimpleButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SimpleButton1.Click
            Try
                Me.Close()
                Application.Exit()
            Catch ex As Exception
                Exit Sub
            End Try
        End Sub
    End Class


    jalankan program dengan menekan tombol F5, maka akan tampak seperti ini :




    coba anda input, kemudian tekan enter.....
    happy coding...



    Salam

    DXperience 11.2.5

    It's time to experience 11.2        


    After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the future. DXperience 11.2 is the first instance of the DXv2 wave.


    After more than 30 releases in 180 countries, the next big thing for developers is here. We call it DXv2. Continuing the bridge from your technology position to where you want to be and taking a bold step into the
    Touch-Enabled
    Bring your software to life with intelligent touch-based applications. Use your existing development skills to tap into the growing demand for stunning tablet & touch-enabled apps across all platforms, including WinForms, WPF and ASP.NET. Build for today as you begin to re-imagine business applications for the Windows 8 Metro design aesthetic. DXv2 delivers the gestures, themes, and controls to put Touch within your reach, right now.
    Visually Stunning
    Today’s customers want smart, beautiful apps in every part of their lives, from work to home. Now, with the tools from DevExpress, you can build them better than ever. Apply sophisticated themes, create your own, and even integrate your corporate brand. Incorporate elegant office-inspired or business intelligence dashboard controls into your design so your users can view and manipulate data in more insightful and compelling ways. And do it all on the platforms you know best. DXv2 delivers the tools you need to inspire and be inspired by application design.
    Productivity + Creativity
    Never sacrifice one for the other again. CodeRush helps you build and manage your complex code base allowing more time to focus on your business logic. Fewer keystrokes and clicks on the way to quickly building gorgeous, high-performance apps. The eXpressApp Framework (XAF) delivers a powerful, modular application framework that helps you bring robust enterprise applications to market, faster. These are the developer tools you expect from the company you know and trust. This is DXv2—designed to help you use your time, skills, and creativity for what truly matters.
    Your free trial of the Enterprise Subscription
    Named the Best Software Development Tool by judges at the 2011 TechEd Conference, this 30-day free trial includes over 300 individual controls, libraries, and extensions.

    Monday, November 14, 2011

    Paper Size In XtraReport DevExpress

    Bagaimana membuat ukuran kertas yang sesuai dengan kebutuhan, ini juga berkaitan dengan bagaimana membuat ukuran kertas yang di sesuaikan dengan kebutuhan program. Permasalahan ini sering muncul jika kita menggunakan printer dot matrik atau ukuran kertas yang tidak standard.

    Contoh kasus berikut adalah membuat ukuran kertas menjadi : Lebar 21.5 cm dan Tinggi 11.5. Menggunakan Windows 7,  Device and Printer



    Pilih Printer, kemudian klik tombol "Print server properties", maka akan tampak gambar berikut :


    Langkahnya sebagai berikut :
    1.  Checklist pada "Create a new form" seperti yang pada lingkaran di atas
    2.  Pada "Form name " berikan nama Custom
    3.  Pada "Units", pilih Metric, maka otomatis satuannya menjadi centimeter (cm)
    4.  Isikan di Width dengan 21.5cm
    5.  Isikan pada Height dengan 11.5cm
    6.  kemudian tekan tombol "Save Form"


    Jika program menggunakan ukuran kertas yang tidak standard, maka lakukan untuk semua client anda seperti langkah di atas. Jadikan ukuran kertas "Custom" sebagai defauld dari ukuran kertas, jika ukuran kertas di client tidak di rubah maka hasil dari print  akan mencetak sesuai dengan default printer tersebut.



    Sampai pada langkah ini, anda sudah harus memastikan defauld ukuran kertas adalah Custom untuk semua Client yang menggunakan program anda, jika tidak maka hasil cetakan tidak sesuai, ini berlaku buat XtraReport maupun Crystal Report.

    Langkah berikutnya adalah setting ukuran kertas pada XtraReport, yaitu pada properties, ini hanya pada saat membuat program saja, hasil print tetap akan mengacu pada default ukuran kertas di printer tujuan.


    hasil dari print tersebut sebagai berikut :



    Selamat mencoba.....





    Tuesday, November 1, 2011

    Export Data from GridControl DevExpress

    Bagaimana caranya jika kita ingin Export data dari GridView atau GridControl ke dalam bentuk Excel, PDF atau Text file.


    Dalam Latihan ini selain Export data ke dalam bentuk Excel, PDF dan Text file, anda juga bisa untuk melakukan Preview terlebih dahulu , dalam preview tersebut anda bisa Export ke berbagai format yang telah di sediakan.  Berikut contoh Scripts untuk Export data ke Excel :

                 Using savdlg As New SaveFileDialog
                        savdlg.Filter = "Excel Documents (*.xls)|"
                        savdlg.DefaultExt = "xls"
                        savdlg.AddExtension = True
                        If savdlg.ShowDialog() = Windows.Forms.DialogResult.OK Then
                            MsgBox(savdlg.FileName)
                            GridView1.ExportToXls(savdlg.FileName)
                            MessageBox.Show("Export Excel Success", "Export",   MessageBoxButtons.OK, MessageBoxIcon.Information)
                        End If
                    End Using


    Download
    ExportDatafromGridControl

    Create Report (Basic) With XtraReport DevExpress

    Untuk membuat report dengan XtraReport, saya akan membaginya dalam beberapa tahap dan saya menggunakan database access untuk menampilkan data ke dalam XtraReport.

    Dalam pembahasan ini, mungkin akan banyak gambar yang di tampilkan, sehingga untuk pemula yang menggunakan XtraReport bisa lebih membayangkan langkah langkah yang harus di perhatikan. Berikut tahapan dalam membuat report dengan Xtrareport.


    Basic Control
    Buatlah New Project untuk windows application sebagai latihan membuat report, kita namakan dengan XtraReportBasic, setelah terbentuk project, pada form1 lebarkan sesuai dengan keinginan anda, setelah itu masukkan control berikut kedalam form1.
    • PrintBarManager
    • PrintingSystem


    Baiklah, dalam tahap ini , control yang digunakan dalam pembuatan report hanya dua (2) seperti dalam penjelasan di atas.



    Dataset
    Dataset ini kita perlukan untuk mengambil field dalam table yang akan di tampilkan dalam report, dataset ini membantu untuk merancang tampilan di report sehingga report yang dibuat sesuai dengan keingginan kita.

    Dalam pembuatan Dataset ini tergantung dari database yang akan digunakan, setiap database mempunyai cara tersendiri untuk koneksinya dan dalam pembuatannya ada beberapa cara untuk membuat dataset, anda bisa melakukan dengan cara anda sendiri, tidak harus sama dengan artikel ini. Dalam contoh artikel ini, saya akan menggunakan database access.

    Pada Project utama, klik kanan mouse, pilih Add, kemudian component, setelah itu pilihlah Dataset, maka akan terbentuk tampilan Dataset, pada Design Dataset klik kanan mouse, kemudian pilihlah TableAdapter, seperti gambar dibawah.



    Setelah anda pilih TableAdapter, maka akan tampak seperti berikut :



    Karena kita akan menggunakan database acces, maka kita harus mengganti Data Source, klik pada tombol Change, maka akan tampak seperti berikut :


    Pilihlah Microsoft Access Database File, maka pada Data provider akan otomatis menjadi ".NET Framework Data Provider for OLEDB" , kemudian klik OK.


    Setelah memilih Data Source, kemudian klik tombol Browse... ambil database yang akan digunakan, setelah selesai, masukkan Password database jika ada, jika tidak ada maka kosongkan saja. Jika ingin mencoba apakah koneksi ke database berhasil, tekan tombol Test Connection, jika koneksi berhasil maka akan muncul Connection Successeful, klik tombol OK jika telah selesai.




    Jika telah selesai, maka anda hanya tekan tombol Next untuk berikutnya sampai pada posisi nomor 4 pada gambar diatas, pada gambar di atas saya mengambil semua data pada table sample, anda bisa membuat query tersendiri melalui Query Builder.., jika sudah selesai tekan tombol Next


    Pada "Create Method to Generate", anda bisa mengganti / merubah keterangan tersebut seperti pada gambar di atas. Jika sudah selesai tekan tombol Finish. maka akan terbentuk TableAdapter seperti pada gambar di bawah ini.


    sampai pada posisi ini, kita telah melakukan dua langkah untuk mempersiapkan pembuatan report dengan XtraReport. kita akan melangkah ke tahapan berikutnya.


    PopUpMenu In Row GridControl DevExpress

    Jika anda terbiasa dengan menggunakan ContexMenuStrip, bagaimana jika kita membuatnya dengan menggunakan PopUpMenu DevExpress, pada artikel sebelumnya yaitu Basic Control DevExpress, anda sudah diperkenalkan pada PopUpMenu.


    Sedikit mengulang saja, untuk membuat Menu pada PopUpMenu harus selalu berdampingan dengan BarManager, pertama kali anda menaruh BarManager di dalam form, maka akan terbentuk tiga(3) menu yaitu : Main Menu, Tools dan Status Bar. Anda harus menghapus semua menu tersebut jika anda tidak memerlukannya.

    Untuk PopUpMenu, anda harus menentukan terlebih dahulu posisi mouse jika di klik kanan oleh user, penentuan posisi mouse inilah yang menjadi kunci.

    GridView1.CalcHitInfo(GridControl1.PointToClient(MousePosition))

    Download
    PopUpMenuInGridControl

    ContexMenu In Row GridControl DevExpress

    Biasanya, jika kita menempatkan ContextMenuStrip di dalam GridControl, kita dapat menaruhnya di properties GridControl, tapi bagaimana jika kita ingin menempatkan ContexMenuStrip pada Row GridControl tersebut. Seperti gambar berikut :


    Kita bisa menempatkan ContexMenuStrip tersebut pada saat posisi mouse di klik kanan oleh user, sehingga keluar menu yang dibuat di ContexMenuStrip tersebut.
    Dim view As GridView = CType(sender, GridView)
    Dim hitInfo As GridHitInfo = view.CalcHitInfo(e.Point)

    If hitInfo.InRow Then
         view.FocusedRowHandle = hitInfo.RowHandle
         ContextMenuStrip1.Show(view.GridControl, e.Point)
    End If

    Anda dapat mengkombinasikan dengan keperluan atau kebutuhan program yang anda buat, semoga membantu.


    Download
    ContextMenuStripInGridControl

    QIOS DevSuite Free for Visual Studio

    QIOS DevSuite is an advanced .NET control library, that is fully integrated with Visual Studio.NET and can be used with all .NET languages, such as C#, VB.NET and C++.NET.


    QIOS DevSuite is a FREE pruduct!

    Yes, it's free! No activation and no limitations. Check our licensing policy and just register before you start.

    Advanced Controls and Great Features
    QIOS DevSuite contains more than 30 advanced controls that make it possible for you to create advanced graphical user interfaces. All controls are highly configurable and with great precision. Furthermore QIOS DevSuite contains a list of great features that make developers work so much easier.



    You can download QIOS DevSuite directly from this website. All our software is digitally signed by QIOS B.V. Do not accept or install any packages without our digital signature.


    By downloading and using the software from this website, you agree to the terms and conditions of the End User License Agreement (EULA). If you do not agree with such terms and conditions do not download or use the software.
    By downloading, I agree with the terms and conditions of the EULA
    QIOS DevSuite 4.0.0.20 (2011-05-17)

    This version is built on Microsoft .NET 2.0

    • Qios.DevSuite.Components.dll
    • Sample Projects (Visual Studio 2005)
    • Microsoft Help File
    • Visual Studio Integration (Visual Studio 2005, 2008 and 2010)
    • Can be Side-By-Side installed with versions 1.X, 2.X and 3.X



    QIOS DevSuite 3.0.0.20 (2009-07-20)

    This version is built on Microsoft .NET 1.1

    • Qios.DevSuite.Components.dll
    • Sample Projects (Visual Studio 2003)
    • Microsoft Help File
    • Visual Studio Integration (Visual Studio 2003, 2005 and 2008)
    • Visual Studio Integrated Help
    QIOS Website

    Search This Blog