Skip to main content

Posts

Won an article contest !!

One of my article has won last months (Feb 2004) article contest at developershed.com. As of now my name and the article title is displayed in the site. They are yet to point the title to my article. Hopefully they would do at least before end of March :) For further details check out http://www.developershed.com/contest.php

Using accesskeys for previous/next

I happened to read http://linuxtoday.com/news_story.php3?ltsn=2004-02-24-023-26-OP-CY-DV-0100 wherein it was said that accesskeys for previous or next is as follows: 1. Mozilla/Netscape: Ctrl+Alt+P or Ctrl+Alt+N 2. IE: Alt+P or Alt+N, then press RETURN But I always prefer using, ALT + right arrow for moving to the next screen and ALT + left arrow for moving to the previous screen in IE

Closing the parent window ...

Many times I have been asked how to close a parent window without getting that ugly warning dialogbox. You know what the solution is pretty straight forward :) Script of the Parent window: <html>  <head>   <Script language=""javaScript"">    window.opener=self;    window.close();    window.open('test.htm','Test','fullscreen');   </script>  </head>  <body>  </body> </html> Here 'Test' is a name of the window. You can give any name of your choice there. 'test.htm' is the name of the file which would be opened in fullscreen. This way we could avoid that ugly warning dialogbox.

Credit ...

Sometime back I happened to check the George Hernandez's site http://www.georgehernandez.com/. In one of his page I found an error in his code snippet. I sent him a note on the same with a code snippet which could be used instead. George has reviewed it and has responed back: Vadivel: Hey thanks a lot for the correction. I updated my page with your suggestion and credited you for it. http://www.georgehernandez.com/xDatabases/SQL/Programming/HandyCode.htm#Get%20info%20about%20columns%20in%20all%20databases%20in%20a%20server -George

Microsoft Consumer Virus Alert:

Why We Are Issuing This Alert W32/Mydoom@MM spreads through e-mail. This worm can disguise the sender's address, a tactic known as spoofing, and may generate e-mails that appear to have been sent by Microsoft. Many of the addresses Mydoom uses are valid addresses that are being spoofed for malicious purposes. Mydoom Virus Alert: What to Do Treat all e-mail attachments with caution, particularly .zip files in the case of this virus, even if they appear to be from a trusted source. Learn what to do about virus infections. http://www.microsoft.com/security/antivirus/mydoom.asp Complete Information: http://www.microsoft.com/security/antivirus/mydoom.asp

New Virus ...

This is an Informational update about the mass-mailing computer virus, W32.novarg.A@mm : The virus can infect several files on your computer and spread itself by sending an email to all addresses in your address book. E-mails with the following subject line and characteristics can contain the virus: Subject: Random - "Test" or "Hi" or "Hello" Message: Attachment: Files with the extensions of .exe, .pif, .scr, and .zip. If you receive an e-mail with one of the subject lines and attachments listed above YOU SHOULD DELETE the e-mail immediately.

Good link ...

The easiest way to see all classes inside a namespace is to check this Class Library Comparison Tool . The interesting part is, this page contains a "Display options" go and explore that for yourself :)

Security Bulletins released last week ..

Important information : On Jan 13th, Microsoft have released 3 security bulletins. Of these one that deals with ISA is a serious one (critical). If you are running ISA as a firewall in your organizations, you should consider patching it. Here are all of them for your reference. a.) Vulnerability in Microsoft Internet Security and Acceleration Server 2000 H.323 Filter Could Allow Remote Code Execution (816458): http://www.microsoft.com/technet/treeview/?url=/technet/security/bulletin/MS04-001.asp b.) Vulnerability in Exchange Server 2003 Could Lead to Privilege Escalation (832759): http://www.microsoft.com/technet/treeview/?url=/technet/security/bulletin/MS04-002.asp c.) Buffer Overrun in MDAC Function Could Allow Code Execution (832483): http://www.microsoft.com/technet/treeview/?url=/technet/security/bulletin/MS04-003.asp

Do you know this?

We can get complete information about each table in a database using the following syntax: Execute sp_help <<tablename>> But if we have hundreds of tables in a database then the above method would surely be a tedious way to do. So to over come that we could use the following query: Execute sp_MSForeachTable @command1 = "sp_help '?'" As sp_help lists information about a single table this sp_MSForeachTable displays all information about all tables within the existing database. Neat isn’t it?
Dear Reader, Bitwise, the annual online programming contest organized by the Computer Science & Engg. Department Society, Indian Institute of Technology Kharagpur, India, is being conducted this year on Sunday, the 8th of February. Bitwise is an algorithm intensive programming contest which aims to provide programmers across the globe, a platform to compete, testing their ability to develop efficient algorithms to problems within a given time constraint. It is a non-profit competition organized by 4th year undergraduate students of CSE, IIT Kharagpur. Over the last three years, the contest has become extremely popular around the world. In Bitwise 2K3, over 900 teams participated, with a team from Singapore bagging the first prize. The registration is free and open to all. Contestants solve a set of problems posted on a site using C or C++. The solutions are evaluated, not only on the basis of correctness, but also on execution time and space complexity. The top 50 conte...

How to detect a 2-way mirror?

Not to scare you, but to make sure that you are aware. Many of the hotels and textile showrooms cheat the costumers & watch them privately :( HOW TO DETECT A 2-WAY MIRROR: When we visit toilets, bathrooms, hotel rooms, changing rooms, etc., how many of you know for sure that the seemingly ordinary mirror hanging on the wall is a real mirror, or actually a 2-way mirror i.e., they can see you, but you can't see them). There have been many cases of people installing 2-way mirrors in female changing rooms or bathroom or bedrooms. It is very difficult to positively identify the surface by just looking at it. So, how do we determine with any amount of certainty what type of mirror we are looking at? CONDUCT THIS SIMPLE TEST: Place the tip of your fingernail against the reflective surface and if there is a GAP between your fingernail and the image of the nail, then it is a GENUINE mirror. However, if your fingernail DIRECTLY TOUCHES the image of your nail, then BE...

Wanna move from PHP/JSP to ASP.NET?

As you know Microsoft has been developing a new tool to help developers move to ASP.NET called the ASP to ASP.NET Migration Assistant. You probably played around with it earlier on. On 9th Jan 2004 they have announced the Beta release of this tool. The ASP to ASP.NET Migration Assistant is designed to help you convert ASP pages and applications to ASP.NET. It does not make the conversion process completely automatic, but it will speed up your project by automating some of the steps required for migration. Here’s how to try the ASP to ASP.NET Migration Assistant Beta: 1) Visit www.asp.net/migrationassistants to learn more and download the tool. 2) Visit www.asp.net/migrationassistants/forums to post your questions and feedback. BTW – there is a PHP to ASP.NET and JSP to ASP.NET migration wizard too. Source : Deepak Gulati ...

Tutorial and Presentation Creation Software...

Wink is a Tutorial and Presentation creation software, primarily aimed at creating tutorials on how to use software (like a tutor for MS-Word/Excel etc). Using Wink you can capture screenshots of your software, use images that you already have, type-in explanations for each step, create a navigation sequence complete with buttons, delays, titles etc and create a highly effective tutorial for your users. Using Wink, you can create tutorials, by capturing screenshots, mouse movements and specifying your own explanations with them. And all this in a standard Windows-based UI with drag-and-drop editing makes it very easy to create high quality tutorials/documentation. It is estimated that Macromedia Flash Player is installed in more than 90% of the PCs. Using Wink you can now create high quality tutorials/documentation which will be viewable across the web in all these users' desktops. Similar applications sell for hundreds of dollars, while Wink is free with unrivaled featur...