Friday, April 29, 2005
.NET Serialization Tools
Friday, April 22, 2005
Windows Forms .NET: The Official Microsoft Windows Forms Community Site
Thursday, April 21, 2005
Tuesday, April 19, 2005
Monday, April 18, 2005
Coding4Fun: Coding4Fun
Thursday, April 14, 2005
Console with a WinForm
Environment: .NET, C#
Often, you need a console window together with a WinForm application. It can be very handy for debugging purposes while developping, but also for a (temporary) logging of some data. It is very simple to do. The following program demonstrates it, using P/Invoke. Start a new Windows application, drop a CheckBox on the form, name it ViewConsole, and copy the following code into it.using System;
using System.Windows.Forms;
using System.Runtime.InteropServices; // needed to call external
// application (winAPI dll)
namespace WindowsApplication1
{
partial class Form1: Form
{
public Form1()
{
InitializeComponent();
}
private void ViewConsole_CheckedChanged(object sender,
EventArgs e)
{
if (ViewConsole.Checked)
Win32.AllocConsole();
else
Win32.FreeConsole();
}
}
public class Win32
{
[DllImport("kernel32.dll")]
public static extern Boolean AllocConsole();
[DllImport("kernel32.dll")]
public static extern Boolean FreeConsole();
}
}
Tuesday, April 12, 2005
Saturday, April 09, 2005
Displaying Billboards on a Modeless Dialog
Friday, April 08, 2005
Good books on .NET technology
Introductory/Reference .NET intro: Introducing .NET, 3rd Ed (David Platt) VB.NET dev: Introducing Microsoft Visual Basic 2005 for Developers (Kris Horrocks et al) C# dev: Programming C#, 3rd Ed (Jesse Liberty) C# from VB: C# for Java Developers (Allen Jones) Patterns & Architecture Design Patterns: Design Patterns in C# (Stephen John Metsker) Software Construction: Code Complete, Second Edition (Steve McConnell) Components: Programming .NET Components (Juval Lowy) SOA & WSE 2.0: Expert Service-Oriented Architecture in C#: Using the Web Services Enhancements 2.0 (Jeffrey Hasan) Technologies Web: Introducing Microsoft ASP.NET 2.0 (Dino Esposito) Mobile: Microsoft .NET Compact Framework (Core Reference) (Microsoft .NET Compact Framework (Andy Wigley et al) Database: A First Look at Microsoft SQL Server 2005 for Developers (Bob Beauchemin et al) Networking: Microsoft Windows Server 2003 TCP/IP Protocols and Services Tech Ref (Joseph Davies, Thomas Lee) Security Writing Secure Code, 2nd Ed (Michael Howard and David LeBlanc) Threat Modeling (Frank Swiderski, Window Snyder) Assessing Network Security (Ben Smith et al) Game Development Managed DirectX: Managed DirectX Kickstart (Tom Miller) Engine Design: Introduction to 3D Game Engine Design Using Directx 9 and C# (Lynn Thomas Harrison) IT Pro Windows Server: Microsoft Windows Server 2003 Deployment Kit: A Microsoft Resource Kit (MS Corp) Active Directory: Designing a Microsoft Windows Server 2003 Active Directory and Network Infrastructure (Walter Glenn et al) IIS: Internet Information Services (IIS) 6 Resource Kit (IIS Team) Management / Office Office Dev: Microsoft .NET Development for Microsoft Office (Andrew Whitechapel) Project: Microsoft Project 2003 Inside Out (Teresa Stover) |