VS2013 .net application fails to run on Windows XP

Do you run into following error when trying to run a VS2013 .net application on Windows XP? Error: Not a valid Win32 application! This happens because the application is targeting .net framework 4.5 which is not supported on Windows XP. Target a lower framework to get your application working on XP.
Continue reading…

 

TRACKER : error TRK0002: Failed to execute command

Had a customer who a opened a ticket for help on this error. The project built fine on Windows 8 but after upgrading to Windows 8.1 he started seeing above error on compilation using a 64 bit toolset. After much troubleshooting we found the issue to be caused by a pre-release version of WDK installed […]
Continue reading…

 

Troubleshooting side by side issues using sxstrace

Side by side errors are troublesome to troubleshoot. You run an MFC/CRT application on customer machine and you run into error dialogs similar to the one shown below… Don’t get overawed by the error. Its quite easy to troubleshoot, hmm well. As the error message suggests let use sxstrace.exe. The usage of sxstrace is pretty […]
Continue reading…

 

Using Visual Basic PowerPack DataRepeater control in Visual Studio 2013

DataRepeater is great control to display data from a table/view, as the name says repeats bunch of fields from a dataset on every row. Follow these simple steps to get started working with this control… Step 1: Add a reference to the PowerPack library as shown here: http://ntcoder.com/bab/2013/12/20/visualbasic-powerpack-missing-from-visual-studio-2013/ Step 2: Make sure you’ve got the […]
Continue reading…

 

Debugging/Comparing Managed or .net memory dumps using Visual Studio 2013

Visual Studio 2013 comes with a new feature called “Debug Managed Memory” this feature also allows to compare managed memory usage across two dumps.  Read on… This is how you would open a .net 4.5 memory dump in Visual Studio… So for the purpose of this blog I’ve created memory dumps of a managed application […]
Continue reading…

 

[Video] What’s cool in Visual Studio 2013 Solution Explorer

A video presentation on what’s new and cool in Visual Studio 2013 Solution Explorer… I’ll follow up this presentation with some more presentation on what’s some of the cool things in Visual Studio 2013 just to speed up anyone who’s hopping onto the Visual Studio 2013 wagon.
Continue reading…

 

VisualBasic PowerPack missing from Visual Studio 2013?

Note the power pack is not part of Visual Studio 2013 install, it comes as separate MSI. The download link for Visual Basic Powerpack for Visual Studio 2013 is hard to find online as well. I found the link from our internal support article. Download VB Powerpack (direct link to bits): http://go.microsoft.com/fwlink/?LinkId=321343 Please close any […]
Continue reading…

 

[Debugging] Application high memory usage on Windows 8.1

Recently had a customer who was complaining about high memory usage on Windows 8.1. The application consumed about 140 MB on a Windows 8.1 OS as compared to a meager 3 to 4 MB on a Windows 7 or 8 machine. Hmm interesting. Being experienced in troubleshooting for sometime now this smelled to me like […]
Continue reading…

 

Visual Studio 2013 successfully Released to Web

Some useful links… Visual Studio 2013 Available Now!Visual Studio 2013 HighlightsSystem Requirements and Platform CompatibilityKnown issues for Visual Studio 2013 (Readme)Known issues for .NET Framework 4.5.1 (Readme)Known issues for Visual Studio Team Foundation Server 2013 (Readme)Windows Store is now open for submitting apps targeting Windows 8.1
Continue reading…

 

[MFC] Resize CComboBox drop down list based on contents

I had this post in my draft for a long time. This code snippet resizes a combo box’s drop down list. Please note an application sends the CB_SETDROPPEDWIDTH message to set the minimum allowable width, in pixels, of the list box of a combo box with the CBS_DROPDOWN or CBS_DROPDOWNLIST style. Note: MFC function CComboBox::SetDroppedWidth […]
Continue reading…