English
Source / code snippets

Choosedir Ordner Ordnererstellung

 

CompileMarkSeparation
Source wurde am 15.07.2007 aus der MMJ-Quellcodesammlung (Dietmar Horn) in die Babyklappe auf XProfan.Com abgelegt:
Ordner: ChooseDir mit Ordnererstellung
DEF SHBrowseForFolder(1)   ! Shell32,SHBrowseForFolder
DEF SHGetPathFromIDList(2) !Shell32,SHGetPathFromIDListA
DEF &BIF_EDITBOX $10
DEF &BIF_BROWSEFORCOMPUTER $1000
DEF &BIF_BROWSEFORPRINTER $2000
DEF &BIF_BROWSEINCLUDEFILES $4000
DEF &BIF_BROWSEINCLUDEURLS&80
DEF &BIF_DONTGOBELOWDOMAIN $2
DEF &BIF_NEWDIALOGSTYLE $40
DEF &BIF_RETURNFSANCESTORS $8
DEF &BIF_RETURNONLYFSDIRS &1
DEF &BIF_SHAREABLE &8000
DEF &BIF_STATUSTEXT $4
DEF &BIF_USENEWUI $40
DEF &BIF_VALIDATE $20
Declare BrowseStyle&
BrowseStyle& = OR(OR(OR(OR(&BIF_RETURNONLYFSDIRS,&BIF_STATUSTEXT),&BIF_EDITBOX),&BIF_BROWSEINCLUDEFILES),&BIF_USENEWUI)
Declare Title$
Title$ = Wähle:
Declare ReturnBuffer#,pidl&
Dim ReturnBuffer#,260
Declare BROWSEINFO#
Dim BrowseInfo#,32
Long BROWSEINFO#,0=%hwnd
Long BROWSEINFO#,4=0
Long BROWSEINFO#,8=ReturnBuffer#
Long BROWSEINFO#,12=Addr(Title$)
Long BROWSEINFO#,16=BrowseStyle&
Long BROWSEINFO#,20=0
Long BROWSEINFO#,24=0
Long BROWSEINFO#,28=0
CLS
pidl& = SHBrowseForFolder(BROWSEINFO#)

If Neq(SHGetPathFromIDList(pidl&,ReturnBuffer#),0)

    Print String$(ReturnBuffer#,0)

Else

    Print

EndIf

Waitinput
Dispose ReturnBuffer#
Dispose BROWSEINFO#
End
 
07/16/07  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.429 Views

Untitledvor 0 min.
H.Brill02/22/22
ByteAttack08/21/17
Torben Nissen01/24/15
Profanet03/31/14
More...

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie