Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / operating-systems / Windows / Win7

Win7

Win7

Great Reads

by Saad_Mahmood
Magical MVVM using power of Expression Blend
by Peter T. Ringering
A program that makes editing code comments and XML comments easier.
by Mario Ghecea
This article describes the technique I used to ingest large text files to create an e-book publishing platform on the Android Market
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.

Latest Articles

by Saad_Mahmood
Magical MVVM using power of Expression Blend
by Peter T. Ringering
A program that makes editing code comments and XML comments easier.
by Mario Ghecea
This article describes the technique I used to ingest large text files to create an e-book publishing platform on the Android Market
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.

All Articles

Sort by Score

Win7 

by Peter T. Ringering
A program that makes editing code comments and XML comments easier.
by BrokenEvent
.NET WinForms Tray icon implemenation with Win7 and Vista features: GUID identification, large custom icons, custom UI instead of the hint, etc.
by Senthilvel Samatharman
This tip provides a simple implementation for the ICommand interface and enables to write quick code leaving the nuances of fetching the return types and asynchrony
by Southmountain
Some take-away to improve the quality of desktop software
by shijo joseph
A file backup manager with simple user interface and all the essential functionalities.
by Kaushik S Murthy
This application allows you to know the status of caps lock whenever the caps status is toggled
by Sen Jacob
A simple task scheduler utility by which you can schedule a task to run at any time or interval
by Sen Jacob
This is an alternative for "A Task Scheduler Library for .NET Applications"
by HateCoding
A tiny custom list control
by Amit Deshmukh 1010
Accessing class object present in exe from explicitly loaded DLL using Inheritance and virtual function.
by Ankit Bansal MVP
This articles explains the insertion of data into SQL Database using Stored Procedures with Output Parameters. Some Bootstrapping is also used to create a good looking HTML.
by DaveyM69
Now your application can update it's saved data regrdless of the account it is running under.
by Hesham Meneisi
This is a quick way to allow or disallow a program through the firewall.
by Thava Rajan
This tip is used to fix a workaround for a bug in double click on checkbox
by Mahmud Hasan
Whenever I try to install any software I get an error saying another installation is running.
by Vasudevan Deepak Kumar
This is a simple class/demo application that shows how to check whether the account that is being used to run the application has administrative rights.
by Alaa Ben Fatma
Generate your arrays using a GUI tool
by Ihab ramadan
Demo illustrates how to make augmented reality program using irrlicht and newton
by tc99
Immediate access to resources without clicking
by Grigory Avdyushin
Short description how to create a sexy badge for windows 7 taskbar
by Jdarmanovich
Basic MVVM pattern for binding items to a listbox in WPF
by Dan Steuer
This article will help manage automatic database purges according to basic Document Management principles.
by Indivara
Are you sure your batch file will actually do what you intended?
by Br.Bill
First command of the file should be:PUSHD directory_you_want_to_be_inThat solves it always. No testing for anything. No need to error out, because your expected file's gonna be in the expected directory.
by Reto70
if you want to run the script in the folder where the script is store you can add the following code@ECHO %0 %*@pushd@cd /D "%~dp0"@cd....@pause@popdin most case %0 is the name of the script including the full path%~dp0 is only the drive and the path of the scriptcd...
by Roger65
A project to place a Dialog Box on the Taskbar
by Sujith Karivelil
In Master - Slave replication, Changes in master will reflect in Slave. but any changes made in the slave Database will not reflect back in Master, this article will help you to implement Bidirectional Replication.
by John Bhatt
How can I block some website permanently like (facebook.com) and more social site on my employees computers
by SMPS LLC
With this tip, you can show a map in your WinForm application with the Google Maps API v3.
by charles922
Program that continuously monitors the NXT via Bluetooth
by arussell
Search for file using regualar expression or classic *.*
by dietmar paul schoder
Read rows and cells from an xlsx-file: quick, dirty, effective.
by arthur zamarin
Making an exe file from C# project that runs from any Windows, without must of Net Framework instaled.
by metastruct
When WebClient, HttpRequest, and all else fail, BITSadmin solves your download woes
by arussell
Unlock a file that is in use by another process
by Houssem Dellai
Developing a Windows Phone app step by step
by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
by Evgeny Pereguda
Simple lib for capturing video from web-camera by using Media Foundation
by JPhelps
To dynamically set the password viewing style for the edit control
by Ștefan-Mihai MOGA
How to center window in WIN32
by Charles Kludge
void CenterWnd(HWND wnd){ RECT r,r1; GetWindowRect(wnd,&r); GetWindowRect(GetDesktopWindow(),&r1); MoveWindow(wnd,((r1.right-r1.left)-(r.right-r.left))/2, ((r1.bottom-r1.top)-(r.bottom-r.top))/2, (r.right-r.left), (r.bottom-r.top),0);}
by Nick Kulikovsky
There is ATL CWindow method CenterWindow:void CenterWnd(HWND hWnd){ CWindow wnd; wnd.Attach(hWnd); wnd.CenterWindow(NULL); wnd.Detach();}
by Roger65
CFileDialog in a Console Application
by Dave Kreskowiak
This is probably why your global keyboard and mouse hooks stopped working on Windows 7
by Coding 101
Need to see larger thumbnails on the taskbar?
by Tejashwi Kalp Taru
Ever wanted to change the Windows Aero color without restarting the DWM?
by Hernán Hegykozi
This tip explains how to calculate the Check Digit Vertical (CDV) and Horizontal (CDH) by SQL Server.
by Rixterz123
How to get text to show perfectly clearly on Aero glass
by dietmar paul schoder
RibbonComboBox in MVVM/WPF: the easiest way
by Member 10771162
AngularJS: Communication between Controllers
by David A. Gray
While you can often get away with ignoring compiler warnings, failing to at least scan them can bite hard!
by Peter T. Ringering
A complete replacement to Microsoft's Date/Time Picker control.
by El_Codero
Convert doc/docx documents to pdf with Foxit Reader Printer. Works without use of Word Interop/SharePoint.
by Normz Antonino
This tip shows you how to convert numbers to words neatly.
by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
by Thava Rajan
Copy and insert data at any postion in your datagridview
by Sujith Karivelil
Creating a link in the left pane of the file Explorer - like OneDrive or DropBox
by Zain Ul Abidin
How to create a Wifi HotSpot with the help of CMD and C#
by Arkadiusz@inquiry
CRichEditCtrl does not take the return
by Adam Wojnar
An easy implementation of the taskbar-independent "quick launch"
by Gautham Prabhu K
Perform custom disk clean up when hard disk free space goes low
by crackruckles
Days Left Timer VBS self deleting
by JRCoderMan
Detects a double-click via an initial and subsequent OnMouseDown event
by Mahdi Nejadsahebi
With this algorithm, we can detect amount and knoll of an arc
by vertex4343
DirectShow Hangs on Pause – Solved with WNDPROC message
by Sujith Karivelil
This article Describes Connectivity to Gmail using IMAP, and also guide you to download and save mail content along with attachment.
by Michael J Hill - OH
Create a Windows desktop app to display daily web stats from your personal site
by Prabakaran T
If you often use removable USB devices like a flash drive, you are probably already familiar with the “Safely Remove Hardware” icon that sits in the system tray. The problem for many people is that the icon is tiny, and clicking it just right to bring up the menu is a pain.
by ehab_nour
Processing SAP generated Excel file as a report to get some information
by LukeCodes
This is a simple macro script to search and retrieve individual cells in an Excel document.
by pavan1361
adding require blocking site in hosts file
by charles922
Another way to implement Falling Blocks Game
by Ordiales
When no XP support is necessary. Better Icon structure arrises and easy conversion is allowed.
by Ștefan-Mihai MOGA
A quick solution to transform binary data to plain text
by Not Active
Plagiarized from http://msdn.microsoft.com/en-us/library/ms724429(VS.85).aspx[^]
by Roger65
Find file or use wildcard i.e. dlg*.h, or *.*
by Vahid_N
Microsoft has not updated Iran's daylight saving time information since 2009. Let's find out how it works and then fix it for the next 100 years!
by Shao Voon Wong
Fixing Inconsistent Stroke Width of Chinese Characters
by SubhamoyBurman
Use of Task Parallel Library and Async/Await in your application
by dietmar schoder
Turtle graphics: fundamental C# classes and methods for the artwork production in the area of generative art.
by dietmar schoder
Read and analyse pixels: fundamental C# classes and methods for the artwork production in the area of generative art.
by dietmar schoder
Image sections and images: fundamental C# classes and methods for the artwork production in the area of generative art.
by dietmar schoder
Poisson disc algorithm: fundamental C# classes and methods for the artwork production in the area of generative art.
by dietmar schoder
Merge pixels of two images into one new pop artwork
by Bankey Sharma
Converting DataReader Result into List of Objects Using Generic Type, Property Attribute and Reflection
by pdoxtader
Use DeviceIoControl, QueryDosDevice and WNetOpenEnum to get information about your system.
by TheyCallMeMrJames
Windows 7 introduced Pinning and Jump lists, two features that, when combined, let you get at your most recent projects quickly.Visual Studio 2010 is also smart enough to differentiate between files, projects and solutions, only displaying the bigger-picture items in the jump lists.To...
by NightWizzard
Explained step by step
by Arthur V. Ratz
This tip is especially useful for users who own the licensed copy of Windows 7/8/8.1, and would like to upgrade to Windows 10 after July 29, 2015.
by Thomas B Dignan
Getting the text of Win32 Error codes for 99% of cases.
by Orjan Westin
Simple function to get the text message corresponding to a system error.
by Joan M
Coping with Windows overlay icons number limit
by Nic Wilson
Many users ask how to get Vista or Windows 7 style dialog windows when they have imported an older project to Visual Studio 2010.To enable this is quite simple, follow the steps.1. With your project loaded, select the project in solution explorer.2. From the 'Project' menu choose...
by Thiru Thirunavukarasu
How to use WinMerge to view diffs with Git under Cygwin
by csanuragjain
Unlocks various control options
by Royston Malcomber
Setting up Google reCaptcha version 2 with MVC5
by Michael_Davies
Handling large numbers of application settings
by Hasan Habib Surzo
Basic Server/Client Example using Windows Communication Foundation (WCF) programming
by Phil Hamer
Provides high-resolution estimate of time for Windows 7 and other OS versions that don't support GetSystemTimePreciseAsFileTime
by dapeacenforcement
Easy way to edit the right ListViewItem (Row/Column) after MouseDoubleClick.
by CodeMajster
A detailed tutorial on how to embed multiple icons and color/animated cursors in VS2010 VB project assembly as native win32 resources.
by Alireza C
I want to show how we can export data from data table to Excel simply.
by Ankur .K. Vishwakarma
This tip shows you a T/SQL function to split a string concatenated by a delimiter.
by Southmountain
How to install Visual Studio 6 on Windows 7 professional (64 bit)
by Andrei Tuțu
This article presents an easy and clear way to lock your PC and power off the display using .NET (C#).
by maratoni
This is a brief tutorial on how to sign a Windows device driver with WDK 7.1
by Venkat Krishna Turlapati
How to use cross apply along with a table valued function as an alternative to cursors
by @donis2014
How to configure IIS Express "applicationhost.config" for handler mappings
by Debopam Pal
Export Advanced Excel 2007 Report
by piyush_singh
Installing IIS on Windows 7.
by Syed Ubaid Ali Jafri
Non Printing Characters are invalid when placing it in URL field. These characters may include &, ^, % signs, etc. most Web Platforms somehow have ways to encode and decode this escaped format. This program is design to develop a Logic for Encoding and Decoding the URL, IP Address and HTML Attribute
by Rajendra Kumar Sahu
Easy way to show JavaScript Alert Message having Arabic Text
by Dinesh K.S. Kushwaha
Simple Paged Grid by using knockout js
by ThatsAlok
Showcase for lambda function in C++
by furkanavcu
Implement the Levenshtein Edit Distance algorithm.
by Igor Ladnik
After reference to instance of a class was set to null, it seemed it was still active
by Alex Wiese
Monitors log files and displays text as it is appended to the file
by Derell Licht
C++ class that provides a convenient wrapper for lodepng library
by Pankaj Choudhary - C++ Devepoler
Logging in C++
by Andreoli Carlo
In our company, we find ourselves in need of using the internal PC (buzzer) on Windows7 64bit. At the end, we figured out how to do it.
by joejames111
Raw input 64-bit .NET classes.
by Zanga D. Dagnogo
This is a simple multiclient server chat on a Local Area Network.
by metastruct
Multithreaded, customizable SysLog server in C#.
by NobsterTheLobster
Implements a taskbar notifier using an invisible window and a popup control
by Zaraken
Productivity oriented snipping tool for Windows
by Antonio Lopez R
Specific implemetation for Mexico CFDI. others can use as they need
by Yvan Rodrigues
This hidden key-click combination adds the ability to open a command prompt window from a Windows Explorer view.
by manish76235
Good one. However typing CMD in the explorer address bar and pressing enter will also open up the command prompt inside the selected folder path as well. Hope this helps.
by rnbergren
The reverse is true as well. Typing "explorer ." will open Explorer from the command line for the current directory you are in. That comes in useful on occasions.
by Member 8009015
My XP method is to:Go to C:\WINDOWS\system32\Right click on cmd.exeSend to Desktop (shortcut)Right click on the Desktop shortcutClear the start in parameterOn the address line of any Explorer directory, start typing cmd and you will get a list of any icons on the Desktop starting...
by thatraja
Here are a couple of other ways:Microsoft PowertoysSend to ToysManually add the context menuThrough batch fileThrough the RegistryAdd Command Prompt here Shortcut to Windows Explorer[^].
by wendy krieger
You could try http://win.code65536.com/[^]. The first link here is an 'open command prompt' (freeware).Unlike most, you can click on folder background to open it up to that directory.
by Magyar András
Almost all of the basic functions of the program(browser, text editor, image editor, media player) that you can associate files with it and open it. I want a simple and effective method to show the arguments (associated files) to open. How to associate files with C# program?
by Caner Korkmaz
How to open the Internet browser from code.
by kbo-mvs
I use this one in C++ (has the advantage that you can use your preferred browser ;-):ShellExecute (NULL, NULL, _T("http://www.codeproject.com"), NULL, NULL, SW_SHOWNORMAL);
by Kevin Marois
You're incorrect. Explorer is Windows Explorer, not Internet Explorer. Try this:System.Diagnostics.Process.Start("explorer");then this:System.Diagnostics.Process.Start("iexplore.exe", "http://www.codeproject.com");and this:System.Diagnostics.Process.Start("winword.exe",...
by Michael B. Hansen
If I remember correctly, then I had some issues with the above method some years ago. It would not always work on some systems.I personally use the following method to get the EXE path to the system's default browser:public static string GetDefaultBrowser(){ string browser =...
by thatraja
Given below is code for opening the Internet browser programmatically in VB 6 and VB.NET.VB 6Private Declare Function ShellExecute Lib "shell32.dll" Alias _ "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, _ ByVal lpFile As String, ByVal lpParameters As...
by ntg123
Simple way to pass custom(Attached) properties into a style-based control-template with triggers
by Anant Beriwal
How to counter crash issue in applications
by Zamshed Farhan
It’s a very common problem for those, using Oracle 11g in Windows 7 (64-bit) with PHP applications.
by Niel M.Thomas
A tip to keep your text crisp and clear.
by ednrg
This is a .NET port of a VBScript utility
by PIEBALDconsult
This is an alternative for "PrettyXML (.NET Port)"
by Michael_Davies
Printing To Line Printers (EPOS) Using Windows
by Albert Holguin
This is a quick overview of the Windows 7 Problem Steps Recorder utility.
by Jani Mäkinen
Program return values inspected by .bat files with visual feedback
by peterswinkels
A Visual Basic 6 program demonstrating how to access databases using Microsoft ADO and how to automate Outlook and Excel.
by charles922
Easy to Use Plotting Utility
by evry1falls
Receiving response correctly from pop mail server is the first step on receiving emails to your own email client.
by Yuksel YILDIRIM
How to show digits of reciprocal of a number (or division) in more precision
by IPI Paul
Reduce system load and increase performance
by devendra_sahu
Remote desktop application
by D Y Chan
Change a directory or file name to lower case.
by naren1991
Rendering PXCMImage to Image control in WPF
by HateCoding
This tip will show you an example for using R-tree.
by Mike Meinz
Provides a sample program using Google APIs for .NET V3 with YouTube
by kanbang
Save/Load Image between buffer
by Yohamnes Hernandez
How to free blocked files, inclusive if they are mapped in memory. Something that many tools are missing.
by Adamanteus
Intercepting SEH exceptions in C++ program
by Craig Baruffol
A wrapper class to simplify the implementation of a Self Hosted Web API Service
by munagalasantosh
send data to other system using two different ways, one way using IPV6 and other way is IPV4.
by Emiliarge
How to send data to device and receive data from device through COM-port
by Member 11246861
Under laptop's control, microcontroller sends sensor data to laptop that displays numbers and graphic.
by Mohammad Dayyan, VahidJafari
A library for creating .Net Serializable Expressions to send via WCF services
by Tantum
How to show your forms in the current active display on dual (or more) monitors
by Gaurav Aroraa, Mahsa Hassankashi
In this tip, we will create a small utility using C# which tells us whether our API server is up or down.
by Jake Franta
SolidWidgets Grid tutorial.
by sunhui
In this paper, we will discuss some advanced skills for ATL COM development.
by Bhis
Various ways to sort list and compare results
by kennethman
Hide data inside the zip structure of any zip-based file.
by idreeskhan
String interpolation or String handling in C# 6.0 with new feature
by sam stokes
This sample demonstrates how to use the Tile Template, specifically the TileSquareImage and an image.
by Emmery Chrisco
Tabbed Browser Control addon
by Asif Bahrainwala
Atomic set and test in critical sections
by Saad Mousliki
In this tip, I will describe how to implement a cursor controller in your project that use the Kinect to control the mouse of your PC.
by Bimaln
How to fix the "Microsoft.Jet.OLEDB.4.0 provider is not registered on the local machine" error.
by KarstenK
RFC 2617 on the net-platform
by Christopher John Paul
UDP based chat application.
by Saad_Mahmood
Unleashing Path List Box using Expression Blend
by Prabakaran T
Ultimate USB Reset Attribute with powerful option
by BlueMaple_chief
To make a simple auto updater demo, I use webclient 'interfaces' to download the file and monitor the progress.
by bkelly13
Include code from other directories
by Tyronne Thomas
Using C# to monitor the bandwidth for wireless devices.
by Romain Gailleton
A presentation on how to extract data from a Type Library (.tlb) and access COM Binary Interface from C++ using Qt
by Le Sourcier
This tip helps in using font icons as ImageSource.
by Redslide
HttpLib makes it easier to asynchronously consume data from web services in C#. The library contains methods to upload to and download from web services.
by Michael_Lu
Provides tips for exporting documents involving tables connected by relationships
by D4rkTrick
Get manifest support with VC6
by heemanshubhalla
How to use Masked Textbox control in .NET
by JPhelps
Using CFolderPickerDialog
by Member 10168565
How to send emails based on RTF templates containing images and attachments, while giving the user the possibility to modify the content before sending
by prodrigues1990
Easy Assembly Version reflecting SVN working revision
by Joan M
Avoid network problems due to bad network identification on both VMWare virtual adaptors
by Anant Beriwal
How to avoid delay in Object Initialization of WCF client proxy in a Window service
by Đinh Công Thắng
You can fill any form, click any button, and extract any data from web by using Web Automation.
by sonic_youth
This tip will tell you how to add popular web maps such as Google, Nokia, OpenStreet and Yandex maps into a Webix app with just several lines of code.
by Leonid Belousov
This tip shows how to find the default browser command line in registry using Visual C++.
by Chakravarthi Elchuri
How to use WIA supported scanner using C#
by LucianPopescu
If you type "a" instead of "e", you'll get more :) and you don't need a shortcut for that.
by Bruno Tabbia
Automatic positioning and resizing of explorer windows, without overlapping (for obsessive superusers)
by Alexandros Pappas
Windows Services cannot create more than a certain number of processes, whereas Console Applications seem not to have a limit.
by Manish K. Agarwal
Windows symbols and crash dump analysis.
by Oussama_Kahoul
Introduction to WPF technology and the MVVM design pattern
by Emiliarge
Using WindowChrome from Microsoft.Windows.Shell.dll
by Tanna
This is WPF Gradient Control. I didn't find a suitable gradient control which will generate a linear gradient or radial gradient brush. This is a gradient control which has a color selector and gradient generator. It can generate radial or linear gradient brush.
by Dirk Bahle
A message box service implementation that is based on WPF.
by Jdarmanovich
WPF MVVM Binding for Multiple Radio Buttons and Win 8 Metro Theme
by Igor Sorokin
In this article I would like to describe simple WPF application for showing System.Windows.SystemColors list.
by Daniel Lieberwirth (BrainInBlack)
A class representing the state of a connected XBOX 360 controller
by trident99
An STL based simple XML serialization and de-serialization engine
by Anamera
This XSLT will output an Excel worksheet containing a CSV type of record collection in a more usable XML format.
by Steffen Ploetz
Another fully functional ownerdraw menu with minimal effort - this time based on Win32, with icons instead of bitmaps, with accelerators and tested for ReactOS and WinNT 4.0 to Windows 10