Tag Archives: C++

VS 2015 – fix toolbox with COM components.

Today I will show you how to add COM components to your Visual Studio 2015 toolbox.
In this example I add the Windows Media Player COM component.
To do this you need to use this Right Click – mouse within the Toolbox, and then select Choose Items.

See image:
After that will see this window and just click on COM Components tab.
Use your mouse to select Windows Media Player.
If you want to use another COM component or your DLL file then you need to use Browse… button to add it.
This will should be in the Windows\System32 folder…
Now you can see your COM component into Toolbox:

Posted in All, C#, C++, Programming, Windows 10, Windows 8. Tagged with , , , , , , .

Create your GUID with Visual Studio Express 2013 .

The file called AssemblyInfo.cs contains information about your programme and provides properties for getting the information about the application, such as the version number, description, loaded assemblies.
This is just a simple example and you can read the docs from msdn docs

When you create the project you will find this file on Solution ExplorerProperties .
Into this file you need to add your GUID.
A Globally Unique Identifier is a unique reference number used as an identifier named GUID.
The GUID refers to various implementations of the universally unique identifier and usually stored as 128-bit values.
You can use the tools in Visual Studio Express 2013 on the Tools menu, click Create GUID. The Create GUID tool appears with a GUID in the Result box.

Posted in All, C#, Programming. Tagged with , , , .

Export your project from Netbeans like RPM package.

I told you in this tutorial about how to make RPM package.

Also I told you how to use Netbeans IDE.

Today I will show how to make this settings.

First you will need make the application working well.

Then you need to go on to project and press click right with your mouse.

Set your package like in the next image:


Now you can build your RPM package for your distro , see the next image:


Posted in All, C++, Linux, Programming. Tagged with , , .

Create HTML5 template with C++ .

It’s a simple console C++ program that makes default html5 page with one table.

You can change the source code to create more template for your source code.

Posted in All, C++, HTML 5, Programming. Tagged with , , , .

Working with GLFW library under Fedora.

Today I will try to use GLFW library.

GLFW is a C library that lets you using an OpenGL context and window, display modes and inputs like keyboard, mouse, joystick and time.

GLFW supports Windows, Mac OS X and Unix, Linux and FreeBSD and any operating systems with the X Window System.

Also you can read more about this library here.

First install the library using root account.

Now let’s see the source code.

First I includes all librarys I need.

In the main function I start to see if the library is working.

The next step is to set some settings, see:

… and also testing the desktop settings.

The settings it’s show on console with cout function.

Now I make the window context using fullscreen option.

I set the title of the window.

I enable the keys.

The next source code it’s close the window.

Testing with time command to see how fast working.

The netbeans IDE make the package in this path.

I make RPM package for Fedora distro.

I test my example and working well.

Posted in 3D, All, C++, Linux, OpenGL, Programming. Tagged with , , , , , .