dotnetraj at 12:28:08 pm on
Ever wondered why C# is pronounced C-Sharp and not C-Hash or C-Pound?.. Well if you already play Guitar or ever composed a ringtone for your cell phone you already know what that means...In Guitar for chords based on a chromatic root note (Bb, F# etc), the chords are always listed under the equivalent sharp note. This means that Bb chords are listed as A# and Db as C# and so on...
Flat note Equivalent sharp note
So now you know how to play (with) C#;)
New language G#... on the AOP horizon
Ernest is working on G#(The Generative Programming Language) an Aspect Oriented Language with type-safe code generation capabilities.According to him Its purpose is to generated type-safe code that is injected into a code base at compile-time and run-time. The syntax is a superset of C# 2.0. Unlike other code generation techniques as CodeSmith (Which is a great tool / language), G# is not intended to produce code as a starting point or code for consumption. Instead, G# uses Aspect Oriented Programming (AOP) techniques to inject code into the client code. We will quickly cover the basics of AOP since it is still new to most developers.
dotnetraj at 12:18:57 pm on
you may download G# spec from here
Other interesting read: nemerle language for .NET
Code Camp III - Downloads
dotnetraj at 10:37:31 am on
you may download Code Camp III's session material here
dotnetraj at 10:35:41 am on
dotnetraj at 12:27:44 pm on
Oracle allows users' password to expire. ODP.NET lets applications handle the password expiration by providing a new method, OpenWithNewPassword, that opens the connection with a new password.
The following code snippet uses the OracleConnection OpenWithNewPassword method to connect with a new password of panther:
OracleConnection con = new OracleConnection();
con.ConnectionString = "User Id=scott;Password=tiger;Data Source=oracle;";
// Here the con.Open() fails if the password has expired.
// An application catches this and attempts to reconnect with a new password
// of "panther". The initial connection string must remain intact.
dotnetraj at 9:46:41 am on
Response to Mr. Grimes farewell
dotnetraj at 11:09:12 am on
Some Obfuscators for .NET
Soon - Near-Future Command Scheduler
dotnetraj at 11:44:12 am on
Scheduling a task via At command can some times be tricky. Windows 2000 Resource kit' Soon.exe comes to rescue( though it uses At.exe anyways)
you may download soon from here
But beware of this bug
which warns you that the task may be scheduled for the next day instead of the current day if you specify delay of less than 60 seconds
PS: If you are using Windows Xp/2003 try Schtasks
which is far better than AT or Soon
WinForms 2.0 Bug Reporting challenge
dotnetraj at 11:07:27 pm on
The challenge for the reporting of bugs in Windows form 2.0 is on. For the eligibility and other info follow the link:
dotnetraj at 10:53:37 pm on
want VB.COM.. sign the petition