Trouble with FF_OpenFileDialog

Started by Sean Scott, February 21, 2010, 08:43:32 PM

Previous topic - Next topic

Sean Scott

I am using FF_OpenFileDialog to open a file open dialog. The first time I run it, the dialog opens, but if I run the code again, it doesn't--although I have proven that the code is running. Here is what I am calling:

  iResult = FF_OpenFileDialog( gHwndForm, _
                    "Open QuikChart File", _
                    sFileName, _
                    sFilePath, _
                    "Data files (*.qcd, *.txt)|*.qcd;*.txt|All Files (*.*)|*.*", _
                    "*.qcd", _
                    %OFN_LONGNAMES, _
                    %TRUE )

I assume I am not cleaning something up properly, but I haven't been able to figure out what yet.

Sean


Sean Scott

I figured out that the second time I made the call the path I was passing was not valid.