Based on my googling, I don't think this is going to work for files, despite the appearance that &4000 shows files too. I was able to select a zip file too, likely because windows treats those as archive folders, but was not able to select any other type of file.
Registered: 2005-05-09
Posts: 43
Loc: Jersey Shore USA
Thanx...
It is really weird because I originally tested it with a file that was named "ThisFile.PDF" but was in reality "ThisFile.ZIP". Thus I thought all was well.
The original objective is to use a GUI to select a password protected ZIP file and to then use a library of known passwords. Then extract the files and note the successful password.
That all works.
However I wanted to expand its scope to other Archive Files types and to use UNRAR.EXE and 7za.exe to do likewise with password protected RAR and 7zip files.
That's when I realized when I chose them, I was getting a NULL String.
Any other ideas for a GUI based file selection ? [ not KiXforms ]
Registered: 2005-05-09
Posts: 43
Loc: Jersey Shore USA
I found a solution. It just needs some tweaking. such as the default text in the dialogue "Choose File to Upload"
The only problem is this Forum software is interpreting the script even though it is in Code Tags. therefore I have attached the SelectFile( ) function in the attached KiX Script.
(edit: removed code, causing issues with forums, see next post for code)
Yep, seems to be broken here. Works on the UBBCentral main site as they have the latest version but it has word wrap enabled in code tags. I've asked if it's possible to disable the word wrap from within the software vs an external css or other config file.