CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

MFC – CObject class – Enable Object Serialization

CObject supports object serialization. One of the MFC’s great feature, which allows to store and retrieve the object’s current state. To enable this feature in our code: We must add DECLARE_SERIAL macro into our class declaration. IMPLEMENT_SERIAL macro must be added into class implementation file. And override the Serialize member function. Lets extend our class […]

COM – Creating a COM Component using C++ – .def file

In the previous article, we created a test application to test our COM component. When we rant our test application, it was displaying a “Class not registered” error message. Before re-looking into our component and test application code; let’s understand in what scenarios this “Class not registered” error message occurred. One scenario is, unable to find the […]

JavaScript – Access HTML DOM (Document Object Model)

DOM (Document Object Model) is a standard, allows to dynamically access the HTML documents, it’s styles, content and structure. It also allows dynamically update the content. JavaScript is a dynamically typed, object-based scripting language that runs in a host environment, usually a web-browser. But, it also used for server-side programming. JavaScript supports HTML DOM; so […]

C++ – Calling Virtual functions from class Destructors

C++ allows virtual functions to resolve function calls at run-time. This is called late-binding. Like virtual functions, C++ allows virtual destructors to delete the objects properly in an inheritance hierarchy. C++ allows calling virtual functions from class destructors. But what will happen when it calls these virtual functions from class destructors? Let’s take an example, […]

Microsoft Project: Creating a Project Plan

Usually, each project is developed in multiple phases. Commonly the phases are: Initiation Planning Execution Monitoring & Controlling and Closing Project plans created with Microsoft Project contain tasks and each task can be entered into the different phases mentioned above. This article explains how to create a project plan using Microsoft Project. This article applies […]

Skype – Adding Contacts

We can add contacts into Skype accounts in two ways. One is by adding a phone number and another one is by searching the Skype directory to find existing contacts and add them to the account. This article explains different ways to add contacts to Skype contacts list: This article applies to: Skype 6.11 Step […]

FireFox – Responsive Design View

Mozilla’s Firefox allows installing of developer tools to extend Firefox functionality and is also useful to develop Plug-ins or Add-ons. One of the developer tools is “Responsive Design View” which is useful to provide a presentation that is suitable for different kinds of devices; such as mobile phones or tablets. To test this feature, first, […]

Blend – Creating a border-less Window

It is easy to create a borderless window using the WPF application by simply selecting relevant properties for the Window object. Blend provides a rich user interface to alter the selected object’s properties. This article explains the steps to create a simple borderless Window using Blend. This article applies to: Blend (Version 5.0) for Visual […]

C++ – Calling Virtual functions from class Constructors

Virtual keyword in C++ is used for polymorphic behavior. C++ allows the creation of virtual functions, virtual destructors, and virtual inheritance. Virtual functions will resolve exact function calls in the inheritance hierarchy, at run-time. This is called late-binding. That means, what function to call will come to know at run-time instead of compile time. // […]

Scroll to top