Hi Experts,
I'm using a common dialog control to get a filename from the user.
The code and all other properties for the control work fine except fot the FileName property.
When I select dlgopen.FileName from the drop down menu, VB changes it to dlgopen.filename. Clearly, there is a problem here. As a result, when I create an EXE and run it, I get a runtime error on that line and the application terminates.
Please advise on what I need to do to get around this problem.
Thank you.
I'm using a common dialog control to get a filename from the user.
The code and all other properties for the control work fine except fot the FileName property.
When I select dlgopen.FileName from the drop down menu, VB changes it to dlgopen.filename. Clearly, there is a problem here. As a result, when I create an EXE and run it, I get a runtime error on that line and the application terminates.
Please advise on what I need to do to get around this problem.
Thank you.