ToughDev

Code. Crack. Create. Contribute

  • Blog
  • Software
  • Hardware
  • VoIP
  • Microcontroller
  • Radio/TV
  • Retro
  • Reviews
  • Highlights
  • Reverse-engineer
  • About Us

.NET Framework

.NET Framework C# CodeProject 

P/Invoking C++ callback functions crashes when .NET application is not in focus

May 13, 2009April 4, 2023 ToughDev 0 Comment

A C++ DLL exports one function having its only parameter as a pointer to another function: #define AFX_EXT_CLASS __declspec(dllexport)typedef void

Read more
.NET Framework 

Form.Show() and Form.ShowDialog()

April 13, 2009May 4, 2023 ToughDev 0 Comment

Form.Show() is an asynchronous call. Subsequent section of codes will run while the form is being loaded. Form.ShowDialog() is a

Read more
.NET Framework Microsoft Visual Studio 

Configuring Visual Studio to Debug .NET Framework Source Code

April 5, 2009May 4, 2023 ToughDev 0 Comment

1. Install the Visual Studio 2008 QFE. Note this functionality is not available on the Express versions of the Visual

Read more
.NET Framework 

Validate text using RegEx

April 4, 2009 ToughDev 0 Comment

‘Email address: Regex.IsMatch(Me.txtEmail.Text, “w+([-+.’]w+)*@w+([-.]w+)*.w+([-.]w+)*”) ‘Alpha-numeric (no space): Regex.IsMatch(Me.txtUsername.Text, “^[0-9a-zA-Z]+$”) ‘Alpha-numeric with space, at least 5 chars:Regex.IsMatch(Me.txtUsername.Text, “[0-9a-zA-Z’ ‘]{5,} )

Read more
.NET Framework 

Application.DoEvents and MessageBox

April 1, 2009 ToughDev 0 Comment

If the user clicks ‘Yes’, the following will close the messagebox first before doing any other thing. Private Sub TestMsgBox()

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
.NET Framework 

VB.NET With statement

February 28, 2009 ToughDev 0 Comment

