GetWorkFileName (works also on a intranet...)

Share your advanced PureBasic knowledge/code with the community.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Franco.

As the Topic said: works also on a intranet...

Code: Select all

; (c) 2002 - Franco's template - absolutely freeware
;
; GetWorkFileName(Title$, DefaultFile$, Pattern$, PatternPosition)
; Usage like PureBasic's OpenFileRequester command
;
; You can attach a file name as parameter on your application and it will get it for further use.
; You can also (and that is the good thing about that) tell Windows use the files with this 
; extension with your program. 
; After this 'Windows setting' double click on the file, and your application will start and use it!
; If the file is not found you get an OpenFileRequester...
;
; On a intranet you get from the OS the command line:
; F:\application.exe "C:\Program Files\test.txt"         Sorry there was a mistake, use this version 

Edited by - franco on 26 April 2002  23:35:45
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

Thx, Franco, nice clue :)

Bye,

El_Choni
Post Reply