C# - Visual Studio - Adding a custom ICO file to an application

It's always a good thing to personalise applications we make, especially when there is a graphical user interface.

The idea here is to change the default icon of your C# application with Visual Studio.

We also use the Gimp software to create the .ico file.

So let's get started.

Electronics - MSP430 - Using timer and interruption to generate a delay of 1 second

The first two features to understand in a microcontroller are timers and interruptions.

Indeed, without a timer nor interruptions, it's quite impossible to have an accurate timing in a program.

C++ - OpenGL - Using the OR and LEFT SHIFT operators to retrieve the display mode with strings

The following tutorial will show you how to exploit data taken from a binary variable.

In order to explain it, we are going to use the GLUT OpenGL library.

The display mode uses indeed this kind of mechanism with the OR operator, symbolized with the famous pipe: "|".

C++ - OpenGL - Checking the FreeGLUT, GLEW and OpenGL version

First thing to deal with OpenGL is to know which version you have on your operating system.

For this tutorial we will test it on Windows.

And because we are testing the OpenGL version, we will also check what is the FreeGLUT and GLEW version.

C++ - OpenGL - Adding an icon to the executable with Visual Studio

To have an executable file that seems professional, it's necessary to have your own icon when someone launches your program.

This tutorial could easily adapted to any application generated from Visual Studio on Windows.

This icon is generally the logo of the software, game or application you created.

C++ - OpenGL - Setting up Visual Studio

The Visual Studio version for this tutorial will be the 2015 RC (seems to work with the 2017 too).
The glew version will be the 1.12.0.
The freeglut version will be the 3.0.0.

Android - Android Studio - Generating an unsigned release .apk

If you come from the Eclipse world, you should be lost because it's not very clear how to generate a release build version of an .apk file.

In this Android Studio tutorial, we are thus going to see how to resolve this release build generation.

C++ - Algorithm - Using min(), max(), minmax() functions

To be precise, in this tutorial, we are going to see the min(), max(), minmax(), min_element(), max_element() and minmax_element() functions.

Electronics - STM32 - Setting up the Nucleo board with IAR

The Nucleo wants to be a concurrent of Arduino. You had probably tested the mbed.org compiler. But you would like to program a firmware without any online IDE (that comes with some advantages and drawbacks).

Electronics - Verilog - Turning off 7-segment displays

A quick code to turn off every single segment onto a FPGA board.

For this tutorial we use the Altera DE1 board.

So if you have another one, just replace HEX0, HEX1, HEX2, HEX3 by your assignment.


Subscribe to BadproG.com RSS