1. Munther Khatib
  2. PowerBuilder
  3. Saturday, 19 December 2020 01:59 AM UTC

Hi

 

I have a PB 2019 installed in Windows 10 machine.

 

I was following a training tutorial and one of the tasks was moving system tree and bars, etc which ended up completely changing the initial default PB workspace screen with all the toolbars.

Is the configuration somehow stored in some file that I can copy from another machine to this machine to restore the default setup?

 

I did not want to uninstall and reinstall PB for this.

 

Thanks,

 

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Saturday, 19 December 2020 05:07 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Munther;

   Try this procedure to correct the IDE toolbars ....

  1. Start the PB IDE
  2. Navigate to the System options dialogue (menu: Tools => System options)
  3. In the General tab of the System Options dialogue, that note of the "initialization path".
  4. Close the PB IDE.
  5. Open that path from step #3 in the MS-Windows File Explorer utility.
  6. Locate and open the PB.ini from that folder in Notepad
  7. Locate the "Dock=" parameter in the INI file
  8. Replace the entire "Dock=" parameter with the following values ...
  9. Dock=1 2001 0 1 28 73 0 0 320 169 2003 0 1 28 27 0 0 320 169 2002 3 1 18 100 0 0 320 169
  10. Save the PB.ini changes and then exit the Notepad utility
  11. Restart the PB IDE

HTH

Regards ...Chris

 

 

Comment
There are no comments made yet.
Glenn Barber Accepted Answer Pending Moderation
  1. Monday, 1 July 2024 22:58 PM UTC
  2. PowerBuilder
  3. # 1

This just happened to me and very happy I found this thread..

Strange the view > layouts > default didnt restore the desktop

Comment
There are no comments made yet.
Munther Khatib Accepted Answer Pending Moderation
  1. Tuesday, 22 December 2020 02:43 AM UTC
  2. PowerBuilder
  3. # 2

Hi chris,

 

Yes - excellent answer.

 

I copied the dock value from another clean machine and it had this value set

 

Dock=1 2001 0 1 25 68 0 0 213 109 2003 0 1 25 32 0 0 213 109

 

it worked fine. Not sure why it is different that the one you posted.

 

Munther

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 22 December 2020 03:17 AM UTC
Hi Munther;

That is great news!

Yes, your "Dock=" values could reflect your other machines layout. Either way, it would bring you back to something that would be manageable to restart your IDE layout. ;-)

Regards ... Chris
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 22 December 2020 03:23 AM UTC
Thanks for sharing the solution!
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 22 December 2020 14:39 PM UTC
Hi Everyone;

Also, here is a Tip that I do everytime that I install a new release of PB. I use the procedure I describe above to make a copy of the "DOCK=nnn" in the PB.ini right away and then just paste it back into the INI as a comment. Then when you get into trouble like Munther did, just replace the active DOCK= with your commented version and voilà, you're back in business! ;-)

Regards ... Chris
  1. Helpful 1
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.