Hi Leandro,
I agree with you,
there are 2 ways, one using the the Wapi_Shellexecute() function,
including the hbwin, and, the other, calling directly the application
specifying the path. The functions works both and the problems are
solved. It just that I want to explore if can be found some QT method
to do it, like using Qprocess, to invoke the opening of the associated
file, if that kind of method exist.
1. oItem11 : connect ( " triggered ( bool )", { ||
Wapi_ShellExecute( NIL, "open", "file.pdf" ) } )
2. oItem11 : connect ( " triggered ( bool )", { ||
oQproc:startDetached ( 'c:\"Program Files"\Adobe\"Reader 10.0"\Reader
\AcroRd32.exe file.pdf' ) } )
Thanks for answer
Zoran