June 2010 - Posts

Preview a web page in different versions of IE

I used Multiple_IE in the past when I wanted to test and verify something of my developed web app across browsers.

Today, I try to download the Microsoft Expression Web SuperPreview for Windows Internet Explorer, it is simply do the job correctly and also provide other useful features, such as change of screen resolution, details of DOM code etc.

If you need to preview a web page or test browsers compatibility (for IE only, not comparing with FireFox or Chrome), I'd highly recommend you to give it a try (and it's free).

Posted by Colt | with no comments
Filed under:

JavaScript tips

I was writing a lot of jQuery and JavaScript this weekend, and two tips that I would like to jot down for future reference:

1. Place open brace on new line in Visual Studio

I used to place open brace on new line, so my codes would look more tidy with proper indentation.

Enable this feature in Visual Studio: Tools > Options > Text Editor > JScript > New Lines

2. No function overloading in JavaScript

I thought JavaScript is similar to C#, so I wrote few functions with different signatures. However, the fact is not and it doesn't work like as I expected. <sigh>

Posted by Colt | 5 comment(s)
Filed under:

Register Schema Master in Active Directory

In order to view the complete schema in AD, I have to register the schmmgmt.dll and then open a snap in in MMC, the steps can be summarized as:

  1. Go to CMD> Windows System Folder > System32 folder
  2. Type in "regsvr32 schmmgmt.dll"
  3. Open MMC > File > Add/Remove Snap-In > Active Directory Schema
  4. Then I can browser all available attributes in this AD Schema

 

Posted by Colt | 41 comment(s)
Filed under:
More Posts