CodeSteps

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

Drupal 7 – Creating a module (Part – 6)

We are almost done with our module. Just we have to implement the functionality when the module is installed or uninstalled. Drupal 7 loads the functionality from “.install” file whenever the module is installed or uninstalled. We need to write hook functions “hook_install” and “hook_uninstall” in “.install” file. So, Drupal 7 will call these functions […]

WordPress 3 – Post Revisions

WordPress provides the flexibility to store revisions of posts. That means, WordPress stores the posts into post revisions whenever you modify the post. This really helps to retrieve the post information from post revisions when you miss some information in the current post. WordPress stores all the post revisions into the database like it stores […]

C# – Classes – An Introduction

‘C#’ classes are code blocks that combine data and operations those work on the data. ‘C#’ classes enables Object Oriented Programming (OOP) concepts of encapsulation and abstraction. Encapsulation means combining data and the operations apply on the data together. Abstraction means hiding the details to outer world. ‘C#’ classes are created using the class keyword. Below […]

Visual C++ – Creating an ATL COM Component (Part – 1)

Active Template Library (ATL) is a lightweight library used to develop COM-based components using Visual C++. Through ATL we can quickly develop COM components or COM services. In this article, I am trying to explain the steps to create an ATL COM component using Microsoft Visual C++ and Microsoft Visual Studio 2012 IDE (Integrated Development […]

C Programming – Dealing with files – How to read from a file?

C library provides a good number of file handling functions to deal with files and directories/folders. Generally, we can classify these functions as: Buffered functions and Un-buffered functions. Un-buffered functions are the raw functions that deal directly with storage devices. Whereas, buffered functions maintain memory buffers to improve the performance and reduce the number of […]

Drupal 7 – Creating a module (Part – 5)

We have successfully created a configuration settings form for our Example module. In our previous article we have instructed Drupal to create a form for us. Most of the form functionality is prepared for us by Drupal. Now when we submit our form, Drupal will call “example_admin_settings_submit” function. In this article, we are going to […]

Visual Studio 2012 – Enable / Disable IntelliSense for “Visual C#”

One of the great features of Visual Studio IDE (Integrated Development Environment) is its IntelliSense feature. IntelliSense provides code elements that you can select when you are coding; which indirectly increases productivity. IntelliSense enables to show members list, parameter info, quick info and completes the word. This article explains how to enable or disable IntelliSense. […]

Scroll to top