Tuesday, August 08, 2006

Print Button For any Web application..

Switch to HTML View.

In the 'head' section of your code, put:
'SCRIPT Language="Javascript"'
function printthis(){
if (NS) {
window.print() ;
} else {
var WebBrowser = '';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box WebBrowser1.outerHTML = "";
}
}
'/script'
In the 'body' section of your code put:
'script Language="Javascript"'
var NS = (navigator.appName == "Netscape");
var VERSION = parseInt(navigator.appVersion);
if (VERSION > 3) {
document.write('
');
}
'/script'
This is working code and applicable at any web application..
Cheers,
D. Nitin

Sunday, July 16, 2006

Ruby programmers to get Visual Studio link


The artical by Paul Krill
Developers involved in the Sapphire in Steel project are building the software product, which will be called Ruby in Steel and sold by a soon-to-be-formed company named SapphireSteel Software. Ruby in Steel will plug into Visual Studio to blend the benefits of Microsoft's development environment with Ruby technologies, said Huw Collingbourne, who is involved in documenting Ruby in Steel in the United Kingdom.

Here you will find out some detail information about ruby for visual studio 2005 developer.

Saturday, June 10, 2006

IF-Else condition in SQL query

In Expression, you can use the CASE Statements to acieve the IF ELSE IF functionality

CASE WHEN Source1.FIELD1 IS NULL THEN Source2.FIELD1
WHEN Source2.FIELD1 IS NULL THEN Source3.FIELD1
ELSE Source1.FIELD1
END


Hope you can do now.
Regards,
N. Boralkar
India

About Me

Software Professional