NinethSense oWnZ mE!: Praveen’s drawing book

Choose a Topic:

Thu
28
Feb '08

SharePoint Demo

Looking for a SharePoint portal demo site? - here is one - http://www.wssdemo.com/
And here is a huge list - http://www.wssdemo.com/Pages/websites.aspx

Also, do you know microsoft.com is done with SharePoint?

Here are some SharePoint community websites:

http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=328&SiteID=1
http://sharepoint.microsoft.com/sharepoint/forums/default.aspx
http://www.sharepointbuzz.com/
http://community.officesharepointpro.com/forums/
http://suguk.org/
Thu
21
Feb '08

SQL Server 2005 Driver for PHP

SQL Server 2005 Driver for PHP CTP (Community Technology Preview - February 2008) is avaialble for download.

Click here to download.



You can visit the SQL Server 2005 Driver for PHP Team Blog at http://blogs.msdn.com/sqlphp/
Wed
20
Feb '08

Connect to Microsoft SQL Server from Java

Here is the way you can connect to your Microsoft SQL Server 2005 from your java application via JDBC.

First you need to download the Microsoft SQL Server 2005 JDBC Driver.
You will get sqljdbc.jar which is all you needed. As a java programmer, you know how to use this, right? ;)

You will get a user manual along with this download. Follow the instructions. Or here is a sample code for your quick reference:

 
Class.forName(“com.microsoft.sqlserver.jdbc.SQLServerDriver”);
Connection conn = DriverManager.getConnection(“jdbc:sqlserver://servername\SQLEXPRESSinstance;database=yourdatabase;user=your username”);
Statement stmt = conn.createStatement();
		
String qry = “SELECT * FROM yourtable”;
ResultSet rs = stmt.executeQuery(qry);
 
while (rs.next()) {
    // code;
}
Tue
12
Feb '08

Ten Qualities of an Effective Team Player

I just got an interesting article on “Ten Qualities of an Effective Team Player”.

URL: http://www.allbusiness.com/human-resources/employee-development-team-building/8516-1.html
Mon
11
Feb '08

How to disable button after submit - ASP.NET

 
Button1.Attributes.Add(“onclick”, ClientScript.GetPostBackEventReference(Button1,“”) + “;
this.value=’Please wait…’;this.disabled = true;”);


If you check the source after rendering, it will look like this:
 
onclick=“__doPostBack(’Button1′,'’);this.value=’Please wait…’;this.disabled = true;”
Fri
8
Feb '08

Word Automation with .NET

First refer COM objects - Microsoft Office xx.xx Object Libraryand Microsoft Word xx.xx Object Library

Here is the C# code for reading a word document:
 
Microsoft.Office.Interop.Word.Application oWord = new Microsoft.Office.Interop.Word.Application();
object ofilename = @“C:\testdoc.doc”;
object o = System.Reflection.Missing.Value;
object oreadonly = true;
object ovisible = false;
Microsoft.Office.Interop.Word.Document oDoc = oWord.Documents.Open(ref ofilename, ref o, ref oreadonly
    , ref o, ref o, ref o, ref o, ref o, ref o, ref o, ref o, ref ovisible, ref o, ref o, ref o, ref o);
 
textBox1.Text = oDoc.Content.Text; // contents available here
 
//Do not forget to quit other wize it will keep running in background
oDoc.Close(ref o, ref o, ref o);
oWord.Quit(ref o, ref o, ref o);
Thu
7
Feb '08

What’s this (Code Name) Avalon?

WPF or Windows Presentation Foundation… formerly known as Avalon.
Fri
1
Feb '08

Reached Level 3 on Yahoo Answers

Knowledge Sharing continues… :)

'

How to Refresh iFrame

 
<html>
<head>
<script language=“javascript”>
	function reload() {
		fr = document.getElementById("iframe1");
		fr.src = fr.src;
	}
	
</script>
</head>
<body>
test contents
<input type=“button” value=“Click to refresh iframe” onClick=“reload()”/>
<hr />
<iframe id=“iframe1″ src=“http://www.pitsolutions.com/”>
</iframe></body>
</html>
The CodeProject Microsoft Developer Network Official ASP.NET Forums Microsoft .NET Framework Community Microsoft Most Valuable Professional Kidoos forums Microsoft Visual Studio Developer Home Professional Information Technology Solutions Microsoft Research Home Trivandrum Microsoft Users Group Community Website