Silverlight Application Compile Failed in Visual Studio 2013 part 2

We had a post about “Silverlight application compile failed in Visual Studio 2013”, but this time after we did the steps which was introduced, we still got compile failed.

We tried to moved current Silverlight application to another pc which was installed visual studio 2013, we found there were some references gone.

We tried to use NuGet manager and installed some packages but still not work. so what we did was just add those missed reference (dll files) manually in Visual Studio 2013.

Continue reading

Windows Forms Listview Control Columns Header not Shown

When you use Windows Form Listview control, you will see a strange problem: you added columns, but the columns can not showing up in the designer panel in Visual Studio.

This is from Microsoft design: they set default Listview control view property to LargeIcon, maybe they think ListView control is not like regular DataGridView control, the view should be use Icon showing style?

Continue reading

Microsoft Official Dev Center Site

Here is the Dev Center site of Microsoft. You can find dev information about Desktop, Hardware, Web etc.

This is about desktop dev. You can see an info about how to choose your tech,  We can see for example the different between WPF and Windows Form:

.NET Windows Presentation Foundation (WPF): This is the preferred technology for Windows-based desktop applications that require UI complexity, styles customization, and graphics-intensive scenarios for the desktop. WPF also takes advantage of XAML views. You can leverage the new simplified asynchronous capabilities (async/await) in .NET 4.5. WPF development skills are similar to Windows Store development skills, so migration from WPF to Windows Store apps is easier than migration from Windows Forms.

.NET Windows Forms: .This was the first UI technology in the .NET Framework for building desktop applications. It is still a good fit for many business desktop applications. Windows Forms is easier to use and lighter weight than WPF for simple scenarios. Windows Forms does not use XAML, so deciding later to extend your application to Windows Phone or Windows Store entails a complete re-write of your UI.

For business application technology guide, you can download from here.

WPF and Windows Form Integration Application Localization

We have a Windows From application to load WPF modules, due to Microsoft programming guide, they called this kind of application as WPF and Windows Form integration application.

What ever, we now need the integration application to support multiple cultures, is localization.

Let’s start from a simple application, a Windows Form application load a WPF control.

Continue reading

Visual Studio Online Service Down Today

This is the first time I meet Microsoft Visual Studio Online Service down, I could not connect to my VS Online Projects, they might call it is User Hub. Some of my source code are on VS Online.

When I tried to login the VS Online account, I could access home page without problem, but could not access user hub, got the following error sometimes, or just a timeout message:

Continue reading

Visual Studio 2013 Installer Projects

I have mentioned in my previous blog Microsoft removed nice Setup Project after Visual Studio 2010, and forced developer to use  the 3rd party tool: InstallShield Limited Edition.

But, normally developers do NOT like using InstallShield Limited Edition since we have to install the limited edition with license number, even it is free but still not convenient if we changed the developer machine or copy source code to another developer. and, problems are not only this, please read the user voice and votes:

Continue reading

One solution for HTTP Error 500.21 – Internal Server Error

When I set IIS web server, I met multiple times about HTTP Error 500.21 – Internal Server Error.

I can not remember what the error screen exactly was, next time I must copy the screen.

I always forget how I got big help using a fast solution:

JUST RUN the command aspnet_regiis.exe –i

Very simple but you have to know it is not always working, but it is the one of you can choose to try.