Stop Visual Studio from launching a new browser window when starting debug?

[Origin]: https://stackoverflow.com/questions/716494/stop-visual-studio-from-launching-a-new-browser-window-when-starting-debug

I already have a window open with the web site I’m debugging. I don’t need VS to launch another one for me every time I need to debug.

Is there a way to stop this behavior?

shareedit

Open your startup project’s properties (Project->{ProjectName} Properties… from the main menu or right click your project in the Solution Explorer and choose Properties), then navigate to the Webtab and under Start Action choose Don’t open a page. Wait for a request from an external application.

You will still be able to use any browser (or Fiddler, whatever) to access the running application, but it won’t open the browser window automatically, it’ll just start in the background and wait for any requests.

shareedit
Advertisements

Running two projects at once in Visual Studio

[Origin]: https://stackoverflow.com/questions/3850019/running-two-projects-at-once-in-visual-studio

I created a solution in Visual C# 2010 Express that contains two projects: one is the client, the other is the server. I would like to debug both at the same time, but I can only seem to run one of the projects during debugging.

Is there a way to run both at once?

shareedit

Go to Solution properties -> Common properties -> Startup Project and select Multiple startup projects.

solution properties dialog

shareedit

Max has the best solution for when you always want to start both projects, but you can also right click a project and choose Debug > Start New Instance.

This is an option when you only occasionally need to start the second project or when you need to delay the start of the second project (maybe the server needs to get up and running before the client tries to connect, or something).

shareedit

Fix Office Outlook 2013 slow and laggy

[Origin]: https://www.opsactive.com/fix-office-outlook-2013-slow-and-laggy/

 MICHAEL HOW TO GUIDES OFFICE 365

After upgrading to Outlook 2013 I noticed that the performance was incredibly slow when switching between Mail, Contacts and Calendar,  there would often be a several second delay before the screen changed. When searching for Contacts it could take 15 seconds to return the results. Now I’m not one to complain (too much) but if my local PC a quad core beast was taking 15 seconds to return results from a couple of hundred contacts, how can Google return 53,000,000 results when searching for the same contact? Anyway after a couple of months worth of persevering I decided to look for a solution which turns out to be graphics related.

UPDATE – 28/05/2013!!!

The original fix required playing in the registry. If you manage multiple systems via AD then you can still use that on a global scale but if its only 1 or 2 computers then this option may be quicker! Thanks to Kurt Conway for pointing this out in the comments. There may be a group policy available for this but demand has not been that great, I will see if I can load the new policies up and check but in the meantime you can try this.

Open Outlook, Click File (top left), Then Options. Now click on advanced and scroll down to where you see “Disable hardware graphic acceleration” – Simply place a tick in the box, restart Outlook and it should be a lot faster.

Disable Hardware Acceleration

Or if you like doing things the long way –

ORIGINAL FIX

This is the fix for my machine which is Windows 8, I’m sure Windows 7 will be similar if not identical.

Step 1 – open your registry. Press the windows key and type “Regedit” then press enter or click the Regedit icon, windows 7 users you can type Regedit in your start bar.

Regedit win 7 8

 

Step 2 – Browse to: COMPUTER \ HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 15.0 \ Common\ Graphics. If you don not have a “Graphics” right click on “Common” and choose “New” then “Key” and create “Graphics” (no quotes)

Step 3 – Once on the Graphics “folder” right click it and choose new DWORD (32-bit) Value

Create DWORD

Step 4 – Give the new DWORD a Value name: DisableHardwareAcceleration and give it a Value of 1 – Click OK to save it.

Disable Hardware Acceleration

 

Step 5 – Open Office and you should see a massive improvement in the speed of switching between contacts, calendar and you inbox.

Below is a video guiding you through this process, Hope it helps.