Does anyone know how to close a form when a directory opens?
I'll explain: i have created a very small app that basically opens a folder. Sounds simple and is easy to use, but the folder/directory opened is all based on user input, and this code the user enters determines where the folder is and on which server and so on....
Basically, it can take a while for the app to find and open the folder. I don't want the form to close until the directory has opened as i am displaying a 'loading...' message on the form. I was hoping it would be as simple as ... If directory.open(foldername) then me.close() .... but nope!
Does anyone know how to do this please?
Thanks
I'll explain: i have created a very small app that basically opens a folder. Sounds simple and is easy to use, but the folder/directory opened is all based on user input, and this code the user enters determines where the folder is and on which server and so on....
Basically, it can take a while for the app to find and open the folder. I don't want the form to close until the directory has opened as i am displaying a 'loading...' message on the form. I was hoping it would be as simple as ... If directory.open(foldername) then me.close() .... but nope!
Does anyone know how to do this please?
Thanks