Author Archives: CooLMinE

Windows 8.1 Update 1 to be released this spring (2014)

Joe Belfiore has mentioned in the Windows blog page that Windows 8.1 Update 1 is currently scheduled to be released this spring.

Over the next few months, we’ll continue to deliver innovation and progression with an update to Windows 8.1, coming this spring.

Not much information has been released yet as to what changes the new update will bring to the users, but based on the things pointed out in an official post it seems that desktop user experience will be one of the main things they want to improve.

  • We’ll enable our partners to build lower cost hardware for a great Windows experience at highly competitive price points.
  • We are making improvements to the user interface that will naturally bridge touch and desktop, especially for our mouse and keyboard users. We have a number of targeted UI improvements that keep our highly satisfying touch experience intact, but that make the UI more familiar and more convenient for users with mouse/keyboard. Don’t worry, we still LOVE and BELIEVE IN touch… but you’ll like how much more smooth and convenient these changes make mouse and keyboard use!
  • We are enhancing support for enterprise customers via a few tweaks, particularly including features that greatly improve IE8 compatibility in Internet Explorer 11, which is especially critical for web-based line of business applications. Additionally, we’re extending mobile device management capabilities and making deployment easier.

As a desktop user I welcome any chances aimed to improve the functionality for keyboard and mouse users and I am eager to see what the update has in store for us.

What kind of features/improvements would you like to see in the new update ?

How to generate QR barcodes in C#

QR barcodes are machine-readable optical labels that contain certain information. Today we will be looking into how to generate QR codes with the use of the ZXing.Net library.

First you will need to download the ZXing.Net library from zxingnet.codeplex.com. Extract the contents of the file you have downloaded and reference the library that fits your needs in your project.

Using the example code below you will now be able to create your own QR codes.

Example: Calling the following method will return a Bitmap object which you can save using the Bitmap’s Bitmap.Save() method or simply display it within your application.

Fluxbytes QR code example

Visual Studio 2013 update 1 is now available

A new update for Visual Studio 2013 has been released. The update includes the latest updates, including feature additions and bug fixes.

For more detailed information about what was fixed visit http://support.microsoft.com/kb/2911573#fixedissues.

Visual Studio 2013 Update 1 can be applied to the following products:

  • Microsoft Visual Studio Ultimate 2013
  • Microsoft Visual Studio Professional 2013
  • Microsoft Visual Studio Premium 2013
  • Microsoft Visual Studio Express 2013 for Web
  • Microsoft Visual Studio Express 2013 for Windows
  • Microsoft Visual Studio Express 2013 for Windows Desktop
  • Release Management Client for Visual Studio 2013
  • Release Management for Visual Studio 2013
  • Release Management Server for Team Foundation Server 2013

Download links removed. Read below.

Visual Studio 2013 update 2 is now the newest update. Visit Microsoft Visual Studio 2013 Update 2 is now available for more information.

Unzip files using Shell32 in C#

The .NET Framework didn’t have an easy way for developers to unzip files resulting to a lot of people having to use third party libraries to achieve that functionality. This was until the .NET Framework 4.5 was released which had a new class called ZipFile that simplified the process of unzipping files..

But since targeting the .NET Framework 4.5 might not be ideal in many cases, mainly because its adaptation rate is still fairly low I will demostrate another way to unzip .zip files with the use of Shell32.

Firstly you will need to reference in your project the COM library called Microsoft Shell Controls And Automation (Interop.Shell32.dll) in order to be able to access the Shell32 namespace.

The method below is a simple example that takes two parameters. The .zip file location and the folder destination where the files will be extracted to.

The usage is fairly simple:

Creating and connecting to a Microsoft Access Database programmatically in C#

The following example aims to get you a bit more familiar as to how to create and connect to a Microsoft Access database programmatically while being able to add any type of tables you want as well are inserting and retrieving data from it.

Firstly we will need to reference two libraries in our project. Microsoft ActiveX Data Objects 2.0 Library (Interop.ADODB.dll) which we will use to ensure that the connection to the database is closed after we are done creating it, and Microsoft ADO Ext. 2.8 for DDL and Security (Interop.ADOX.dll) which is needed to be able to access the classes that are required to create our database.

After you have finished adding those two references to your project you can use the code sample below to create the database file programmatically. Feel free to modify the code to suit your needs. Also please note that setting your project to Any CPU build will cause exceptions to be thrown when creating the database.