Friday, July 19, 2013

VB6 Code: Membuat DWord dari HiWord + LoWord

Posting ini diambil dari Microsoft KB mengenai cara membuat fungsi return DWord dengan menggabungkan HiWord dan LoWord. Adapun fungsi yang dimaksud adalah sebagai berikut: Function MakeDWord(LoWord As Integer, HiWord As Integer) As Long MakeDWord...
READ MORE - VB6 Code: Membuat DWord dari HiWord + LoWord

Monday, July 15, 2013

VB6 DataGrid: Multiple Delete (Del Key)

Option Explicit Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long) '------------------------------------------------------------------------------- 'http://khoiriyyah.blogspot.com '-------------------------------------------------------------------------------...
READ MORE - VB6 DataGrid: Multiple Delete (Del Key)

VB6 DataGrid: Multiple Selection (Left Mouse Down + SHIFT)

Option Explicit Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As Integer Private Const VK_SHIFT = &H10 Private LastRow As Long Private SelectionCount As Long '-------------------------------------------------------------------------------...
READ MORE - VB6 DataGrid: Multiple Selection (Left Mouse Down + SHIFT)

Sunday, July 14, 2013

VB6 DataGrid: Multiple Selection (Mouse Down + Mouse Move)

Option Explicit Private Declare Function ReleaseCapture Lib "user32.dll" () As Long Private Declare Function SetCapture Lib "user32.dll" (ByVal hwnd As Long) As Long '------------------------------------------------------------------------------- 'http://khoiriyyah.blogspot.com...
READ MORE - VB6 DataGrid: Multiple Selection (Mouse Down + Mouse Move)