Sign in
Habib Heydarian's Blog @ Microsoft
Program Manager for Microsoft Robotics, Visual Studio
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
Announcements
Code Analysis
Debugging
DinnerNow.net
Historical Debugger
IntelliTrace
Performance Tuning
Team System 2010
Technology
Visual Studio 2008
Visual Studio 2010
VSTS Administering
VSTS Developing
Windows 7
Windows 8
Browse by Tags
MSDN Blogs
>
Habib Heydarian's Blog @ Microsoft
>
All Tags
>
visual studio 2008
Tagged Content List
Blog Post:
How to Count the Lines of Code (LOC) in your application using Visual Studio
Habib Heydarian [MSFT]
I was talking to someone the other day and he asked me whether Visual Studio has a tool to count the lines of code in an application. It occurred to me that others might be interested in the answer so I decided to blog about it. There is a tool called Code Metrics in Visual Studio 2008 and 2010 that...
on
27 Oct 2009
Blog Post:
How to edit code when debugging a 64-bit application
Habib Heydarian [MSFT]
One of the most popular features in the Visual Studio debugger is the ability to edit code during a debug session and have the changes apply without having to stop the debugger, recompile the application and then run the application to verify the changes. This feature is affectionately known as "Edit...
on
12 Oct 2009
Blog Post:
Class Breakpoint: How to set a breakpoint on a C++ class in the Visual Studio Debugger
Habib Heydarian [MSFT]
When debugging an application, there are times when you want the debugger to stop whenever any of the functions in a particular class are called. An example of this may be when you are trying to find out which object is calling your class. Of course, you could manually set a breakpoint on every function...
on
10 Sep 2009
Blog Post:
Troubleshooting common breakpoint problems in the Visual Studio debugger (Part I)
Habib Heydarian [MSFT]
On the Visual Studio debugger team, one of the areas where we regularly receive feedback is when breakpoints don't work. Furthermore, some of the error messages that the debugger displays when a breakpoint fails are generic so it might be hard to diagnose why a breakpoint doesn't work correctly (we're...
on
1 Sep 2009
Blog Post:
How to debug a 64-bit dump using the Visual Studio debugger
Habib Heydarian [MSFT]
One of the questions that comes up about debugging dump files is how to debug a dump file that was created from a 64-bit process. The reason why this question comes up is because Visual Studio itself is a 32-bit application and therefore, cannot debug a 64-bit dump file (or process). As a result, the...
on
31 Aug 2009
Blog Post:
A few facts about the DinnerNow.net 3.1 sample application
Habib Heydarian [MSFT]
Now that the DinnerNow.net 3.1 sample application has been released, I thought I'd share some information about the project to help developers learn more about DinnerNow.net and what they can expect after downloading it. The following table summarizes the artifacts (source code, images, et.c) that make...
on
18 Aug 2009
Blog Post:
DinnerNow.net 3.1 for Windows 7 and Windows Server 2008 R2 released
Habib Heydarian [MSFT]
DinnerNow.net 3.1 follows in the footsteps of the 3.0 release of DinnerNow.net by adding support for new Microsoft operating systems and platforms. New in DinnerNow 3.1 is support for Windows 7 and Windows Server 2008 R2. Also, DinnerNow 3.1 adds support for 64-bit operating systems and SQL Server 2008...
on
17 Aug 2009
Blog Post:
How to detect the .NET Framework directory using PowerShell
Habib Heydarian [MSFT]
As 64-bit machines become mainstream, one of the problems that developers run into is dealing with registry keys and directories. This is because many applications and runtimes are designed to run on both 64-bit and WOW64 . The problem comes about because the same application or runtime is installed...
on
11 Aug 2009
Blog Post:
Just released: Patch to make NetCFSvcUtil.exe work on Windows 7 (and other operating systems)
Habib Heydarian [MSFT]
In an earlier blog post , I mentioned that NetCFSvcUtil.exe (available as part of Power Toys for .NET Compact Framework 3.5) is broken on the following operating systems: Window 7 RTM Windows Server 2008 R2 Windows Vista SP2 Windows Server 2008 SP2 Specifically, when you try to run NetCFSvcUtil.exe on...
on
10 Aug 2009
Blog Post:
Windows 7 RTM Training Kit For Developers is here!
Habib Heydarian [MSFT]
If you are a developer and you are planning to write applications for Windows 7, then one of the best places to start is the Windows 7 Training Kit For Developers which was released today. The Window 7 Training Kit has everything you need to get started with programming Windows 7, including sample code...
on
7 Aug 2009
Blog Post:
Debugging 101: How to skip over code in the Visual Studio Debugger
Habib Heydarian [MSFT]
One of the questions that comes up regularly on newsgroups is "How do I skip over a section of my code in the Visual Studio debugger?" The answer depends on the meaning of the word "skip" but in general, there are three ways that you can skip over a section of code in the debugger...
on
30 Jul 2009
Blog Post:
Quick Tip: How to move a breakpoint in the Visual Studio debugger
Habib Heydarian [MSFT]
Setting a breakpoint in the Visual Studio debugger is as simple as placing your cursor on a line of code and pressing F9. However, once you've set the breakpoint, how do you move it to a different location since clicking on the breakpoint will delete it? One workaround is to delete the breakpoint and...
on
28 Jul 2009
Blog Post:
The Visual Studio Output window: It has more to offer than meets the eye
Habib Heydarian [MSFT]
At first glance, the Visual Studio Output window appears to be a boring tool whose only role in life is to display status information. However, look more closely and you will find that it provides several features that can be extremely useful. Below, I’ve listed the most common scenarios where I use...
on
22 Jul 2009
Blog Post:
How to install and configure the DinnerNow.net 3.0 sample application [Video]
Habib Heydarian [MSFT]
About two weeks ago, version 3.0 of the DinnerNow.net sample application was released and I covered the release in this blog . Since then, there have been close to 800 downloads of the application. To help people ramp up on DinnerNow, I've created a short video that shows how to install and configure...
on
20 Jul 2009
Blog Post:
Walkthrough: Debug a WPF window or Windows Form without running your application [Video]
Habib Heydarian [MSFT]
Most Windows GUI applications share a common trait. They all have multiple forms and/or dialogs. In the screenshot below, this simple application alone has four WPF windows. If I want to debug the main window, that's easy. I just press F5 and the main window or form starts up. However, if I want to debug...
on
17 Jul 2009
Blog Post:
Fun with Breakpoints in the Visual Studio Debugger
Habib Heydarian [MSFT]
Once in a while, I come across a feature in the debugger where I ask myself: "I wonder if anyone knows about this feature!" Yesterday, I came across just such a feature: Did you know that the debugger can play a sound when a breakpoint is triggered? Watch this short video and then continue...
on
13 Jul 2009
Blog Post:
DinnerNow.net 3.0 for Visual Studio 2008 SP1 and .NET Framework 3.5 SP1 is here!
Habib Heydarian [MSFT]
It's been a very long time coming but the next version of DinnerNow.net is finally here! In case you haven’t heard of DinnerNow, it is a fictitious marketplace where customers can order food from local restaurants for delivery to their home or office. DinnerNow is designed to demonstrate how you can...
on
4 Jul 2009
Blog Post:
The quickest way to edit a Visual Studio project file
Habib Heydarian [MSFT]
Even though you are not supposed to manually edit a Visual Studio project file, there are times when you really don't have a choice. For example, sometimes upgrading a project from a previous version of Visual Studio fails and the only way to fix the problem is to open the project file in something like...
on
1 Jul 2009
Blog Post:
NetCFSvcUtil.exe and Windows 7
Habib Heydarian [MSFT]
NetCFSvcUtil.exe is the analogous of Svcutil.exe but for devices. You can use it to generate a WCF client from a WCF service. You can then consume the generated client code in a Windows Mobile application . Unfortunately, the current version of NetCFSvcUtil.exe (3.5.7338.0) that is available from Power...
on
26 Jun 2009
Blog Post:
Moving code around in Visual Studio super fast [Video]
Habib Heydarian [MSFT]
As a developer, one of the common tasks is move code around. In this video, I'll demonstrate how using the Outlining Expansion feature in Visual Studio makes it a whole lot easier to copy and paste entire methods or classes. The trick is using the CTRL+M, CTRL+M shortcut key to collapse bodies of code...
on
25 Jun 2009
Blog Post:
Walkthrough: Adding an existing Visual Studio solution to another solution
Habib Heydarian [MSFT]
Often, developers partition their applications into separate Visual Studio solutions in order to make managing the complexity of the overall application easier. Sometimes, the reverse is true. That is, you may want to combine several existing solutions into one master solution. The reason for doing this...
on
25 Jun 2009
Blog Post:
Web Application Projects: No Help for you!
Habib Heydarian [MSFT]
I always find these types of bugs amusing and somewhat ironic. The other day, I was doing some work with Web Application Projects. When I first tried to open the project, Visual Studio 2008 kindly warned me that in order to use IIS with my WAP, I need to run Visual Studio elevated. Wanting to learn more...
on
19 Jun 2009
Blog Post:
How to select and edit multiple columns in Visual Studio 2008 [Video]
Habib Heydarian [MSFT]
When I was at university, my editor of choice was Emacs, primarily because it was very keyboard friendly and I could pretty much do everything with a few key strokes. Once you got used to the modifier keys, editing and navigation in Emacs was effortless. One of my favorite features in Emacs is the ability...
on
16 Jun 2009
Page 1 of 1 (23 items)