Skip to main content

[Migrated content. Thread originally posted on 12 April 2006]

Is it possible to select multiple files with C$OPENSAVEBOX? If yes, could someone please post some code?

I tried to use the dialog in comdlg32.dll but as I want it to work with thin-client (I want to call it with @[DISPLAY]:) I'm at a loss as how to convert the pointers in the structure it uses. Anyone has got an idea or example?

[Migrated content. Thread originally posted on 12 April 2006]

Is it possible to select multiple files with C$OPENSAVEBOX? If yes, could someone please post some code?

I tried to use the dialog in comdlg32.dll but as I want it to work with thin-client (I want to call it with @[DISPLAY]:) I'm at a loss as how to convert the pointers in the structure it uses. Anyone has got an idea or example?
Have a look at the documentation on OPNSAV-FILTERS?

Seperate the files you want with a | inside quotes.
"ABC files |*.abc | DEF files | *.def"

[Migrated content. Thread originally posted on 12 April 2006]

Is it possible to select multiple files with C$OPENSAVEBOX? If yes, could someone please post some code?

I tried to use the dialog in comdlg32.dll but as I want it to work with thin-client (I want to call it with @[DISPLAY]:) I'm at a loss as how to convert the pointers in the structure it uses. Anyone has got an idea or example?
Sorry, but that's not what I'm searching for. I want the call to return more than 1 file. For that, the user has to be able to select more than 1 file in the dialogbox. Filters don't cover that.

[Migrated content. Thread originally posted on 12 April 2006]

Is it possible to select multiple files with C$OPENSAVEBOX? If yes, could someone please post some code?

I tried to use the dialog in comdlg32.dll but as I want it to work with thin-client (I want to call it with @[DISPLAY]:) I'm at a loss as how to convert the pointers in the structure it uses. Anyone has got an idea or example?
I've found a solution and have included the code I used. Note that it's not a working example, but it should get you going...