Skip to main content

Catching Musical Relaxation in Dos Prompt

Catching Musical Relaxation in Dos Prompt

A few days back we were discussing about download avaiability of valuable MSDOS Utilities. Not just for system administrators but even for casual users, I would say, they are inevitable tool in thier workman's chest. Today I was relatively free and just was surfing through the weblogs and websites. Just fondly recalled about QBasic and its ability to even play musical notes by simple strings. For anyone to start off in IT field, I think QBasic would provide a firm quickstart.

We would here discuss four important and interesting features of QBasic.exe (You can download QBasic from the URL above).

  1. Beep
  2. Sound
  3. Play
  4. Games
Beep: As the name indicates, BEEP just produces a simple beep sound from your computer's default speaker.

Sound:Sound is a more extensible and configurable BEEP. It instructs your computer's speaker on the intensity of the BEEP sound and its duration.

Play: Play command is very versatile. It allows you to configure and play complex musical notes from your MSDOS application. ABCDEFG stand for the SA RE GA MA PA DHA NEE and you can increase or decrease the OCTAVE by > and < than symbols. Also you can adjust the tempo too.

Games: You can check out some of the games with QBasic from the following URL. Though a very simple command prompt language, I would say QBasic is very rich and complex programming for standalone PCs could be created.


Popular posts from this blog

Google NCR

Google NCRMost of you would be knowing about this trick in navigating to Google generic website. But I just came to know only a few days before and hence thought I would share the information with others too.
Whenever you type, Google automatically tries to redirect you to your country-specific website. For me, it always redirects to (Google India). But when we specifically want to navigate to Google Generic website for some reason, there are two ways to accomplish the same.Click the 'Go to' link at the bottom of the webpage that is displayed from prevent this redundant click, you can opt to type which would prevent the redirect from happening. The NCR stands for No Country Redirect. There is a brief discussion about this NCR over this forum.You may also like to check out Google help documentation regarding the country redirections from here.

Elegant 'MailTo' Replacement

Elegant 'MailTo' Replacement

MailTo tags have become a bane to all websites since spammers run spam robots which crawl the web to capture the email addresses, add to their catalogs and send spams to them. I just thought of sharing with others a simple JavaScript function which would trigger open the default email client instead of having mailto: embedded in the HTML Page.

Just have the following function included in your webpage

<script language='Javascript'>
function WriteMailTo(user,domain)
location.replace ('mailto:'+user+'@'+domain);

And whereever you want to invoke the mailto, just called WriteMailTo('user','') and the user's default email client should be launching (if configured) without any hassles.

Elegant Encryption Routine

Elegant Encryption Routine

Securing information from prying eyes has always been a concern of a project architect. The perils waiting to prey on an unsecured information is aplenty. .NET comes with it a vast amount of rich Cryptography libraries. Now the next problem that confronts an architect is:Which algorithm to choose?What is the strength of encryption to use?In future, if algorithm or strength changes, how easy and flexible is the implementation?I have been trying out various encryption logic and then I came across a library called XCrypt from CodeProject.  I feel that this is a very good feature-rich wrapper of .NET Cryptography API. Also, there are implementations for algorithms like BlowFish, which does not have API in .NET BCL. It also comes with a rich Windows application that helps us troubleshoot encryption and decryption with specific keys in a easy way. Let us thank pdwolf for the really excellent encryption library.Free 3D Marine Aquarium Screensaver - Watch dolphins, s…