Archive

Archive for February, 2008

SharePoint Demo

February 28th, 2008 No comments

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/

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: ASP.NET, General

SQL Server 2005 Driver for PHP

February 21st, 2008 No comments

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/

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: PHP, SQL

Connect to Microsoft SQL Server from Java

February 20th, 2008 No comments

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:

1
2
3
4
5
6
7
8
9
10
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Connection conn = DriverManager.getConnection("jdbc:sqlserver://servernameSQLEXPRESSinstance;database=yourdatabase;user=your username");
Statement stmt = conn.createStatement();
 
String qry = "SELECT * FROM yourtable";
ResultSet rs = stmt.executeQuery(qry);
 
while (rs.next()) {
    // code;
}
VN:F [1.9.18_1163]
Rating: 4.7/5 (6 votes cast)
Categories: Java, OpenSource, SQL

Ten Qualities of an Effective Team Player

February 12th, 2008 No comments

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

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

How to disable button after submit – ASP.NET

February 11th, 2008 No comments


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;"

VN:F [1.9.18_1163]
Rating: 4.0/5 (2 votes cast)
Categories: ASP.NET, Web Design

Word Automation with .NET

February 8th, 2008 No comments

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);

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: DOTNET

What’s this (Code Name) Avalon?

February 7th, 2008 No comments

WPF or Windows Presentation Foundation… formerly known as Avalon.

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: WPF-WCF-WF

Reached Level 3 on Yahoo Answers

February 1st, 2008 No comments

Knowledge Sharing continues… :)

VN:F [1.9.18_1163]
Rating: 0.0/5 (0 votes cast)
Categories: General

How to Refresh iFrame

February 1st, 2008 No comments







test contents




VN:F [1.9.18_1163]
Rating: 1.0/5 (1 vote cast)
Categories: Web Design