.Net Pakistan

A platform for .Net Evangelists, where they can indulge their passion with .Net

Wednesday, November 30, 2005

Web Standards and ASP.NET 2.0

While making websites using ASP.NET, a developer always have to decide either his site will be following all W3C standards or he is just another IE fan. Well following standards is no more a problem as Microsoft has a nice article for all of us on "Building ASP.NET 2.0 Web Sites using Web Standards." It is a very comprehensive article covering all aspects of cross browser compatibility with code samples as well. A must read for every web developer.

Click here to read the article.

Branding a SharePoint Portal Site

Before Office 12 gonna redesign the new world, just get to know what will become PAST..

A very cool, appropriate article about branding sharepoint portal. Its for SharePoint 2003.

Click here to get it


Regards,
Wajahat Abbas


www.dotNetPakistan.com

Tuesday, November 29, 2005

TextAlign Property of Windows.Form.Label Control

I was just to hit my head after strucking my hands in this buggy thing. What i want is proper alignment for Label control for English & Arabic, i am working on a mutlilingual C# desktop applicaiton.

I tries a lot to manage it with by setting the property like

this.lblFirstName.TextAlign = System.Drawing.ContentAlignment.TopRight ;

But i didnt get the results, then i realize the buggy thing which is not allowing it to align is that AutoSize property of a label. If you make a control autosize = true, it wont allow you to align this.

After getting it autosize false, it works fine......

Simple thing, but tricky, and even not mentioned in sites....forums..

Regards,
Wajahat Abbas
http://www.wajahatabbas.com
http://www.dotnetpakistan.com




www.dotNetPakistan.com

SQL Server 2000 Case ("COLLATION") problem

The problem that i was facing was with the case sensitiveness of SQL Server.
A default SQL Server installation is case insensitive, which means that SQL Server will not differentiate between upper and lower case characters/letters. That is, "Oracle" is the same as "ORACLE" or "oracle". But when it starts to differentiate, then its a very big problem.
The case problem now is callaed "COLLATION".

The steps to make things rite, do the following.

How to rebuild the master database (Rebuild Master utility)
To rebuild the master database

Shutdown Microsoft� SQL Server? 2000, and then run Rebuildm.exe. This is located in the Program Files\Microsoft SQL Server\80\Tools\Binn directory.


In the Rebuild Master dialog box, click Browse.


In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 compact disc or in the shared network directory from which SQL Server 2000 was installed, and then click OK.


Click Settings. In the Collation Settings dialog box, verify or change settings used for the master database and all other databases.
Initially, the default collation settings are shown, but these may not match the collation selected during setup. You can select the same settings used during setup or select new collation settings. When done, click OK.

In the Rebuild Master dialog box, click Rebuild to start the process.
The Rebuild Master utility reinstalls the master database.

Thursday, November 17, 2005

Office 12 IS OUT -- BETA 1 Ships

Saturday, November 12, 2005

Upcoming Technologies on Microsoft.Net Development Platform: Part I

Check out my new article on second generation of .NET platform available at Longhorn Corner. I'd be happy to hear back from you.

Hammad Rajjoub

Tuesday, November 08, 2005

Ready to Rock: Visual Studio 2005, SQL Server 2005 and BizTalk 2006

Visual Studio 2005, SQL Server 2005 and BizTalk Server 2006 are officially launched. In his keynote speech at the launch, Microsoft CEO, Steve Ballmer shares some facts about the products, then Prashant Sridharan gives exciting demos of BizTalk Server 2006 and its integration with SQL Server 2005 along with an awesome demo of "Office 12".

Later on Brian Goldfarb along with his fellow developer, shows demo of Visual Web Developer Express edition and Club website Starter Kit in action.

Watch the full Launch event!