C# Information and Books Blog

All about C# download, information, resources and books!

Manually Adding Event Handlers in VB.NET

Typically when we write our code, the event handlers get wired up for us using the handles clause. So we never have to worry about wiring up our event handlers manually.But what about the case where we want to dynamically add a control to our Windows Form or our ASP.NET page? For example, add a button. How would you respond to the button click event? In CSharp, there is no handles clause, so figuring out how to manually wire up the event handler is simply a matter of inspecting the dotNet cod

Rich Encryption Wrapper for .NET

Rich Encryption Wrapper for .NET .NET provides rich support for Encryption in its System.Security.Cryptography namespace. Of late, I was searching for some info when I came across this XCrypt Component for Encryption in .NET. Check it out @ http://www.codeproject.com/csharp/XCrypt.asp It supports almost all Encryption types in .NET and provides an elegant wrapper for the same. It supports both hashing and non-hashing algorithms within it. /* Migrated from namespace LavanyaDeepak

Using VB.NET From CSharp

Back when I was teaching .NET to other programmers regularly, I would frequently get the following question from a VB6 programmer moving to CSharp.“Is there any way of using some of the VB functions I’m used to using within CSharp?”The answer to this question has two parts, which we will explore today. The first part to this question is, “I can’t remember the last time I NEEDED to do this.” Actually, I’ve never needed to do this. It might have made my life a little easier to replace 3 lines of

  

Calendar

July 2009
M T W T F S S
« Jun   Aug »
 12345
6789101112
13141516171819
20212223242526
2728293031