March 2004 Archives

The adventures of Superman and Jerry Seinfeld

| | No TrackBacks

The adventures of Superman and Jerry Seinfeld




Update 2008-11-01: link is dead. I think this YouTube link is like the original but it has subtitles in Spanish. O tempore! O mores!

Accent atlas

| | No TrackBacks

Installer

| | No TrackBacks

.NET code sites

| | No TrackBacks

Cool Excel examples

| | No TrackBacks

MSDN blogs

| | No TrackBacks

Rent-a-Coder

| | No TrackBacks

Maybe I should hire myself out to bidders at Rent-a-Coder. Maybe one day I'll be able to move up into the big leagues where I can make $500 for two months of work.

CornSharp components

| | No TrackBacks

SQL Server credentials and authentication

| | No TrackBacks
SQL Server credentials and authentication NYC helicopter tours

Strong names

Generating drawings/views of C++ code

Design patterns explained

Cool C# resource

Vital .NET development tools

  • Draco, NDoc, NUnit, Nant, Firebird+extensions, Araxis Merge, ieHttpHeaders,
  • Desktop Sidebar, FxCop, SharpReader.
  • NAnt (build system)
  • NDoc (documentation creation)
  • NUnit (TDD fixtures and test harness)
  • CVSNT (source control)
  • TextPad (text editor)
  • Tortoise (Shell-based CVS client)
  • Araxis Merge (3-way merge tool for CVS conflicts)
  • Firebird (Extension-loving browser)

Libraries we use and like enough to recommend to others:

  • dtSearch (Indexing technology)
  • Dundas WebChart
  • Xceed Zip (.NET ZIP wrapper)

Applications

  • FogBUGZ for bug-tracking (sorry Rob!)
  • FinalBuilder for automated builds
  • CodeSMART to add all the Visual Studio features that Microsoft forgot
  • SourceGear Vault for source code control
  • Groove, Yahoo IM, and Windows Messenger for distributed collaboration
  • Ndoc for developer documentation
  • RoboHelp for end-user documentation
  • InstallShield and Wise for installer creation (they tend to keep edging each other out in features as they stagger releases; the new InstallShield DevStudio 9 is very nice)
  • AutoIt for little bits of automation
  • CodeSmith for code generation
  • CodeWright for text editing
  • DevPartner Studio for code analysis
  • dtSearch for finding things in the huge morass of e-mail and docs on my network
  • PaintShop Pro for graphics twiddling
  • XMLSPY for XML editing
  • NUnit for unit testing
  • MindManager for brainstorming
  • VMWare for virtual machines
  • Reflector and ActivXplorer for spelunking

Photo album

| | No TrackBacks

Practical Eye for the .NET Guy

| | No TrackBacks

Practical Eye for the .NET Guy: Introduction to NAnt

Running multiple IE versions side by side

Client/Server Rendezvous: services advertise their presence, and how clients discover them

Microsoft app updater

Flush memory cache

| | No TrackBacks

C++ code to do some sort of low-level memory operation in Windows.

{
  MEMORYSTATUS stat = {0};
  GlobalMemoryStatus (&stat);
  VOID* mem = VirtualAlloc (0,stat.dwAvailPhys,
    MEM_COMMIT,
    PAGE_READWRITE);

  // req to really alloc the pages
  memset (mem,0,stat.dwAvailPhys);
  VirtualFree (mem,0,MEM_RELEASE);
}

Signing a DLL

| | No TrackBacks

Signing a DLL

AL /link:ClassLibrary1.dll  /keyf:keyfile.snk /out:signedlibrary.dll

Using and IDisposable

| | No TrackBacks

Test driven development news group

| | No TrackBacks

RunAs

| | No TrackBacks

RunAs

set WshShell = CreateObject("WScript.Shell")
WshShell.Run "runas /user:Serdar ""e:test.bat"""
WScript.Sleep 100
WshShell.Sendkeys "password~"

C# to HTML

Neo (open source code generator)

| | No TrackBacks

Neo (open source code generator)
Neo generates entity classes and database tables (only SQL Server as yet) from an XML schema, and provides typed collections, factories, query objects.

OLAP services (Microsoft SQL Server Analysis Services)

| | No TrackBacks

OLAP services (Microsoft SQL Server Analysis Services)

OLAP articles on MSDN

Administering and scheduling Analysis Services tasks

1. Create a DTS package that processes objects in Analysis Services. 
a. Create an Analysis Services processing task.
b. (Optional.) Add connections and other tasks to the package.
c. Save the package. 
2. Schedule and execute the package. 

DTS overview

MS OLAP articles

FreeTextBox

| | No TrackBacks

ASP.NET control to write HTML

[FreeTextBox]

Alternative browsers

[Opera 7.23]

[Mozilla 1.5]

Managed code wrapper for DDE

In Search of Robust, Secure IPC for .NET
Shawn Van Ness

.NET Remoting Services are the recommended solution for interprocess communications in .NET, but there are many scenarios where .NET Remoting won't work. Shawn shows how to get simple, intrasession IPC messaging in .NET by creating a managed library for good old Dynamic Data Exchange (DDE).

[Download]

WinDiff binaries

| | No TrackBacks

Grokker

| | No TrackBacks

Zip code animation

| | No TrackBacks

RSS add-in for Microsoft Outlook (intraVnews 1.0)

| | No TrackBacks

RSS add-in for Microsoft Outlook (intraVnews 1.0)

