Hi,
Do You know how to check if a file is already opened in external application. F.ex. I want to use csv file but it is opened in excel and after attempt to open it in b4j I get errors.
Hi,
Do You know how to check if a file is already opened in external application. F.ex. I want to use csv file but it is opened in excel and after attempt to open it in b4j I get errors.
This is something that javafx wont be able to detect. It happens at OS level. You sould try calling an external exe with jshell such as this one http://www.nirsoft.net/utils/opened_files_view.html with the /FileFilter switch.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.