Blog

What are shortcuts for expand / collapse all regions in Visual Studio? 

Wednesday, April 20, 2011 11:02:00 AM Categories: Shortcuts Visual Studio

I like short cuts.  Here is a nice one I found while searching how to expand regions in Visual Studio.

What are shortcuts for expand / collapse all regions in Visual Studio?

Regions in code break up  a code and make it easy to look thru.

CTRL+M CTRL+M (that's two key presses!) - collapse/open the current parent region

CTRL+M CTRL+L - Collapse/Open all regions in document recursively (meaning you might get only one line in the document - one big namespace region which is collapsed or you'll see the entire page code uncollapsed

CTRL+M CTRL+O - Collapse all regions not recursively

Source: http://www.karpach.com/Shortcuts-expand-collapse-regions-Visual-Studio.htm

The NAV Zup File 

Thursday, April 07, 2011 10:42:00 AM Categories: Microsoft Dynamics NAV

This is a repost of a good tip with the NAV Zup File.  This is a good solution to a problem that happens all the time.

The “Zup” File

When working with one of my clients that had “corrupted” his customer setting, we came across a solution that allowed him to avoid having to reset (delete) the “zup” file and lose all of his prior setup user preferences, which he had been developing over the past few months.

What happened was that he had put a filter on a form that made it impossible to reopen the form. Since the “zup” file gets updated when you close your NAVISION client, the solution was to keep the current (corrupted) NAV client open and then open a new NAV client, that opens with the prior user settings (since the zup file had not been updated yet).

The next step is to close the “corrupted” client (which will update your zup file), and right after that you close the second NAV client (the good one).

When you do that it will ask you “if you want to SAVE the zup file”. You should answer “YES” to that question, because then you will update the “zup” file with the good setting and override the bad setting previously saved when you closed the first client.

Source: http://www.inecta.com/blog/index.php/nav/the-zup-file