PROfile
All time reputation: 59
Achievement
jimfred's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev [Page 1 of 3] Next »
C# speech c#
C# Speech example
posted on October 18, 2011 by jimfred
C#
Get .CFG or .INI filename based on current application name
posted on October 17, 2011 by jimfred
C#
C# example using WeifenLuo.WinFormsUI.Docking.DockPanel from http://sourceforge.net/projects/dockpanelsuite/
posted on August 21, 2011 by jimfred
SQL UNPIVOT
split multiple columns into multiple rows - UNPIVOT
posted on August 2, 2011 by jimfred
C#
Get a web page in a dot.net app.
posted on July 4, 2011 by jimfred
C#
Get current function name
posted on May 24, 2011 by jimfred
C++
MFC, Determine if 'this' app has focus
posted on May 14, 2011 by jimfred
C# visual Studio
Use a Visual Studio embedded resource to store binary blobs of data (like a ZIP file)
posted on May 2, 2011 by jimfred
C++
MFC, Text to clipboard
posted on April 9, 2011 by jimfred
C#
Get assembly name and version into a string.
posted on March 17, 2011 by jimfred
C#
Launch File Explorer for application's current working directory
posted on March 17, 2011 by jimfred
C# RichTextBox
Scroll multiple RichTextBoxes (or TextBoxes) in unison (synchronized scrolling).
posted on March 17, 2011 by jimfred
C# RichTextBox
RichTextBox, append a text string and high-light portions of the string that don't match a reference string.
posted on March 16, 2011 by jimfred
C# saved by 1 person
C#, getting a reference to a property such as CheckBox.Checked
posted on September 12, 2010 by jimfred
C# saved by 1 person
C#, Bind a list of value-name pairs to a combobox
posted on September 11, 2010 by jimfred
C# saved by 1 person
'which' command, in C#
posted on August 9, 2010 by jimfred
C# saved by 2 people
C# WinForm, subclass a Checkbox control to create a better two-state button (Adds Checkbox within a Button)
posted on August 7, 2010 by jimfred
DOS Batch saved by 2 people
Recursively clean Visual Studio SLN files
posted on August 4, 2010 by jimfred
C# saved by 1 person
c#, deep compare
posted on July 15, 2010 by jimfred
C# saved by 2 people
Modal Progress dialog with cancel for time-consuming operations, C#, WinForms
posted on July 6, 2010 by jimfred
C# DIB SystemDrawingBitmap saved by 2 people
Convert a DIB* to a System.Drawing.Bitmap
posted on July 2, 2010 by jimfred
C++ mfc saved by 1 person
MFC, Get default browser using AssocQueryString
posted on June 21, 2010 by jimfred
C++ mfc saved by 1 person
Get a Registry string value as a CString, MFC. Examples to get version of browsers.
posted on June 21, 2010 by jimfred
C++ mfc CreateProcess saved by 1 person
MFC, run command such as "ping 127.0.0.1" and get stdout in a CString.
posted on June 21, 2010 by jimfred
DOS Batch saved by 3 people
Windows .LNK shortcut files, start application using relative rather than absolute paths.
posted on May 13, 2010 by jimfred
C# saved by 1 person
Read all bytes from a file.
posted on March 5, 2010 by jimfred
C++ saved by 1 person
C++, DLL, shared memory using pragma without touching .DEF file
posted on March 2, 2010 by jimfred
C++ saved by 1 person
MFC, edit INI file using ShellExecute
posted on March 1, 2010 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# saved by 1 person
C#, draw sine wave on Bitmap and save to a file
posted on February 4, 2010 by jimfred
C# saved by 1 person
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# saved by 1 person
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