Category Archives: .NET

Write a Windows Console Application in C# that uses Twitter (and do it in 30 minutes or less)

I decided to write a program called “microSpeak140″ that would be a Windows command-line tool to let me post Twitter updates. The reason for such a seemingly useless tool comes from an idea I had about subscription-based communication to unmanned … Continue reading

Posted in .NET, Programming | Comments Off

Pipe Stdin to a C# program and filter out data

I need a program that will filter command line input, and strip out CR+LF from any line that has a certain text. Solution (in C#): http://www.mrrives.com/Programming/Filter/Filter.cs And the EXE file: http://www.mrrives.com/Programming/Filter/Filter.exe Here is the code (simple): using System; using System.Collections.Generic; … Continue reading

Posted in .NET, Programming | Comments Off

Part 1: Building an ActiveX Control in C# (with CAB file via CabArc)

I will show you how to write MyActiveX.cs, turn it into a DLL, place it on an HTML page and distribute it with a CAB file. But I will start in reverse order. I will start with the HTML code … Continue reading

Posted in .NET, Programming | Comments Off