jimfred's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 3] Next »
C#
Read all bytes from a file.
posted 2 weeks ago by jimfred
C++
C++, DLL, shared memory using pragma. .DEF file can remain unchanged.
posted 3 weeks ago by jimfred
C++
MFC, edit INI file using ShellExecute
posted 3 weeks ago by jimfred
C++
trivial example, C++, gcc, using simpleIni.h
posted on February 24, 2010 by jimfred
C#
C# WinForm, cause 'close' ('X') to hide instead of disposing by handling the WM_CLOSE message in WndProc.
posted on February 10, 2010 by jimfred
C#
C#, draw sine wave on Bitmap and save to a file
posted on February 4, 2010 by jimfred
C#
C#, convert a double-null-terminated string to an array of strings.
posted on January 29, 2010 by jimfred
C#
#if defined( DEBUG) in C# - use [Conditional("DEBUG")]
posted on January 29, 2010 by jimfred
C c C51 CrystalFontz
Crystalfontz 533 code using Keil C51
posted on January 7, 2010 by jimfred
C c C51
Keil C51 character echo test for UART1
posted on January 6, 2010 by jimfred
C#
DataVisualization.Charting.Chart simple example
posted on December 22, 2009 by jimfred
C#
Linear interpolation, C#
posted on December 21, 2009 by jimfred
C++ mfc
MFC, append text to textbox
posted on December 18, 2009 by jimfred
C++
MFC, CImage, CMitmap, draw a sine wave and save to a BMP file.
posted on December 16, 2009 by jimfred
C++
MFC, browse CWD
posted on December 15, 2009 by jimfred
C#
Google Protocol Buffers, usage in C#, using Jon Skeet's protobuf-csharp-port
posted on December 8, 2009 by jimfred
C# saved by 2 people
Trivial JSON example, serialization and deserialization
posted on December 2, 2009 by jimfred
C# usb Interop DeviceIOControl Cypress FX2
C# Cypress EEPROM Utility with interop calls to deviceIoControl for access to USB driver.
posted on November 28, 2009 by jimfred
C#
Input Box, similar to MessageBox, displays a prompt and accepts a string from the user.
posted on November 20, 2009 by jimfred
C++ mfc
MFC, How to avoid closing of the dialog boxes when ESCAPE key or ENTER key is pressed.
posted on November 8, 2009 by jimfred
C#
c#, resize dialog while maintaining aspect ratio by intercepting the WM_SIZING method in WndProc
posted on October 6, 2009 by jimfred
C#
Render names of C# bitfields using enums and FlagsAttribute
posted on September 14, 2009 by jimfred
C# saved by 1 person
C#, single-instance-check using mutex
posted on September 4, 2009 by jimfred
C# saved by 1 person
C#, Get application name
posted on September 4, 2009 by jimfred
C# saved by 1 person
C# reflection to display a struct's members with their descriptions
posted on August 28, 2009 by jimfred