I am sure you are familiar with the following KB article:
I believe you are encountering a limitation discussed briefly in the article above:
"NOTE: This issue has been addressed in PI ProcessBook 2015 R2. The Browser and Playback toolbars now remember if they are hidden and where they are docked (top, bottom, left, or right) however, due to a limitation in the libraries used to develop these toolbars, exact positions cannot be remembered."
Currently, only the toolbar type and it's relative location (top, bottom, left, or right) are saved. I do not believe this is slated to be fixed in a future release.
I knew that KB article. Is the fixing only for Browser and Playback toolbar? I want to hide Layout, Symbolformatting, VBA and Fullscreen toolbar, and arrange tool bar like this:
But everytime when I reopen my .piw file, the toolbar is back to the original like this:
ProcessBook seems OK for remembering toolbar settings.
I just tested this on my local machine and it appears to save/load the toolbar settings as intended while opening a file using pbshell.exe. I have tested this using both .piw and .pdi files with similar results. ProcessBook.exe and pbshell.exe should remember which toolbars are hidden/visible but they will not remember the exact location of the toolbars. This should apply to all toolbars and not only Playback and Browser.
In the past toolbar issues could be resolved by closing ProcessBook, renaming the toolbar configuration file, and then re-opening ProcessBook. I doubt this would work in your case because ProcessBook seems to be remembering the toolbar settings when opening a file within the application, but it wouldn't hurt. I can chat with a ProcessBook product specialist to see if they've encountered this issue before.
Many thanks for your reply. I tried to rename "PBToolbarConfig.ini", still got the same results:
1. Open .PIW file using pbshell.exe (double click .PIW file), give me the original toolbar arrangement.
2. Open ProcessBook from start menu, I got the right toolbar arrangement.
One thing I noticed is that when I first ran ProcessBook, then double-clicked my .PIW file, its toolbar arrangement was right, the same as ProcessBook toolbar arrangement. I guess that you got the right arrangement just because you didn't close ProcessBook before you double-clicked .PIW or .PDI file. Could you try to close all PI applications, then run your .PIW file?