Archive for October, 2007

Digital Millennium Copyright Act

As a Cyber Law guy I am interested in these stuff also - http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act

The Digital Millennium Copyright Act (DMCA) is a United States copyright law which implements two 1996 WIPO treaties. It criminalizes production and dissemination of technology, devices, or services that are used to circumvent measures that control access to copyrighted works (commonly known [...]

Leave a Comment

W3C Markup Validator with c#

I developed a HTML/XHTML Validator tool in C# 2.x.

Further development will be based on the user’s response

URL: http://www.ninethsense.com/validator/
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

System.ArgumentException: The serialized data is invalid

Some of you may faced this nasty error. May be while setting up a new web server or after upgrading an ASP.NET project. Well, I didnt not find any 100% good fix for this issue yet. As far as I know, this error occurs only for who have low-speed internet connection and those who [...]

Leave a Comment

BgInfo By Bryce Cogswell

BgInfo from Microsoft (SysInternals !!!)
Somehow I liked the tool BgInfo. I think this tool is helpful for developers and mainly system administrators in networked companies.

BGInfo simply writes a new desktop bitmap and exits you don’t have to worry about it consuming system resources or interfering with other applications.
Link: http://www.microsoft.com/technet/sysinternals/utilities/BgInfo.mspx
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

How to display string in webBrowser Control

DocumentText property of web browser control lets you dynamically display html text.
Simple -
webBrowser1.DocumentText = “PraVeeN“;
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

OVER and WITH in t-sql

OVER Clause
Determines the partitioning and ordering of the rowset before the associated window function is applied.
URL: http://msdn2.microsoft.com/en-us/library/ms189461.aspx

WITH
Specifies a temporary named result set, known as a common table expression (CTE).
URL: http://msdn2.microsoft.com/en-us/library/ms175972.aspx

Below code demonstrates the creation of a temperory table and add a field new field which is an ID field of a sorted column

WITH temp_table AS
(
SELECT [...]

Leave a Comment

Dynamic varialbes from text file - PHP

This code snippet demonstrates how to read a resource file and convert them to php variables:
< ?_php
$arr = file("resource.txt");
foreach ($arr as $key => $value) {
$arr = split(”t”,$value); // tab delimeted. You can use any.
$$arr[0] = $arr[1];
}
//Example - “name” is a word in text tile with ‘tab’ delimeted sample text.
echo $name;
?>
Sample resource.txt file: (tab delimeted)

txt_title hello world
txt_message this [...]

Leave a Comment

Microsoft’s F# - Programming Language

F# is a programming language that provides the much sought-after combination of type safety, performance and scripting, with all the advantages of running on a high-quality, well-supported modern runtime system.
F# is developed by Microsoft Research.
http://research.microsoft.com/fsharp/fsharp.aspx
http://en.wikipedia.org/wiki/F_Sharp_programming_language
 
Sample Code:

(* This is a comment *)
(* Sample hello world program *)
printf “Hello World!”

VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment

I am MVP again!!!

I am again a Visual Developer MVP.
Thanks to the community again
VN:F [1.1.6_502]Rating: 0.0/5 (0 votes cast)

Leave a Comment