Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact
    • Validate




      Validate Windows Form Controls in Vb.Net
      Validation Controls for Windows Forms (VB.NET) The Windows Forms ErrorProvider component is used to validate user input on a form or control. It is typically used in conjunction with validating user input on a form, or displaying errors within a dataset. An error provider is a better alternative than displaying an error message in a message box, because once a message box is dismissed, the error m

      Written by: Dot Net Tips & Tricks


      Validate Phone Numbers, Zipcode TextBox entry in Vb.NET Used Masked Text Boxes.
      MaskedTextBox Control in VB.NET MaskedTextBoxes can be thought as the extension of MaskedEdit Control of VB6.0. It can be used to validate TextBox input based on ‘Mask’ The MaskedTextBox class is an enhanced TextBox control that supports a declarative syntax for accepting or rejecting user input. Using the Mask property, you can specify the following input without writing any custom va

      Written by: Dot Net Tips & Tricks


      Validate your web design on any browser or OS Online.
      If your blog or website looks good in IE does not mean that it will also look good on other browser platforms. Different browser reacts in a different way. The header part which is looking good in IE6 may not be visible in safari, ubuntu, Mac OS, opera or Firefox or on any other browser. You need to make sure that your blog looks good across the entire popular browser platform because different r

      Written by: Technology Hacker


      How to validate HP MC-service guard cluster/package configuration
      How to validate HP MC-service guard cluster/package configuration Question: I have made some changes in HP MC Service guard Cluster configuration file but I don't know how to validate my changes, I am running HP-UX version 11.23 Answer: I am running Service guard version A.11.18 and validation of package (cluster) configuration file is done based on master control script using cmcheckconf comman

      Written by: sysdigg


      Validate eMail Addresses using VB.NET Function
      Detect errors in email addresses using .NET exception handling There are n-number of ways to detect errors in email addresses; some use regular expressions to do that. The same has been built as a check in ASP.NET validation controls. The following function uses the Try-Catch exception handling by assigning the address to the mail message. If the format of the email address is found to be wrong, then the function returns false. A simple one; please post your comments on the way it worksJ Function Detect_MailAddress_Errors(ByVal sMailAdd As String) As Boolean Try Dim oMailMsg As New MailMessage oMailMsg.To.Add(sMailAdd) Return True 'Format Exceptions Catch exFormat As FormatException 'MsgBox("F

      Written by: Dot Net Tips & Tricks


      VB Code: Validate Credit Card Number
      This is just a small VB code to validate credit cards number, all credit cards work with this algorthm; If the number is in a valid format if returns 'True'. If the number is in an invalid format it returns 'False'. If a card validates with this code it doesn't mean that the card is actually good, it just means that the numbers are arranged in a valid format. If they don't validate then

      Written by: Free VB Resources - Free VB Download tools and source code


      Argonne tests validate BMW Hydrogen 7 emissions below SULEV
      Argonne's testing shows that the Hydrogen 7's 12-cylinder engine actually shows emissions levels that, for certain components, are cleaner than the ambient air that comes into the car's engine.  Read more...

      Written by: Automobile Articles India


      UCSF researchers validate new model for breast cancer risk
      Researchers at the University of California, San Francisco have developed a way to quickly estimate a woman's risk for invasive breast cancer. The new model, based on a measure of breast density that is already reported with the majority of mammograms today, is the first to be validated across multiple ethnic groups living in the United States. The model could one day be used to help calculate a

      Written by: Breast Imaging News


      Php function to validate two decimal places of a number
      If you are looking for the validation of a number which contains only two decimal places. Means you want to accept the values like 0.21 or 1.34 or 12.55 or 445.66 as a input and throw an error when somebody enters the number like 0.2 or 4.678 from a text box. Here is a simple [...]

      Written by: PHP And Ajax Related Useful Resources and Codes


      Why You Should Validate Your HTML
      Back in the early 90's, as the internet was being shaped and HTML was still a foreign acronym to most, a "standards" organization known as the World Wide Web Consortium (W3C) was formed. The purpose of the W3C was to develop certain standards for HTML to follow. This was vitally important because different vendors had begun creating their own versions of HTML with their own features. So the W3C worked to get all these vendors to agree on supporting the same set of components and principles. Fast forward to today -- the W3C is still setting standards for website coding, and although most sites do not conform completely to their standards, most follow them to some degree or another.Now I'm a pragmatist and contrarian. In the past, when web designers/developers touted the necessity of validating website code to W3C standards, I would resist. I would claim that it didn't matter as long as your website simply worked with all the major browsers. Besides, I reasoned, why spend all the extr

      Written by: Wake Up Later: Freelance Blog + Passive Income


      Why You Should Validate Your HTML
      Back in the early 90's, as the internet was being shaped and HTML was still a foreign acronym to most, a "standards" organization known as the World Wide Web Consortium (W3C) was formed. The purpose of the W3C was to develop certain standards for HTML to follow. This was vitally important because different vendors had begun creating their own versions of HTML with their own features. So the W3C worked to get all these vendors to agree on supporting the same set of components and principles. Fast forward to today -- the W3C is still setting standards for website coding, and although most sites do not conform completely to their standards, most follow them to some degree or another.Now I'm a pragmatist and contrarian. In the past, when web designers/developers touted the necessity of validating website code to W3C standards, I would resist. I would claim that it didn't matter as long as your website simply worked with all the major browsers. Besides, I reasoned, why spend all the extr

      Written by: Wake Up Later: Freelance Blog + Passive Income


      Validate HMTL & CSS from your page.
      Hy! Today we learn how to validate HTML and CSS from your page. This tip is usefull if you have a website about webdesign where you have tools for development! Here is the final result with a design what i made, you have all files in the archive HERE. Let’s Start. [1] Open your text editor and type the next HTML code <html> <head> <title>Validate CSS, HTML, XHTML from your page</title> </head> <body> <div> <form method=”get” action=”http://jigsaw.w3.org/css-validator/validator” target=”_blank”> <input name=”uri” <label title=”Submit file for validation”><input type=”submit” value=”Validate CSS” /></label> <label title=”Clear HTML data”><input type=”reset” value=”Clear” /></label> </form> </div> <br> <div> <form method=&r

      Written by: PiticStyle


      PHP functions to validate Integer, Float and characters length input
      Sometimes we need to validate an input from client browser before we push the value into further proccess, here i share 3 simple functions to perform validation input from forms and or querrystrings Validate Integer Value Using isNumeric function function isNumeric($n){ return ( $n == strval(intval($n)) )? true : false; } the simple php function above will perform an integer validation input, the proccess is pretty simple, the if control structure will evaluate whether the argument value ($n) has the same type with itself after cast to integer (strval(intval($n))), the right part of if expression (strval(intval($n))) is a simple way to cast any type of variable into integer. Sample of usage: echo ‘<br />isNumeric(1) = ‘.(string)isNumeric(1); echo ‘<br />isNumeric("a") = ‘.(string)isNumeric(‘a’); echo ‘<br />isNumeric(0.1) = ‘.(string)isNumeric(0.1); Validate Float Value Using isFloat function function isFl

      Written by: web design and programming tips


      Validate your html forms with javascript and php with a simple php class that generates everything
      Validate your forms with javascript to make it easier for the user and reduce server load. The php class generates the javascript automatically and it also has a fallback to php validation if javascript is not available. It works with both php4 and php5.

      Written by: CodeAssembly


      SQL SERVER - UDF - Validate Positive Integer Function - Validate Natural Integer Function
      Few days ago I wrote SQL SERVER - UDF - Validate Integer Function. It was very interesting to write this and developers at my company started to use it. One Jr. DBA modified this function to validate only positive integers. I will share this with everybody who are interested in similar functionality. Code: CREATE FUNCTION [dbo].[udf_IsNatural] ( @Number VARCHAR(100) ) RETURNS BIT BEGIN DECLARE @Ret BIT IF (PATINDEX('%[^0-9-]%', @Number) = 0 AND CHARINDEX('-', @Number) <= 1 AND @Number NOT IN ('.', '-', '+', '^') AND LEN(@Number)>0 AND @Number NOT LIKE '%-%') SET @Ret = 1 ELSE SET @Ret = 0 RETURN @Ret END GO Example: SELECT '999' TestValue,dbo.udf_IsNumeric('999') NumericTest; SELECT '-999' TestValue,dbo.udf_IsNumeric('-999') NumericTest; SELECT 'abc' TestValue,dbo.udf_IsNumeric('abc') NumericTest; SELECT '9+9' TestValue,dbo.udf_IsNumeric('9+9') NumericTest; SELECT '$9.9' TestValue,dbo.udf_IsNumeric('$9.9') NumericTest; SELECT 'SQLAuthority' Tes

      Written by: Journey to SQL Authority with Pinal Dave


      Performance: Investigate Early, Validate Last
      Performance and load testing is often viewed as something that has to be done late in the development cycle with a goal of validating that performance meets predefined requirements. The problem with this is that fixing performance problems can require major changes to the architecture of a system. When we do performance testing last, it is often too late or too expensive to fix anything.The truth is that performance testing does not need to happen last. Load test scripting is often easier if we wait until the end, but should we sacrifice quality just to make testing easier?Scott Barber divides performance testing requirements and goals into the following three categories:Scalability -- extremely technicalStability -- mostly technicalSpeed -- fuzzy: some technical, other usabilitySpeed is where things get fuzzy. Some speed requirements are quite definable, quantifiable and technical; others are not.- Scott BarberScott says that hard measurable requirements can usually be defined for sca

      Written by: Quality Frog - Questioning Software


      Performance: Investigate Early, Validate Last
      Performance and load testing is often viewed as something that has to be done late in the development cycle with a goal of validating that performance meets predefined requirements. The problem with this is that fixing performance problems can require major changes to the architecture of a system. When we do performance testing last, it is often too late or too expensive to fix anything.The truth is that performance testing does not need to happen last. Load test scripting is often easier if we wait until the end, but should we sacrifice quality just to make testing easier?Scott Barber divides performance testing requirements and goals into the following three categories:Scalability -- extremely technicalStability -- mostly technicalSpeed -- fuzzy: some technical, other usabilitySpeed is where things get fuzzy. Some speed requirements are quite definable, quantifiable and technical; others are not.- Scott BarberScott says that hard measurable requirements can usually be defined for sca

      Written by: Quality Frog - Questioning Software


      Performance: Investigate Early, Validate Last
      Performance and load testing is often viewed as something that has to be done late in the development cycle with a goal of validating that performance meets predefined requirements. The problem with this is that fixing performance problems can require major changes to the architecture of a system. When we do performance testing last, it is often too late or too expensive to fix anything.The truth is that performance testing does not need to happen last. Load test scripting is often easier if we wait until the end, but should we sacrifice quality just to make testing easier?Scott Barber divides performance testing requirements and goals into the following three categories:Scalability -- extremely technicalStability -- mostly technicalSpeed -- fuzzy: some technical, other usabilitySpeed is where things get fuzzy. Some speed requirements are quite definable, quantifiable and technical; others are not.- Scott BarberScott says that hard measurable requirements can usually be defined for sca

      Written by: Quality Frog - Questioning Software


      ‘The Condemned’ Attempts to Validate Violence With Provocative Concepts
      CHICAGO – This is why wrestlers wrestle and actors act. Vinnie Jones (left) and Steve Austin in “The Condemned”.Photo courtesy of Vince Valitutti“The Condemned” tobogganed downhill the second it splashed the WWE on an introductory screen. Sure, you know the WWF, but you may be learning for the first time about World Wrestling Entertainment, Inc.It’s a publicly traded sports entertainment company. While one of its cash cows is film, this particular film could be more like a cash hog after it opens on April 27. I’m not sold that the WWE should be in the business of film at all.In fact, it reminded me of “yellow journalism,” which is a pejorative phrase coined for overtly scandalous and sensational journalism. “The Condemned” could be considered “yellow film”.Senseless and gratuitous violence can be a titillating thrill ride when it’s not just gore for gore’s sake and the message is meritorious. The film “300” almost makes gore feel beautiful while “Gri

      Written by: HollywoodChicago.com


      Validate the Youtube embed code!
      I wrote about it here and it is really usefull. As we now the embed code of youtube is a mess as it uses the embed tag which does not validate as xhtml. Using the code this tip you can embed a youtube or google video to your site or blog and keep your code validated:<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/moviecode" width="400" height="326"><param name="movie" value="http://www.youtube.com/v/moviecode" /></object>The moviecode is a code found in each youtube video adress and is after v= until the first ampersand (&). For example in this URL http://www.youtube.com/watch?v=xmHHjUZPyMY, the code is xmHHjUZPyMY.

      Written by: Simple how tos and tutorials by Psy2k


      Link Verify-validate reciprocal links
      Validate reciprocal links Audit your link partners. Import link partners from a variety of file formats. Export results to a variety of file formats. Maintain contact information. Check for your link and for extended verbage. Free! Link Verify enables webmasters to verify the presence of affiliate and reciprocal links with trading partners. You can add a list of pages along with the URL to

      Written by: SEO FreeWare


      Validate The Gentleman's Scorecard, Please
      Most of you know that I LOVE poetry. Poetry is such a sublime way to reveal ourselves to each other. So, I really dig it...but not when it comes to the latest information on what my civil liberty donation to the "War on Terror" already is or will be very soon.That is why I read blogs.And why this post at Booman Tribune made me go for the blogrolling button.Straight outta town, y'all.Peace y'allTags: Media Neo Con Spin Potion Number 9

      Written by: The Peace Tree


      How to Validate ImageButton control through W3C
        in aspx page(Frameworks: 2.0, 3.0, 3.5): <asp:ImageButton ID="ImageButton1" ImageUrl="~/img.gif" runat="server" onclick="ImageButton1_Click" /> that'll be rendered to HTML page in this: <input type="image" name="ImageButton1" id="ImageButton1" src="img.gif" style="border-width:0px;" /> Un

      Written by: Articles for ASP.NET, C#, VB.NET, MS SQL, Framework 2.0,3.0,3.5


      Validate Max Length of TextBox's text
      It's good to validate maximum length of a textbox's content. There're many ways for doing that. In our oppinion best way for doing that is with Regular Expression: <asp:TextBox ID="_someTextBox" runat="server" /> <asp:RegularExpressionValidator ID="_validateMaxLen"    runat="server" Display="dynamic"    C

      Written by: Articles for ASP.NET, C#, VB.NET, MS SQL, Framework 2.0,3.0,3.5


eXTReMe Tracker