Restored from previous forum. Originally posted by Fangbeast.
if I use the following compound statement and I don't load the default file, is there any way to retrieve the filename loaded??
If ReadFile(0, OpenFileRequester("Load Data File", "C:\Home Inventory\Data\Inventory.in3", "Inventory Load File | *.in3", 0))
Fangles
Compund open statement
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Fangbeast.
By the way, did you ever get my email? Not that it matters, PB solved my problem but I was just curious.
Fangles
I know that's the easiest way but the compound statement is more elegant (grin). Oh well, might bite the bullet and reverse engineer some of my code to do it the longer way.Hi,
Easiest way should be to make something like :
FileName = OpenFileRequester ...
if ReadFile(....
Otherwise you will have some difficulties to now what FileName was !
Francois Weil
14, rue Douer
F64100 Bayonne
By the way, did you ever get my email? Not that it matters, PB solved my problem but I was just curious.
Fangles
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fweil.
I did not receive anything from you ...
Did you use [url]mailto:fw@nasca.fr[/url] ?
Francois Weil
14, rue Douer
F64100 Bayonne
I did not receive anything from you ...
Did you use [url]mailto:fw@nasca.fr[/url] ?
Francois Weil
14, rue Douer
F64100 Bayonne
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by Fangbeast.
Fangles
Yes, I sure did. Just checked my sent mailbox to see if that was right and it was. Oh well.I did not receive anything from you ...
Did you use [url]mailto:fw@nasca.fr[/url] ?
Francois Weil
14, rue Douer
F64100 Bayonne
Fangles