Quantcast
Channel: Dave Amenta .com » .NET
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

GlobalCommand 3 (.net)

GlobalCommand is a utility for sending commands to the computer via hotkeys (new), or a sequence of keystrokes.  It’s been more than 3 years since GlobalCommand 1.0, and I’ve nearly finished up...

View Article



Image may be NSFW.
Clik here to view.

HowTo: Save and retrieve C# objects in XML

I’ve spent a bit of time tweaking this XML Serialization class I wrote to make use of the System.Xml.Serialization objects Microsoft provides in .NET 2.0. XML Serialization is a great way to store...

View Article

Image may be NSFW.
Clik here to view.

C#: Delete a file to the recycle bin

I had a friend ask me yesterday what the easiest/best way to delete a file to the recycle bin was, in C# that is.  I knew about SHFileOperation, but I didn’t know if .NET 2.0 had native support for...

View Article

Image may be NSFW.
Clik here to view.

C#: Find location of My Documents, Application Data, Program Files and other...

I’ve seen the (perhaps VB-style) way of getting the MyDocuments folder, by using %HOMEDIR%, a batch-style variable.  Some of these environment variables can be modified by navigating to Control Panel...

View Article

Image may be NSFW.
Clik here to view.

C#: URLEncode and URLDecode?

Often one needs to make a call to a webserver in .NET, and just as often there is Querystring data that needs to be sent along with this request. Thanksfully .NET has a great WebClient class in...

View Article


Image may be NSFW.
Clik here to view.

What is P/Invoke (PInvoke)?

P/Invoke, or Pinvoke stands for Platform Invocation Services.  PInvoke is a feature of the Microsoft .NET Frameowrk that allows a developer to make calls to native code inside Dynamic Link Libraries...

View Article

Image may be NSFW.
Clik here to view.

C#: Send text to a pastebin (HttpWebRequest POST example)

I’m working on a small application that hooks into the clipboard monitor chain and displays a list of options whenever text is saved to the clipbaord.  One of the options I wanted was to be able to...

View Article

Image may be NSFW.
Clik here to view.

C#: WebClient Usage

Microsoft has provided a great utility since .NET 1.0 for doing quick I/O via websites.  The WebClient class provides basic functionality for downloading from and uploading to webservers.  the...

View Article


Image may be NSFW.
Clik here to view.

GVNotifier 1.1 adds Google Contacts, Sorting, Search

Screenshots for GVNotifier 1.1: New Features: - Small Font Option - Hide ’406′ area code numbers (Google Voice SMS numbers) - Enter to send Message. - Google Contacts integration - Recent contacts are...

View Article


TraceListener to a textbox

Trace, in System.Diagnostics is useful for determining where an application failed. .NET has build-in support for writing to the console or a file on disk, but it’s a little bit more complicated to...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images