Posts

Showing posts from February, 2008
Digital Divide Of 32 Bit And 64 Bit There are lot of products from hardware and software speaking about 32 and 64 bit. The article is an effort to understand the differences for common user. Your hardware and software both can be 32 bit OR 64 bit. If your hardware i.e. processor and other peripherals support 64 bit, then you can run 64 bit supported software on it provide you have 64 bit Operating System such as Windows Vista 64 Bit. 1.Software:- 32 bit OS Features of 32 bit OS: - Good for systems running 32 bit applications and having data sets smaller than 2GB. Supports - 4GB System Memory 2 GB Dedicated memory / process eg. Windows Vista, Windows Server 64 bit OS What do you mean by 64 bit OS? More than 4GB Dedicated Memory/process can be supported 64 bit of data can be moved per clock cycle. Features of 64 bit OS: - ASLR(Address Space Layout Randomizer) – It ensures system fil

Enter key pressed on TextBox flushes content….

ASP.Net 2.0 Enter key pressed on TextBox flushes content…. If you go on professionally developed websites, many times you need to fill in some forms. If you notice carefully, when you filled up all the fields in the form and you want to submit the form you don't need to tab to Submit button. If your cursor is on a text box and you press enter, your form will be submitted. Try this with your form developed in .Net. Probably it will behave in very wearer ways. Your contents may get flushed or something else situation may happen at run time. On .net platform previous to ASP.NET 2.0 solving this situation was some time taking task like using Javascript, register your control for a particular function call and do the required things in that function. OR add a text box invisible. But these all techniques may create some other problems while solving one problem. Solution:- ASP.NET 2.0 removes all these headaches and provides you a simple way to go. Suppose you have 2 text box and Submit b

jrew has stopped executing…….

Oracle9i Installation:- jrew has stopped executing……. This is the message that you will get when you will try to install Oracle9i on Windows Vista. The mystery behind this message is that Oracle has stopped providing support to Oracle9i and Vista is latest operating system from Microsoft which is totally different from previous Microsoft OS. So Oracle9i will not work on Vista. If you want to keep your OS as Vista and want to work on Oracle, you have to install Oracle 10g.

Validate TextBOx in javascript

A simple Javascript function to validate Input values entered in TextBox will be as follows:- //Calls when User Clicks on Ok in AddCriteria Div to validate Text Box Name function ValidateGroupName() { Name = Document.getElementById("ctl00_ContentPlaceHolder1_txtCritGroupName").value; NameSize=Name.length; //Validation for Blank TextBox if(NameSize==0) { alert("Group Name cannot be empty"); return false; } if(DescSize==0) { alert("Group Description cannot be empty"); return false; } //Validation for Group Name //Validation for only Space Input FlagName=true; for(i=0;i { if(Name.charAt(i)!=" ") { FlagName=false; } } if(FlagName) { alert("Group Name

Check If Control/Shift/Alt Key Is Pressed In JavaScript:-

Check If Control/Shift/Alt Key Is Pressed In JavaScript:-

We need to check evt.CtrlKey property to check if Ctrl Key is pressed. This code only works on IE and not on FireFox.. The same code can be used to check if Shift & Alt Key is Pressed, by replacing CtrlKey with respective keys in evt.CtrlKey