People do customize their command window, ya know…

ConsoleColors

How easy it is to assume that the user would’ve standard command window configuration? As seen in the screen-shot above, I ran a tool from Windows DDK (the tool ironically is called LooksGood) and it changed my cmd window color scheme to what it assumed looks good Wink

This used to be a common problem when implementing TSRs in the days of  yore. And, one normally took care to store the original forecolor and backcolor of the user’s DOS screen.

I wonder how many of the new programmers who are now using ConsoleColor and Console.ForeColor might have even heard of TSRs let aside building one.

Anyway, this slipped as part of a tool built by Microsoft is the other irony :) But to do justice to the developer, it is just a tool to assist in development of a printer driver. And, the intended audience is also quite limited. After all, how many people in this world would run a tool to compare the output of a Raster Image Processor (RIP) to a known good source? Unless of course you are implementing an XPS printer! Wink ( http://blogs.msdn.com/xps/archive/2006/06/02/614795.aspx)

 

If you are looking at customizing your cmd window, try the following two links…

Stupid Command Prompt Tricks

Using Consolas as the Windows Console Font

 

 

 

del.icio.us Tags:

Technorati Tags: customize cmd window

IFRAMEs galore?

 

Somebody’s gone overboard with IFRAME usage as this page shows! Is this how one would go about implementing web parts!

IframesGalore50%

Points to ponder:

  • Are so many IFRAMES a good idea? What are the alternatives available?
  • Did you test on a dial-up, poor quality line lately?
  • Are you handling exceptions/server responses properly in your code? 
  • Did you test using the tools at http://www.w3.org/QA/Tools/

Cross-domain requests, cookie trust issues, session management issues…Does anyone even bother for the client nowadays? With such usage of IFRAMES, I am inclined to think negative…