Unicode problem when saving CSV using navigator.msSaveBlob – IE

When trying to export Unicode / multibyte content using navigator.msSaveBlob, you may not get the connect correctly when opening with MS Excel. Here is a fix for that:

Note the uFEFF character used.

 uFEFF is the Byte Order Marker which is used to tell the applications that this file/data is unicode or multibyte.

 

Simple WPF ViewModel implementaion with VisualBasic.NET

This is my trial for applying View-ViewModel concept in WPF Windows application. I do not have a Model for this sample so omitting that word 😉

This is the XAML code which I used. Here I tried to do text binding with a TextBox and Command binding with a Button.

File 1: Window1.xaml

 

File 2: Window1.xaml.vb

And here is the VB.NET code:

File 3: ViewModel.vb

 

Simple WPF ViewModel implementaion with VisualBasic.NET

This is my trial for applying View-ViewModel concept in WPF Windows application. I do not have a Model for this sample so omitting that word 😉

This is the XAML code which I used. Here I tried to do text binding with a TextBox and Command binding with a Button.

File 1: Window1.xaml

 

File 2: Window1.xaml.vb

And here is the VB.NET code:

File 3: ViewModel.vb