Double-clicking a FlexPro database in Windows Explorer leads to an error message

SupportCommunity General Double-clicking a FlexPro database in Windows Explorer leads to an error message

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12709
    Richard WeisangRichard Weisang
    Verwalter

    When I double click on a database without FlexPro running in the background, I get the following error message after the database is opened: “Cannot find the file ‘path to database’ (or one of its components). Make sure the path and filename are correct and that all required libraries are available.” When I click OK, the database is open and everything is fine. If I open the same database by launching FlexPro and then opening the database, I do not get any error at all.
    What is the reason for this behavior?

    #8372
    Richard WeisangRichard Weisang
    Verwalter

    When I double click on a database without FlexPro running in the background, I get the following error message after the database is opened: “Cannot find the file ‘path to database’ (or one of its components). Make sure the path and filename are correct and that all required libraries are available.” When I click OK, the database is open and everything is fine. If I open the same database by launching FlexPro and then opening the database, I do not get any error at all.
    What is the reason for this behavior?

    #9162
    Bernhard KantzBernhard Kantz
    Moderator

    This is a known problem, that seems to happen on some – slower – machines.
    When double-clicking a file in Windows Explorer the registered executable for this file format is identified. Then there are three possibilities:

    1. The found executable is already running and supports DDE communication: In this case Windows Explorer sends an open-command via DDE to the application.
    2. The found executable is not running but supports DDE communication: Windows Explorer starts the executable, waits until it thinks the program should be running and then sends the open-command via DDE.
    3. The found executable does not support DDE communication: In this case the program is started and the database that should be open is given as a command line agument.

    Under the conditions given above the system will end up in case 2. Starting up FlexPro can take a while and while this is happening it can not react on DDE commands. When Windows Explorer sends the DDE command it will get no answer, assumes an error and issues the error message given above. This message can be ignored, but there is also a ways to get rid of it:

    1. Start Windows Explorer
    2. Execute the ‘Folder options’ command in the ‘Tools’ menu.
    3. Switch to the ‘File types’ property page.
    4. Select the entry for the FPD extension in the shown file type list.
    5. Click the ‘Advanced’ button and the ‘Edit File Type’ dialog box is displayed.
    6. Select the ‘open’-command from the list and edit it by clicking at ‘Edit’.
    7. Remove the check from the ‘Use DDE’

    When disabling DDE you should consider that only one instance of FlexPro can be run at a time. This means if FlexPro is already open and you double-click a database in Explorer nothing will happen.

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.