PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 26 → File Picker in Webdev
File Picker in Webdev
Débuté par Ruan, 31 aoû. 2021 11:59 - 3 réponses
Membre enregistré
192 messages
Popularité : +1 (1 vote)
Posté le 31 août 2021 - 11:59
Good Day

Is there a way to have a file picker in Webdev? I want to click a button and it must give me an option to select a file on a location on my PC and return that to my Edit Box. I cannot see any function like that.

Regards

Ruan
Membre enregistré
15 messages
Posté le 31 août 2021 - 15:31
Hi Ruan,

You can use the smartcontrol "Drop Files Here" (Creation / Smart controls / Form)

Regards Henk
Membre enregistré
192 messages
Popularité : +1 (1 vote)
Posté le 01 septembre 2021 - 09:50
Henk Ouwejan wrote:
Hi Ruan,

You can use the smartcontrol "Drop Files Here" (Creation / Smart controls / Form)

Regards Henk


Hi Henk

Wil this return the file path?

Thanks
Membre enregistré
192 messages
Popularité : +1 (1 vote)
Posté le 10 septembre 2021 - 14:08
Hi Henk

I tested the control and it does find the file. I cannot extract the file path tough. That is the problem I am currently sitting with. I need the path because I am pulling the data from the file into my table. It cannot do because it cannot find the file unless i copy and paste the file location in a EDT control. I simply want to select the file and run the procedure.

Thanks

Ruan