Programming

Download RegEx ( Regular Expression ) Editor for Visual Studio

Regex editor for Visual Studio 2010

When working with RegEx editor in Visual Studio, ita takes a lot of thinking and testing to find out actually if your expression is working. Sometimes you need to run the entire code or at least a test page to get it right. Visual Studio gallery has a new tool, RegEx editor which has its own editor for regular expression and ...

Read More »

Details of Commercial avaibility of Windows Azure Platform

According to newsletter which I had just received, Microsoft has announced the commercial availability of their Windows Azure Platform which includes Windows Azure, SQL Azure, and Windows Azure platform AppFabric. If you had used the CTP version and do not upgrade following will happen after Jan 31 2010 February 1, 2010: CTP accounts will be disabled and any Windows Azure ...

Read More »

Convert HTML to Javascript, PHP and ASP Scripts

Writing HTML codes is not much of a task but creating an equivalent code in Javascript, PHP and ASP is little tough when you have a big piece of code that you need to convert. There are so many parameters and syntax’s you need to take care of that. But we found an escape from that by using Online HTML ...

Read More »

Convert black and white images to Color : Image transformation

If you are looking for a simple but effective software to convert  gray scale ( black and white ) images into Colored images , Check out the Image Transformation Code @ Codeplex.  His idea of converting gray scale to colored image is Gray  = Green * 0.59 + Blue * 0.30 + Red * 0.11 and Each color with structure ...

Read More »

How to handle DBNULL and Date in LINQ to Dataset

Situation : I used a Dataset to map to my Access Database. Once Dataset created we can use it with LINQ like we use LINQ to SQL or LINQ to Entity. Problem: My database allowed to have columns with DB Null specially in case with Dates. Though its not a good idea to have nulls in Date column but its ...

Read More »

Convert HTML to Javascript DOM [ Online Tool ]

There are lot of scenarios where a programmer is required to convert HTML code rendered using Javascript instead of using it directly over the page. HTML2JS is one such online tool which convert well formed HTML code into javascript DOM code and coder can direcly embed in their applications. Just add your well formed HTML into the left text area ...

Read More »

How to install Silverlight tools without internet connection

Recently we underwent training for Microsoft Silverlight and we needed  to install Silverlight tools for Visual Studio 2008. We downloaded Silverlight Tools for Visual Studio installer and started installing but it halted on my machine as I don’t have internet connection availble on my machine. This was a problem because anybody who wants to do it will not be able ...

Read More »

How to use escape sequences in strings using VB.Net

Visual Basic does not support control or special or escape sequences like “\n” ( new line ) or “\t” which forces VB programmers to use constants like ControlChars.Crlf and ConrolChars.Tab. The biggest disadvantage of this is , it makes your code ugly or in technical language less readable. So this is the way we use it without escape characters ‘[ Visual ...

Read More »

5 Wrong ways to check empty strings

It is one of the common mistake that people compare a string with “” or String.Empty in VB.Net or C# to find its empty. Here are few examples. // C# Wrong Ways if ( s == “” ) if ( s == string.Empty ) if ( s.Equals(””) ) if ( s.Equals ( String.Empty) if ( string.Equals(s,””) if ( string.Equals ( ...

Read More »

Generate Hex Code of your name or just any text [ Programming ]

Remember those scare hex code which we used to in machine codes like using 80386 and 8085. I remember how tough was to do that , well not really but yea it was not easy either. Don’t worry I am not asking you to write a code but telling you about another online tool which generates hex code of anything ...

Read More »

XPath Tutorial with Examples

This post is a small introduction for xpath (XML Path Language) is a terse (non-XML) syntax for addressing portions of an XML document. XPath has rapidly been adopted by developers as a small query language. With the increase in usage of xml being sent on internet for transferring data there was huge need of some standard way for accessing data ...

Read More »