ToughDev

We Love Technical Sharing!

  • Home
  • Software Development
  • Hardware
  • Vintage Computing
  • Terms Of Use

Win32 API

Win32 API 

Open a file with its default viewer using Windows API in C

March 19, 2009November 9, 2016 ToughDev 0 Comment

The following will open a file with its default viewer. The behaviour is exactly the same as what will happen

Read more
.NET Framework Win32 API 

Allow only digits in textbox

March 14, 2009 ToughDev 0 Comment

The following code apply ES_NUMBER to allow only digits to be typed into the edit control. Public Const GWL_STYLE As

Read more
Win32 API 

MessageBox with Help button

January 11, 2009 ToughDev 0 Comment

Showing a four-button message box with the default set to the fourth button: int WINAPI WinMain(HINSTANCE hinst, HINSTANCE hinstPrev, LPSTR

Read more
Win32 API 

Distinguish between different Windows versions

November 4, 2008 ToughDev 0 Comment

1. Check if Environment.OSVesion.Platform returns WIN32NT (for Win3.1, Win95, Win98, WinME) or WIN32Windows (for WinNT and later) or WinCE (for

Read more
Win32 API 

Kill a process given its executable name.

October 13, 2008 ToughDev 0 Comment

BOOL KillProcessByName(const TCHAR* p_strEXE) { printf(“Attempting to terminate “); OutputDebugString(p_strEXE); printf(“n”); HANDLE hSnapShot = NULL; PROCESSENTRY32 pEntry = {0}; //

Read more

Tweets by mrtoughdev
Follow @mrtoughdev

Recent Comments

  • Eddiepar on Brother Super PowerNote PN-8500MDSe vintage word processor
  • RosarioLob on Brother Super PowerNote PN-8500MDSe vintage word processor
  • ToughDev on Brother Super PowerNote PN-8500MDSe vintage word processor
  • Alex on Brother Super PowerNote PN-8500MDSe vintage word processor
  • Roger Mullins on Brother Super PowerNote PN-8500MDSe vintage word processor

Categories

  • .NET Compact Framework
  • .NET Framework
  • 3CX
  • Android
  • ASP/ASP.NET
  • Blackberry
  • Blogger
  • Bluemix
  • C#
  • Database
  • DirectShow
  • FreePBX
  • General Programming
  • GPS
  • Hardware
  • Hoiio
  • I2C
  • iOS
  • LCD Modules
  • Linux
  • Logic Analyzer
  • Mac OS
  • Microcontroller
  • Microsoft Office
  • Microsoft Virtual PC
  • Microsoft Visual Studio
  • Mobile Development
  • Networking
  • Objective-C
  • Office OneNote
  • Oscilloscope
  • PDF
  • PHP
  • Research
  • Reverse-engineer
  • Scriptcase
  • SMS Migration
  • Software Development
  • Speech
  • SPI
  • Telerik
  • Tips & Tricks
  • USB to Serial
  • Useful Projects
  • VB.NET
  • Vintage Computing
  • VmWare
  • VoIP
  • Web Development
  • Web Hosting
  • Wikipedia
  • Win32 API
  • Windows Embedded
  • Windows Mobile
  • Windows Phone 7
  • Windows Tips
  • Xcode

Tools

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org


ToughDev - We Love Technical Sharing! - Blog Directory OnToplist.com

blog search engine
blog search engine


Copyright © 2023 ToughDev. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.