jimfred


Member since 11/12/2008

Name: Jim Frederick

Location: Temecula, CA

9 snippets

2367 profile views

7 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

jimfred's Recent SnippetsTagged c



« Prev 1 Next »
Example code to exercise a Crystalfontz 533 display from a 8051 using Keil C51.
0 775 posted 14 years ago by jimfred
From Keil C51 examples, TEST.C: ISD51 Demo for TI MSC 1210. Polled (non-interrupt) mode. Work-around for dropped-characters related to stop-bit problem: Clear SCON1.5 (or SM2_1).
0 737 posted 14 years ago by jimfred
Displaying values as hex in a PropertyGrid by using a TypeConverter class. The TypeConverter class is assigned as a property to the PropertyGrid's data element. Consider improving by making the UInt32HexTypeConverter a generic/template as in HexTy...
0 1287 posted 14 years ago by jimfred
This OnSize function resizes one large control in a dialog. The one control grows horizontally and vertically to fill the dialog. It's position remains unchanged. Other controls (buttons etc) would typically be above the one resizable control.
0 2437 posted 14 years ago by jimfred
Sometimes I want a complete path to a file in the current working directory to make error messages clearer. The URL has alternate approaches.
0 708 posted 15 years ago by jimfred
This uses the concatenation operator "##" to insert a comment "//"
0 2358 posted 15 years ago by jimfred
This function provides C# with functionality similar to the apparently deprecated my.Computer.FileSystem.FindInFiles under the Microsoft.VisualBasic namespace. Example usage: IEnumerable<string> oemFiles = FindInFiles(...
1 1073 posted 15 years ago by jimfred
The Visual Studio output window will display "Detected memory leaks!" with a memory allocation number, for example, {145}. See Memory Leak Detection Enabling. Using the debugger (without changing code) see: http://msdn.microsoft.com/en-us/library/...
1 1200 posted 15 years ago by jimfred
« Prev 1 Next »