Selamat Datang di SFX Community
Peraturan SFX Community :
1. Dilarang berkomentar dengan menghina SARA(Suku,Agama,Ras, Antar Golongan)
2. Silahkan download link yang tertera di postingan website ini
3. Bantu dengan donasi klik anda dengan cara mengklik iklan disamping kiri atau dibawah judul postingan
4. Software yang kami berikan tidak bertanggung jawab atas pemakaian diluar batas
5. Serial Number, Aktifasi Kunci software yang sudah kadarluwarsa harap diberi tahu agar dapat diupdate
6. Kami sedang membangun website tutorial, belanja, pemesanan DVD
7. Tolong anda sebagai pengujung website kami dengan klik iklan kami

Terima Kasih sudah membaca peraturan SFX Community


Thursday, November 21, 2013

Cara Membuat Directory Tree(DirTree) VB6

Cheat FREE

Tanpa Basa-Basi silahkan sedot source codenya.
Bagi ingin dapet update terbaru silahkan contact :
kykikyoshite@gmail.com


  Private Type BrowseInfo
        hWndOwner As Long
        pIDLRoot As Long
        pszDisplayName As Long
        lpszTitle As Long
        ulFlags As Long
        lpfnCallback As Long
        lParam As Long
        iImage As Long
    End Type
    Const BIF_RETURNONLYFSDIRS = 1
    Const MAX_PATH = 260
    Private Declare Sub CoTaskMemFree Lib "ole32.dll" (ByVal hMem As Long)
    Private Declare Function lstrcat Lib "kernel32" Alias "lstrcatA" (ByVal lpString1 As String, ByVal lpString2 As String) As Long
    Private Declare Function SHBrowseForFolder Lib "shell32" (lpbi As BrowseInfo) As Long
    Private Declare Function SHGetPathFromIDList Lib "shell32" (ByVal pidList As Long, ByVal lpBuffer As String) As Long
    Private Sub Command1_Click()
        'KPD-Team 1998
        'URL: [url]http://www.allapi.net/[/url]
        'KPDTeam@Allapi.net
        Dim iNull As Integer, lpIDList As Long, lResult As Long
        Dim sPath As String, udtBI As BrowseInfo
    
        With udtBI
            'Set the owner window
            .hWndOwner = Me.hWnd
            'lstrcat appends the two strings and returns the memory address
            .lpszTitle = lstrcat("C:\", "")
            'Return only if the user selected a directory
            .ulFlags = BIF_RETURNONLYFSDIRS
        End With
    
        'Show the 'Browse for folder' dialog
        lpIDList = SHBrowseForFolder(udtBI)
        If lpIDList Then
            sPath = String$(MAX_PATH, 0)
            'Get the path from the IDList
            SHGetPathFromIDList lpIDList, sPath
            'free the block of memory
            CoTaskMemFree lpIDList
            iNull = InStr(sPath, vbNullChar)
            If iNull Then
                sPath = Left$(sPath, iNull - 1)
            End If
        End If
   
    End Sub

Thank's for reading the articelCara Membuat Directory Tree(DirTree) VB6 .If You want to copy paste your website please tag my link Cara Membuat Directory Tree(DirTree) VB6 Intro My Website.

0 comments:

Post a Comment