CommonDialog in VB6.0 with Windows 7 RRS feed

  • Question

  • When using the CommonDialog control, to open files the program EXE is being locked and the file cannot be moved, deleted, or changed once the program has been closed. Trying to relaunch the program also results in an error. The only way to relaunch the program is the restart the machine. This only happens in Windows 7 but I cannot find anyone else that has experienced a similar problem.

    The code is fairly old, still using the Action Property of the CommonDialog but even switching to use the newer ShowOpen method does not fix this. It does not mater if I actually open a file or not. Even selecting Cancel on the screen will still cause the EXE to be locked.
    • Moved by Martin_XieModerator Friday, March 5, 2010 7:11 AM Redirect to related VB6 forum for better responses. (From:Visual Basic IDE)
    Friday, February 26, 2010 8:03 PM

All replies