English
Regulars table & Café

SearchTreeForFile.

 


Description:

SearchTreeForFile search a directory and any Unterverzeichnisse to the angegebenen File.




Deklaration:

DEF SearchTreeForFile(3) !imagehlp,SearchTreeForFile




Parameter:

1.Parameter: address one Strings or Memory-Variable with a String, the the To durchsuchende directory contains.
2.Parameter: address one Strings or Memory-Variable with a String, the The To seeking File contains.
3.Parameter: Memory-Variable, The The found File with the way as String aufnimmt.



Return Value:

watts a File found 1, otherwise 0.


Examples:

DEF SearchTreeForFile(3) !"imagehlp","SearchTreeForFile"
Declare File$,ROOT$,BUFFER#,Rückgabe&,Search&

PROC Filesuche

    DIM BUFFER#,261
    Clear Buffer#
    LET ROOT$="C:"
    LET FILE$=@input$("Hier whom names the File prompt:","Suche on drive C:","WORDPAD.EXE")
    USECURSOR 2
    LET Rückgabe&=@SearchTreeForFile(@ADDR(ROOT$),@ADDR(File$),BUFFER#)
    PRINT @STRING$(BUFFER#,0)
    Dispose Buffer#
    USECURSOR 0
    CASE RÜckgabe&=0 : @Messagebox("File watts on drive "+Root$+" not found!","Tough had!",64)

Endproc

Windowstyle 31
Windowtitle "Pfad to File absuchen"
Window 0,0-640,440
LET SEARCH&=@Createbutton(%HWND,"Datei suchen",20,300,200,30)

WHILE 0=0

    Waitinput

    IF @GetFocus(Search&)

        Filesuche

    Endif

WEND

 
03/27/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.799 Views

Untitledvor 0 min.
Bert Lehnhoff07/22/11

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