Arrow You can support further development of the software and help cover the website hosting costs by making a small donation.

Arrow If you have any comments or suggestions regarding the software or this website, click here to contact the author.

Programming

This page contains some source code pieces extracted from my programs that I'd like to share with everyone, hoping that they'll be useful in your own projects. Unless otherwise noted, all the code listed on this page will compile with PureBasic while the wrapped libraries themselves will compile with PellesC. If you have suggestions / bug reports regarding the code here, please let me know.

ButtonGadgetEx include

Information about the code:

  • Download: ButtonGadgetEx.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 29 Aug 2011
  • Description: Include file for creating ownerdrawn buttons (with image and text support) that are theme aware and support Unicode.

SHA256 hash include

Information about the code:

  • Download: SHA256.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 16 Jun 2011
  • Description: Wrapper for the public domain SHA256 code that was created and used by Igor Pavlov in his great 7-Zip program.

Set file ownership

Information about the code:

  • Download: SetFileOwnership.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 30 Aug 2011
  • Description: Demonstration on how to set a new owner for a file on NT family operating systems.

Delete IE autocomplete / passwords

Information about the code:

  • Download: DeleteIEStuff.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 29 Aug 2011
  • Description: This code shows how to delete Internet Explorer form data (aka AutoComplete) and the stored passwords.

Encrypt code in executables

Information about the code:

  • Download: EncryptExeCode.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 30 Aug 2011
  • Description: This code demonstrates a simple way to encrypt certain code areas in PureBasic executables.

Navigation in Regedit

Information about the code:

  • Download: Regedit.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 30 Aug 2011
  • Description: Shows how to open regedit and navigate to the desired key and value automatically.

Calculate remaining time

Information about the code:

  • Download: CalcTime.zip
  • Compiles with: PureBasic 4.51
  • Last updated: 29 Apr 2011
  • Description: This code demonstrates a simple way to calculate the estimated remaining time until an operation is finished based on the time it started and its current state of progress.