intraVnews is a state of the art news aggregator that turns Microsoft Outlook into a news reader. With intraVnews you can subscribe to any of 1000's of syndicated feeds from personal weblogs (Blogs) to mainstream news sources to specialist publications. You never have to leave Outlook again to keep up with changes on the web or your intranet. Best of all, it's Free for personal use.

DTS bug fixes

| | No TrackBacks

DTS bug fixes

CRC in .NET

Measuring memory in a .NET app

GC.Collect();
GC.WaitForPendingFinalizers();
Console.WriteLine("Mem=" + System.Diagnostics.Process.GetCurrentProcess().PrivateMemorySize.ToString());

Sending email from a WinForms app
This will pop open a new message for their default mail client.

System.Diagnostics.Process.Start("Mailto:");

Add a local user account programmatically

| | No TrackBacks

School of Athens

| | No TrackBacks

Keyboard accelerators

| | No TrackBacks

Keyboard accelerators
CTRL+* = Expand ListView columns to proper width
CTRL+SHIFT+ESC = Task Manager

[Disk shadow copies]
[RoboCopy]
[Google date test 'nets US fugitive']
[infosecdaily: Daily computer security information]
[Spam Filtering: The False Positive]

The 101 Dumbest Moments in Business: 2004 edition

| | No TrackBacks

ADO and ADO.NET connection strings

| | No TrackBacks

Multithreading in .NET

| | No TrackBacks

URLs and IE/mail readers

| | No TrackBacks

URLs and IE/mail readers

  1. SellsBrothers
  2. Chez Tabor
  3. WinWonk

Yahoo ad filter

| | No TrackBacks

hostname

| | No TrackBacks

Writing hostname in C#

static void Main(string[] args)
{
	String s = System.Net.Dns.GetHostName ();
	Console.WriteLine (s);
}

COM ATL header I use:

//>>> These are required for creating 
// com components, CComPtr, CComBSTR,
CComPtr and CComQIPtr.
#include 
extern CComModule _Module;
#include 
#include 
#include 
//<<<

#import "msxml.dll" \
			rename_namespace( "MSXML" ) \
			named_guids no_implementation \
			raw_interfaces_only \
			raw_native_types
using namespace MSXML;

Some sort of javascript for loading XML and applying an XSL style.

<title>Test of XML/XSL</title>
<script language="jscript">
function setInnerHTML ()
{
	var XMLDoc = new ActiveXObject('Microsoft.XMLDOM');
	XMLDoc.async = false;
	XMLDoc.load ('av.xml');
	var XSLDoc = new ActiveXObject('Microsoft.XMLDOM');
	XSLDoc.async = false;
	XSLDoc.load ('av.xsl');

	var result;
	try
	{
		var doc = XSLDoc.documentElement;
		result = XMLDoc
			.documentElement.transformNode(doc);
	}
	catch (err)
	{
		window.alert (err.description);
	}
	//window.alert (result);
	insertHTML.innerHTML = result;
}
</script>
<div id="insertHTML"></div>

C# code to get .config settings into in-memory data structure.

// Gather .config settings
NameValueCollection settings = 
    ConfigurationSettings.AppSettings;
string              user = settings["user"];
string              password = settings["password"];
string              nickname = settings["nickname"];

The matching XML data

<configuration>
    <appsettings>
        <add key="user" value="user@server.com">
        <add key="password" value="password">
        <add key="nickname" value="Sells Brothers IM client">
    </add>
</add>

[RSS incompatibilities]

Mp3 Tag Tools

| | No TrackBacks

SourceForge Mp3 Tag Tools

Contents of msdata namespace
MicroSoft

ChezTabor
ImageExplorer/

Windows hotkeys

| | No TrackBacks

Windows hotkeys

seoconsultants TechTV
Windows: Display Start menu.
Windows + D: Minimize or restore all Windows.
Windows + E: Display Windows Explorer.
Windows + Tab: Cycle through buttons on taskbar.
Windows + F: Display find: all files.
Windows + Ctrl + F: Display find: computer.
Windows + F1: Display Help.
Windows + R: Display Run command.
Windows + break: Display system properties dialog box.
Windows + shift + M: Undo minimize all windows.

CalvinBall rules

| | No TrackBacks

Advanced WinForms layout

| | No TrackBacks

Front page news

| | No TrackBacks

Investing terms

| | No TrackBacks

Garbage collection

| | No TrackBacks

Article on Indigo

| | No TrackBacks

Memory diagnostic

| | No TrackBacks

Memory diagnostic

Google page rank

| | No TrackBacks

The Google PageRank Report will check the Google PageRank values for the list of URLs you enter into the form below.

[Google page rank]

Process monitor

| | No TrackBacks

Ockham's razor

| | No TrackBacks

Turtles all the way down

| | No TrackBacks

Test driven development

| | No TrackBacks

Open Source C# code for gallery of photos

| | No TrackBacks

Assoc and ftype

| | No TrackBacks

Assoc and ftype

C:\>assoc .txt=Wordpad.Document.1

C:\>ftype txtfile="%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE" "%1"

C:\>ftype txtfile
txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

C:\>assoc .txt
.txt=txtfile

C:\>assoc txtfile
txtfile=Text Document

Strong names

Customizing the Windows Forms DataGrid

| | No TrackBacks

Offline file shares

| | No TrackBacks

LINKD

| | No TrackBacks

LINKD

WsContractFirst
VS addin for developing Web Services

User interface gallery

| | No TrackBacks

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.32-en

About this Archive

This page is an archive of entries from March 2004 listed from newest to oldest.

April 2004 is the next archive.

Find recent content on the main index or look in the archives to find all content.