Welcome To Snipplr
Everyone's Recent C# Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I use these helper methods to create a jQuery based date text box with appropriate short date formatting.
0
1006
posted 14 years ago by nkirkes
Example written 01/13/2011
The following code shows how to implement functionality in your Windows Forms application, such that you'll be able to open a file that is dragged and dropped onto your program's form. This behavior is often desirable fo...
0
1154
posted 14 years ago by kyrathaba
The filter only needs to know which requests need to be returned as JSONP, doesn't care how. Modify "OnBeginRequest" accordinly.
If original .asmx doesn't return JSON, extend it like example shows.
JSONP only works for GET requests, so don't forget...
0
1226
posted 14 years ago by FMalk
requires you to register with USPS.
method requires your USPS API key.
0
1450
posted 14 years ago by RhinoX64
http://www.vbdotnetheaven.com/UploadFile/thiagu304/passdata12262006073406AM/passdata.aspx
0
1051
posted 14 years ago by hairajeshk
Not extensively tested, but seems to work in my sample project.
uses the class I posted here:
http://www.snipplr.com/view/46669/minimist-c-errorlogging-class/
1
2477
posted 14 years ago by kyrathaba
C#
Simplified and Consistent Printing in Silverlight - with Page Margins, Shrink to Fit, and Landscape printing
The following extension method allows you to call Print() on any FrameworkElement, UIElement or group of elements, and print with a variety of settings such as landscape mode, shrink to fit, page centering, and more
0
1357
posted 14 years ago by alishahnovin
"Log in" to Salesforce via this code. Borrowed heavily from URL reference.
1
1289
posted 14 years ago by dotNetkow