The following code will run flawlessly but at the end, Obj will still contain the assigned properties (.prop1 = 0

Read more
.NET Framework 

How to get path of the current system’s temporary folder using .NET

February 22, 2009 ToughDev 0 Comment

Temporary folders are useful to store simple logs during execution of the program. It is also used for storing the

Read more
.NET Framework 

How to disable WebBrowser control’s ‘click sound’

February 18, 2009 ToughDev 1 Comment

Depending on system preferences (in Control Panel/Sounds), the .NET WebBrowser control (just like Internet Explorer) may produce a click sound

Read more
.NET Framework 

XML Serializable Dictionary in .NET

January 29, 2009 ToughDev 0 Comment

For some reason, the generic Dictionary in .NET 2.0 is not XML serializable. The following code snippet is a XML

Read more
.NET Framework 

Make a .NET application run at startup

October 30, 2008 ToughDev 0 Comment

Only applicable to .Net desktop application. For .NET compact framework application, use SHCreateShortcut and creates a shortcut in WindowsStartup folder.

Read more
.NET Framework 

Toggle Button in .NET

October 26, 2008 ToughDev 0 Comment

Ever wondered how to create a button which toggles it’s state in C# windows Forms? It used to exist in

Read more
.NET Framework C# VB.NET 

Late-binding in .NET

October 22, 2008 ToughDev 0 Comment

Early-binding: Variable types are defined at compile time (e.g. string, integers): String st = “hello world”;Boolean ok = st.Contains(“hello”); The

Read more
.NET Framework 

TrustFailure exception during HTTPWebRequest via HTTPS connection

October 16, 2008 ToughDev 0 Comment

If an HTTPWebRequest is made via a secure connection (HTTPS) and the certificate is not trusted, a WebException with Exception.Status

Read more
.NET Framework 

Serializing/De-serializing an ArrayList

October 8, 2008 ToughDev 0 Comment

Declarations: ‘Type of each element in the ArrayListPublic Structure ArrayListEntry…End Structure ‘ArrayList containing elements of above typePublic myArrayList As New

Read more
  • ← Previous
  • Next →

About ToughDev

Since 2008, ToughDev has explored embedded systems, software development, reverse engineering, and retro computing, bridging legacy hardware with modern software.

Recent projects include the Super 8086 Box PC XT emulator, the dsMP3 embedded radio, and detailed teardowns of vintage PCs such as the Tandy 2500RSX.

Beyond publishing technical research, ToughDev also provides consulting and custom development services in embedded systems, mobile applications, VoIP, microcontroller firmware, and integration with vintage or undocumented hardware platforms.

Schedule a Consultation Contact Webmaster

Recent Comments

  • MIDImusician on Super 8086 Box, my home-built PC XT emulator with Adlib, MPU-401, joystick and NE2000 support
  • ToughDev on Super 8086 Box, my home-built PC XT emulator with Adlib, MPU-401, joystick and NE2000 support
  • MIDImusician on Super 8086 Box, my home-built PC XT emulator with Adlib, MPU-401, joystick and NE2000 support
  • ChrisD on V380 Pro wireless CCTV camera with night vision and RTSP support
  • ToughDev on V380 Pro wireless CCTV camera with night vision and RTSP support
  • ChrisD on V380 Pro wireless CCTV camera with night vision and RTSP support
  • ToughDev on V380 Pro wireless CCTV camera with night vision and RTSP support
  • ChrisD on V380 Pro wireless CCTV camera with night vision and RTSP support
  • OCTAGRAM on Emulating dual Hercules+CGA monitors setup with DOSBox
  • Daniel on Fujitsu Siemens FSC Futro S210 thin client
  • Claribel F. Aviles on Free USA DID Number
  • ToughDev on Programming the Tektronix TDS 340 100MHz digital storage oscilloscope
  • LINTON BROWN on Programming the Tektronix TDS 340 100MHz digital storage oscilloscope
  • Ed on Integrating DigiCert Click-to-Sign with InstallShield to sign both setup.exe and bundled MSI file
  • raymai97 on Open Windows Write (WRI) files on Windows 11 using legacy versions of WordPad
  • N8VES on Portable 500m AM transmitter from AliExpress
  • ToughDev on Super 8086 Box, my home-built PC XT emulator with Adlib, MPU-401, joystick and NE2000 support
  • Snocrash on Super 8086 Box, my home-built PC XT emulator with Adlib, MPU-401, joystick and NE2000 support
  • ToughDev on Repairing a vintage Macintosh SE/30
  • ToughDev on Compaq Contura 3/25C 80386 Laptop
Follow @mrtoughdev

Tags

3cx 68k 80386 adlib amiga c++ call control api cctv ch375 ch376 commodore data recovery deskmate dosbox dspic embedded ffmpeg intel atom iOS macintosh macintosh se mac os microsoft office mini pc ms dos printer radio raspberry pi retro68 rf rtsp scsi2sd tecsun turbo c turbo pascal ubuntu virtualbox wifi windows windows 11 windows 98 WordPress word processor xCode z80

Archives

  • 2026 (1)
  • 2025 (12)
  • 2024 (12)
  • 2023 (14)
  • 2022 (12)
  • 2021 (12)
  • 2020 (12)
  • 2019 (12)
  • 2018 (13)
  • 2017 (12)
  • 2016 (13)
  • 2015 (29)
  • 2014 (17)
  • 2013 (16)
  • 2012 (12)
  • 2011 (16)
  • 2010 (30)
  • 2009 (53)
  • 2008 (53)

Featured

Mobile Development
VoIP
Macintosh 68k
Logic Analyzer
Microcontroller
Oscilloscope
Radio/TV
Reverse-engineer

Tools

Site Admin
Entries RSS
Comments RSS
Contact Webmaster
Copyright © 2026 ToughDev. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.