PC Access V 3.3.0.551

pete_c

Guru
A couple of nuances I've noticed with PCAccess

1 - If I go to open previous file it always opens the one before the last one.

2 - It always opens up in local HAI directory. IE: C:\My Documents\HAI\PC Access and never to the one that I used last.
 
Are you saying that when you select "File > Reopen > Some file" it actually opens the next file in the list? I am unable to duplicate this and looking at the code I don't see how this can happen. Can you explain further?

Item 2, the default folder when you click "File > Open" is always the default account file folder.

This is how it works:

When you open a file, it is automatically added to the beginning of the MRU list then continues down the list and removes any duplicates. The entire path is stored, not just the name.

When you reopen a file by clicking on it in the MRU list it calls an event handler and passes the item you clicked on. the event handler is not aware of any other items and simply tries to open the fill it was passed. If the open fails, the file is assumed to have been deleted or moved, so it is deleted from the MRU list and the default File Open dialog is displayed.

If you have enabled "Options > General > Open Last Account file on Startup" then PCA3 tries to open the first file in the MRU list. It does this by calling the same event handler mentioned above...

NOTE: A problem that I have recently become aware of in Windows 7 is that sometimes the account file fails to open on the first attempt when it is on a network drive. I am running Win 7 at home and all my files (and my profile) are stored on my server. If I boot up or wake up the system then launch PCA3 the "Open Last Account File on Startup" (my default at home) fails about 90% of the time. If I browse to a network share first then launch PCA3 it seems to open the last file 100% of the time. I am looking into this...
 
Back
Top