English
Regulars table & Café

FindExecutable.

 


Description:

FindExecutable supply to a Filenames The EXE back, with the The angegebene File with one Double click in the Explorer launched go would.




Deklaration:

Def @FindExecutable(3) !SHELL32,FindExecutableA




Parameter:

1.Parameter: address one Strings or Memory-Variable with a String, the whom names the File contains. here hann too a way+Dateiname combination indicated go
2.Parameter: address one Strings or Memory-Variable with a String, the whom way the File contains. this Parameter can 0 his.
3.Parameter: Memory-Variable, whom whom names the EXE aufnimmt.



Return Value:

The Return Value is larger as 32, if The function successful completed watts. appear one worth under 33, entered Error on.


Examples:

CompileMarkSeparation
Def @FindExecutable(3) !"SHELL32","FindExecutableA"
declare File$,EXE#,SPFAD$
Windowstyle 31
Windowtitle "EXE zu einem Dateinamen finden"
Window 0,0-640,440
LET File$=@INPUT$("Hier den Namen einer Datei eingeben","Dokument?",@FindFirst$("*.TXT"))
DIM EXE#,261
LET SPFAD$="C:WINDOWS"
@FindExecutable(@ADDR(File$),0,EXE#)
Print @STRING$(EXE#,0)
Dispose EXE#

While 0=0

    Waitinput

WEND

 
04/02/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.793 Views

Untitledvor 0 min.
AndreasS01/06/19
Jörg Sellmeyer11/07/11
Dieter Zornow10/28/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