I have created a class based on a couple of 3rd Party ActiveX controls purchased from
www.mabry.com for selecting folders/files for import into my app. The class is instantiated at startup and I call the hide and show methods to hide and show the form class as necessary.
In the code used for importing the files, I change some of the properties of oPickFile - then I show the oFilePick form class. What I'd like to do is pause execution of the rest of the import routine until the user actually selects a file for import - or cancels the import.
***************************
oFilePick.Caption = "Please select the Switch Report to import"
oFilePick.cmdSelect.Caption = "\
oFilePick.Show()
** I'd like to pause things at this point.
DO CASE . . . .
**************************
Any ideas as to how I could go about suspending execution of the program until the user selects a file or cancels the import from the oFilePick form class? I had a look at SUSPEND and RESUME and I'm not sure if it would be appropriate to use these commands - or even how I would use them in this cicrumstance.
Al Williams
Anola MB, CANADA