PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 26 → File Picker in Webdev
File Picker in Webdev
Iniciado por Ruan, ago., 31 2021 11:59 AM - 3 respostas
Membro registado
192 mensagems
Popularité : +1 (1 vote)
Publicado em agosto, 31 2021 - 11:59 AM
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
Membro registado
15 mensagems
Publicado em agosto, 31 2021 - 3:31 PM
Hi Ruan,

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

Regards Henk
Membro registado
192 mensagems
Popularité : +1 (1 vote)
Publicado em setembro, 01 2021 - 9:50 AM
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
Membro registado
192 mensagems
Popularité : +1 (1 vote)
Publicado em setembro, 10 2021 - 2:08 PM
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