Using sc.exe to communicate with Windows Services in Visual C++
TweetSC.exe is commonly used to retrieve and set control information about installed Windows services. Common tasks are to configure, start and stop a service, as well as retrieve the status of a...
View ArticleWindows programming using MinGW
TweetA short example of how to started with Windows programming in non-Visual Studio environments. In this example, we use the MinGW (Minimalist GNU for Windows) compiler within the Code::Blocks...
View ArticleCreating a Tabbed Dialog using the Windows API
TweetAn example demonstrating how to create and display a tab common control using WinAPI (Win32) C++ programming. Much credit needs to go to Ken Fitlike’s excellent WinAPI site, from which I orginally...
View ArticleUsing OpenGL in Microsoft Visual Studio
Getting started with using OpenGL / freeglut in a Microsoft Visual Studio environment for 32 bit versions. 1. Obtain freeglut Go to the freeglut site to obtain the MSVC package:...
View ArticleUsing POSIX threads in Microsoft Visual Studio
Threads can be used to implement parallelism. For UNIX-based systems, a standardized C language threads programming interface has been specified by the IEEE POSIX 1003.1c standard. Implementations that...
View ArticleMaking bitmap images transparent using paint.net
Something I needed recently which I’ve wanted to blog. It’s fairly simple, and also documented elsewhere online, but as with most things I do technical blog wise, explanations work better with...
View ArticleCreating a Windows application in Java using Eclipse
Step 1: Create a new Java Application In Eclipse select File > New > Java Project: Step 2: Create a new Frame In Eclipse, right click the ‘src’ folder and select New > Other. In the wizard...
View ArticleHow to disable a network connection from Control Panel
Step 1: Open Control Panel Step 2: Navigate to Control Panel\All Control Panel Items\Network Connections In Control Panel\All Control Panel Items\Network Connections Step 3: Select Disable
View ArticleHow to encrypt basic authentication credentials in a Web Api application
This post shows you how to handle encrypted user credentials in a Web Api application and offer further security by enforcing https for all REST api calls. Step 1: Create a new Web Api application:...
View ArticleHow to use alternate portrait and landscape orientations in a Word document
Just as a simple illustration: suppose we want to configure a 3-page Word document to have a first page with portrait-style orientation, followed by a second page with landscape orientation and then a...
View Article
More Pages to Explore .....