Reg : Match Score & No Match Score

Hi ,
in the rule based match transformation we will give the match and no match scores in the options . If the Match score is 90% means if similarity score  is greater than or equal to 90 means we will get the duplicates in the our target.
if similarity score is less than 90 we will get as unique records in the target then what is the use of no match score.
for example  my match score is 90% and no match score is 70% then what about the value having similarity scores between 70 to 90  those records will show as unique records or duplicate records.
Please help me to understand this one.
Thanks & Regards,
Ramana

Hi Paul,
i tried with match transformation with match score 90% and non match score 70%. if similarity score falls between 70 to 90 % comes under unique records . as you told in the previous thread between records of match score and non match score will not be identified as duplicate records or unique records. but those records are coming as unique records only.  Please clarify me in this one
In the weighted score match score we are giving 100 and no match score -1. weighted score i am giving 90% it will give the 90% more scores.
Please help me know how to set no match score settings for weighted score also.
Thanks & Regards,
Ramana

Similar Messages

  • Issue in getting score while executing the matching strategy

    Hi,
    On executing the matching strategy, even if there is a duplicate count of zero in the record pane, some score is calculated. I want to know how does the system get that score even if there is no potential duplicate in the matches pane. 
    Also we are facing an issue - whenever the matching strategy is executed, some score is calculated which does not match with any one of the individual score in the match pane.
    Can anyone guide me what might be the reason?
    Regards,
    Indraveer

    Hi Indraveer,
    On executing the matching strategy, even if there is a duplicate count of zero in the record pane,
    some score is calculated. I want to know how does the system get that score even if there is no
    potential duplicate in the matches pane.
    First i want to clarify how this score getting calculated.
    In the record pane the three extra coloumn tell about the result about matching strategy
    Count : this represent the no of record matches with the selected record based on the matching strategy executed
    Class : This defines
    Score : this contains the sum of score of all rules that contain in strategy i.e. You know in rules tab we define the value for
    SUCCESS
    FALIURE
    UNDEFINED
    So in  the score section it calcilates the score of each rules that you included in executed strategy.
    For Example
    Your 1st rules contain values like
    SUCCESS :2
    FALIURE  :1
    UNDEFINED:0
    Your 2nd rules contain values like
    SUCCESS :3
    FALIURE  :1
    UNDEFINED:0 (this score if contain NULL values and data manger unable to execute the matching)
    Now ypu included these two rules in strategy and define
    High threshhold : 5
    Low threshhold :4
    Now you execute the strategy
    I will consider yr case that no one record matches .In this case  score section will contain value 2 because it fails in matching
    any rules so it get  1 for rule1  and 1 from Rule2.
    Hope it clarifies yr doubt.
    Also we are facing an issue - whenever the matching strategy is executed, some score is calculated which does not match with any one of the individual score in the match pane.
    After Whatever i understand from yr statement,this will be the case when you have multiple rules  ans some record  succeed in all rules while some are succeed in one and fail in second rule.
    For example :
    we have 3 record in table in which first one matches with both record for all rules where as second  record matches with some record for first rule and some for second rule  so their total score  calaculate accordingly
    and third record matches with some reord  for second rule  and some record with first rule so their score will calculate automatical;ly.
    so in this case when u select  first record  in record pane and  open match pane you will see other two record with different score as this score shows there personal score after executing matching strategies.
    Hope this will help you to clarify yr doubt .
    For further reading please check the data manager reference guide  on page 500.
    Thanks,
    Sudhanshu

  • Matching score for new records added to existing workflow

    Hi SDNers,
    My doubt is:
    I have a 2 Workflows which are already in process. The triggering event for them is Manual, Record Import.
    Now I manually assigned 20 records  to "Workflow A" based on Condition 1
    Also, I manually assigned 20 records  to "Workflow B" based on Condition 2
    I am importing 30 new records. Based on the condition, I want to assign these records to the existing Workflow A / Workflow B.
    Note: There is a Match stencil, so the newly created records have to be matched against the existing records in the present Workflow itself.
    Is it possible to add new records o existing workflow manually?
    Also, what about the Matching score? will the records be matched?
    Thanks & Regards,
    Priti

    Hi Priti,
    I tried restricting records using Named Searhes and Masks but it includes all the records with Match step property Records Vs All. You have to perform some maunal step either by selecting records using some search criteria or you can use Named Searches i.e.
    1. Create one field say New of type boolean and by default set it to NO.
    2. Create one named search for this field value to YES.
    3. Create one assignment which sets the value for this field to YES and add this assignment in the workflow as the first step.
    4. When ever you import records, assignment will set New=YES for all the records imported. Now, when you add more records, search the previous records using Restore Named Search function which will give the list of records imported now. You can perform Matching and Merging operation.
    5. Add one more assignment to the workflow as the last step which should set New=NO so that records should not appear next time for Matching
    Regards,
    Jitesh Talreja

  • Matching quiz score doesn't work

    Hi,
    I have created a matching quiz question, after doing the quiz. in the results section the score is always zero and also it displayed you didn't completely finish this question!

    Do you perhaps use the Next button instead of the Submit button when confirming the answer? And please, tell which version you are using.

  • Returning Count of Matching Words Rather than Score

    I'm using the SCORE function that will return a number representing the relevance of the matching search result; however, what the users really want is a COUNT of the number of search results returned within the document. For a search on the word "cat" this would return the number of times the word "cat" appears in the document. Ideally, if the user searched for "(dog and cat) within sentence", the COUNT would be of the number of times both dog and cat occur within sentences in the document; however, it would be acceptable to count the number of matching words in the document individually.
    Does Oracle Text have any way to return this COUNT directly within the results Oracle Text query? I can use a CTX_DOC.MARKUP call to mark the document up and the count the instances of the markup strings, but that's going to be a lot slower than if Oracle supports this out-of-the-box on the original query syntax.

    Yes (in 10g onwards), you need to use a query template with <score algorithm="COUNT"/>
    See here:
    http://www.oracle.com/technology/products/text/x/10g_tech_overview.html#qry_cscore
    Though the example there is a bit confusing since it has algorithm="SCORE" - the option for normal scoring.

  • IMAQ Pattern Match Score

    I am working on an application that uses the IMAQ Match Pattern VI.  The matches that are returned have a score assigned to them.  The help documentation for this reads:
    Score ranks the match results on a scale of 0 to 1,000, where 0 equals no match and 1,000 equals a perfect match.
    Likewise, there is a VI input called "Minimum Match Score", which is the smallest score a match can have to be considered valid. The data range for a match is between 0 and 1000. 
    Can anyone point me to a resource that might better explain how this score is derived or at least defined?  

    Hi,
    The NI Vision Concepts Manual provides ancillary information; I've linked that below. The In-Depth Discussion for both Pattern Matching and Geometric Matching may prove helpful in providing the detail you're wanting.
    Machine Vision:
    http://zone.ni.com/reference/en-XX/help/372916P-01​/TOC15.htm
    I hope you find this information helpful. Have a great day!
    - Kale

  • DQM for CRM --- Can the matching scores be customised?

    Hi All,
    We've integrated DS 4.0 to our SAP CRM using the DQM for SAP component. As the title say, I was wondering if we can customise the match score of the data flow "Job_Realtime_DQ_SAP_Name_and_Address_Match" to use other inputs other than "name, street range, street name and Postcode" as stated in [note 1418387|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3134313833383726]?

    Hello,
    If you change the match scores/percentages in the job for the DQM for SAP product, this will then be overwritten by the match score that is passed when the job is kicked off from the SAP CRM/ECC.  So the answer from Pandeyji will not work as expected for this product - in order to change the matching for DQM for SAP you would either need to change the threshold when you run the Batch Match (/fldq/rsadrini) report in the Threshold parameter on the report.  See more information on this in the 3.14.1.1 To run the Initial Match Code (Index) Setup program secion of the latest DQM for SAP user's guide.
    If you want to change the threshold for the duplicate check (DES) interactive - you need to either set that when you activate the duplicate check index pools (this is depending on what system you are running CRM/ECC).  Check more about is in the 3.12 Activate duplicate check index pools secion of the latest User's Guide.  Or it needs to be set through the IMG settings as explained in the 4.9.1.1 Operating parameters used only by the CRM IC WebClient or CRM WebClient
    configuration.  What you need to do here is absolutely dependent on the version of SAP application you are running as well as the version of the DQM For SAP product you are on (all these things I am pasting in here are from the DQM for SAP 4.0 guide - the latest version).
    If you want to change the break keys that are created and in use for the DQM for SAP product, refer to the sections in the DQM for SAP user's guide on break keys and how they work in DQM for SAP:
    7.2 Break keys (match codes)......................................................................................................91
    7.2.1 Understanding break keys (match codes) and data fields.......................................................92
    7.2.2 To change the match code (break key)...................................................................................93
    7.2.3 Configuring the break key settings.........................................................................................94
    7.2.4 Match on name data..............................................................................................................97
    You also may want to check the section on Using the Break Key Profiler.
    Hope this helps!
    Thanks,
    Denise
    SAP AGS

  • Geometric matching: Difference between score and correlation score

    Hi All,
    What is difference between score and correlation score in geometric matching???
    Solved!
    Go to Solution.

    Hello,
    the correlation score is based on pixel intensities where as the score of the geometric match considers also the geometry features. See the NI Vision Concepts (Geometric matching -> In-depth discussion).
    Hope this helps.
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

  • Score match in oralce

    Hello,
    Is there any function in oracle with returns the top match for a word on the top based on % of the match?
    e.g.
    i searched for for word "mango"
    the result should look like -
    mango
    a mango
    b mango
    abc mango abc
    etc.
    Thank you,
    Paras
    Edited by: Paras Bansal on Jun 25, 2010 12:51 PM

    Oracle Text might be of use:
    http://download.oracle.com/docs/cd/B19306_01/text.102/b14217/overview.htm
    http://download.oracle.com/docs/cd/B19306_01/text.102/b14217/query.htm#CCAPP0400
    Oracle Text dedicated forum
    Text

  • Form doesn't submit [was: Please Help!]

    I am new to web development and am obviously just not seeing what I'm missing. I re-built our company's website in January (mostly because of over-charging by our webmaster). It is an exceptionally basic .html sight but it works for us. I have learned a great deal about coding the basics and have been slowly going back through my orginal pages and cleaning up the code. While I was doing that I noticed that one of the pages our customers use are from our old website. I am trying to create a form that I will be able to manipulate that has the look and feel of our current site. Maybe you can take a look and explain to me why when I fill in all the required fields and hit the "submit" button nothing happens.
    http://http://langsauction.com/Staging/bid_form_test.html
    Our server has a cgi folder that has not been touched or moved so I am guessing I just haven't figured out where to add the code I need for this to work.
    I have checked the code from our old page:
    http://https://langs11.securesites.net/bids/index.php/
    Other than it being a .php I can't see what I missed.....
    When the information is submitted from the "old" page it is stored on our server and I receive an email notification, I click the link in my email and am directed to a printable page with all of our customer's information. I would like the same thing to happen with my new page.
    I really appreciate any help you can give me!
    Christina
    Subject line edited by moderator to indicate nature of problem

    You have been huge help already....I am taking your advise and walking away for this evening.....if you could look into this I would be eternally greatful!!
    <?php
    * Things to NOTE
    * Is it ok to have month values as numbers in this format 01, 02, 03, ... 11... etc..
    require_once 'https://langsauction.com/bids/Crypt_Blowfish-1.0.1/Blowfish.php';
    include('https://langsauction.com/bids/functions.php');
    include('https://langsauction.com/bids/db.php');
    $b = new Crypt_Blowfish('5az1bc1dDa1cv1TVa1wQa12xXx');
    # for new crypt method
    $key = "5az1bc1dDa1cv1TVa1wQa12xXx";
    $error_fields = array();
    $errors = array();
    # passed to function month_display and will print out relevant values
    $***_month = array("01" => "January", "02" => "February", "03" => "March", "04" => "April", "05" => "May", "06" => "June", "07" => "July", "08" => "August", "09" => "September", "10" => "October", "11" => "November", "12" => "December");
    $***_fields = array("last_name" => "Last Name", "first_name" => "First Name", "address1" => "Address 1", "city" => "City", "state" => "State / Province", "zip" => "Zip / Postal Code", "county" => "County", "country" => "Country", "phone" => "Telephone", "email" => "Email", "cc_type" => "Credit Card Type", "cc_name" => "Names As It Appears On Card");
    # keeps track of which fields had errors so
    # it's html row can be highlighted
    $error_fields = array();
    * Credit Card Validation Solution, PHP Edition,
    * Usage Example.
    * @package    CreditCardValidationSolution
    * @author     Daniel Convissor <[email protected]>
    * @copyright  The Analysis and Solutions Company, 2002-2003
    * @version    $Name: rel-5-12 $ $Id: ccvs_example.php,v 1.15 2003/08/06 05:51:57 danielc Exp $
    * @link       http://www.ccvs.info/
    * Require the main file.
    require('../Documents/Langsauction/www/langsauction.com/bids/ccvs.inc.php');
    $Form = new CreditCardValidationSolution;
    * Example of to encrypt and decrypt
    $encrypted = $b->encrypt('test');
    $decrypted = $b->decrypt($encrypted);
    echo " encr - $encrypted - decryp $decrypted";
    #echoÊ"Encrypted:Ê" .Êbin2hex($encrypted)Ê.Ê"\n";
    # existing code
    if (isset($_POST['submit'])) {
        dbConnect('langsa');
    * Need to Still
    * run all fields through POST VARS
    * and sanitize data
    * use reg match from metrochai validation
    # check user has checked Conditions of Sale
    if($_POST['agree'] != 'yes') {
        array_push($errors, '>>Please read and accept the Conditions of Sale by selecting the checkbox');
    foreach ($***_fields as $field => $field_name) {
        if($_POST[$field] == '') {
          array_push($error_fields, $field);
          array_push($errors, '>>The "'. $field_name . '" Field is empty. Please enter information for that field');
    * Check that if a user enters a value in the Lot No. field, that all other fields in that row also have values
    for($x = 1; $x < 16; $x++) {
         if( $_POST['lot' . $x] != '' && ( $_POST['lot_desc' . $x] == '' ||  $_POST['lot_max' . $x] == '' ||  $_POST['lot_max_bid' . $x] == '' ) ) {
          $lot = 'lot' . $x;
          $lot_name = 'Lot No. ' . $_POST['lot' . $x];
          array_push($error_fields, $lot );
          array_push($errors, '>>Please fill in the additional values for  "'. $lot_name . '" in STEP 3');
         * Put the names of the card types you accept in here.
         * To handle all card types, skip this step and put ''
         * in the Accepted argument.
        $Accepted = '';
        $Month = $_POST['exp_dat_mon'];
        $Year  = $_POST['exp_dat_yea'];
        # adding trim to remove any spaces at beginnning or end
        # in order to keep live server from breaking on mysql syntax
        $_POST['cc_num'] = trim($_POST['cc_num']);
    # check if Credit Card Number is empty
    if (empty($_POST['cc_num']) ) {
                # if CC Num is blank along with other relevant fields
                $Form->CCVSNumber = '4002417016240182';
                $Month = '';
                $Year  = '';
                array_push($errors, '>>The "Credit Card Number" Field Is Blank. Please enter information for that field');
    # if Credit Card Number is not empty then check integrity of numbers   
    elseif ( !$Form->validateCreditCard($_POST['cc_num'], 'en', $Accepted, 'Y', $Month, $Year) ) {
             array_push($errors, $Form->CCVSError);
             array_push($error_fields, 'cc_num');                
    $count_errors = count($errors);
    if($count_errors == 0) {
    # form appears to be good so process data
    # encrypt credit card info
    # PEAR Blowfish Object Call
    #$cc_num = $b->encrypt($_POST['cc_num']);
    $cc_num = encrypt($_POST['cc_num'], $key); //encrypts the data using the key
    //echo "$encrypted<hr>";
    #sanitize data
        $email = strip_invalid_chars($_POST[email], 'email');
         $last_name = strip_invalid_chars($_POST[last_name]);
         $first_name = strip_invalid_chars($_POST[first_name]);
         $address1 = strip_invalid_chars($_POST[address1]);
         $address2 = strip_invalid_chars($_POST[address2]);
        $city = strip_invalid_chars($_POST[city]);
        $state = strip_invalid_chars($_POST[state]);
        $zip = strip_invalid_chars($_POST[zip]);
        $county = strip_invalid_chars($_POST[county]);
        $country = strip_invalid_chars($_POST[country]);
        $phone = strip_invalid_chars($_POST[phone], 'insecure');
        $cc_type = strip_invalid_chars($_POST[cc_type]);
        $cc_name = strip_invalid_chars($_POST[cc_name]);
        $exp_dat_yea = strip_invalid_chars($_POST[exp_dat_yea]); 
        $exp_dat_mon = strip_invalid_chars($_POST[exp_dat_mon]);
        $sql = "INSERT INTO cc_form SET
                  last_name= '$last_name',
                  first_name = '$first_name',
                  address1 = '$address1',
                  address2 = '$address2',
                  city = '$city',
                  state = '$state',
                  zip = '$zip',
                  county = '$county',
                  country = '$country',
                   phone = '$phone',
                  email = '$email',
                  cc_type = '$cc_type',
                  cc_num = '$cc_num',
                  exp_dat_mon = '$exp_dat_mon',
                   exp_dat_yea = '$exp_dat_yea',
                  cc_name = '$cc_name',
                  date = NOW()";
              $insert_cc_data = mysql_query($sql) or die(mysql_error()) ;
              # get id for lots table
              # to keep track of each user's lots
              $id = mysql_insert_id();
             * Insert Lots
            foreach ($_POST as $key => $val) {
                # sanitize data in all fields in loops
                if (preg_match("/lot([0-9]+)/", $key,  $matches)) {
                #echo "-- $matches[0]";
                if($_POST['lot'.$matches[1]] != '') {
            $val_lot = strip_invalid_chars($_POST['lot'.$matches[1]]);
            $val_lot_desc = strip_invalid_chars($_POST['lot_desc'.$matches[1]]);
            $val_lot_max = strip_invalid_chars($_POST['lot_max'.$matches[1]]);       
            // looks like strip_invalid_chars with type 'all' was stripping out '.' and perhaps the comma from
            // the javascript that formatted the number eg: 1,204.02
            // will now set type 'insecure' for strip_invalid_chars, which should leave '.' and , commas intact
            // for now will leave the lot_max_bid field as a varchar and have the javascript do the formatting
            // NOTE if the user's browser does not have javascript enabled
            // then currency will not be formatted into the database
            // would need to check entries for a '.' and if not found then use php currency formatting function
            $val_lot_max_bid = strip_invalid_chars($_POST['lot_max_bid'.$matches[1]], 'insecure');
            if(!preg_match("/./", $val_lot_max_bid)) {
                //$val_lot_max_bid = number_format($val_lot_max_bid, 2, '.', ',');
                        #echo $val_lot . "<br />";
                        #echo $val_lot_desc  . "<br />";
                        #echo $val_lot_max . "<br />";
                        #echo $val_lot_max_bid . "<br />";
                    $query_lots = "INSERT
                             INTO
                                    lots
                                    (lot_nu,
                                     lot_desc,
                                     lot_max,
                                     lot_max_bid,
                                     user_id,
                                     date
                                    values(
                                    '" . $val_lot . "',
                                    '" . $val_lot_desc . "',
                                    '" . $val_lot_max . "',
                                    '" . $val_lot_max_bid . "',
                                    '$id',
                                    NOW()
                #v_dump($matches[1]);
                $insert_lots = mysql_query($query_lots) or die(mysql_error());
               } # end of if isset
         * Make Sure Duplicate Entries Don't Occur
         * When User Hits Refresh Here
    ?>
        <html>
      <head>
        <title>Lang's Bids</title> 
    <script type="text/javascript" src="../Documents/Langsauction/www/langsauction.com/bids/site.js"></script>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">      
      </head>
    <body>
        <center>
        <table width="750">
            <tr>
                <td valign="center"><img src="https://langs11.securesites.net/bids/images/Bid-Banner.jpg">
                <br />
        <font size="-1" face="Verdana, Arial, Helvetica"><p><ul>Your Absentee Bid Information Was Received. Thank You.</ul></p>
        <p><ul><a href="javascript:window.close()">Close Window</a></ul></p></font>
                   </td>
               </tr>
        </table>
        </center>
        </body>
        </html>
    <?php
       * Send Email
      $today = date("F j, Y, g:i a");
      //$to = "[email protected]";
      //$to = "[email protected]";
      //$to = "[email protected]";
      // current email address to use!
      $to = "[email protected]";
      //$to = "[email protected]";
      $from = "[email protected]";
      $subject = "A Lang's Absentee Bid Has Been Submitted - " .$today. "";
      $message = "A Lang's Absentee Bid Has Been Submitted on " .$today. "\n\n Visit the Admin Area to view this entry:\n\nhttps://langs1.securesites.net/lang_cc/index.php";
      $headers = "From: $from\r\n";
      $send = mail($to, $subject, $message, $headers);
      exit;
    } # end of submit
        ?>
    <html>
      <head>
        <title>Lang's Bids</title>
             <LINK REL="StyleSheet" HREF="../Documents/Langsauction/www/langsauction.com/bids/bids.css" TYPE="text/css">
    <SCRIPT LANGUAGE="JavaScript">
    <!--http://javascript.internet.com/forms/currency-format.html-->
    <!-- Begin
    function formatCurrency(num) {
    num = num.toString().replace(/\$|\,/g,'');
    if(isNaN(num))
    num = "0";
    sign = (num == (num = Math.abs(num)));
    num = Math.floor(num*100+0.50000000001);
    cents = num%100;
    num = Math.floor(num/100).toString();
    if(cents<10)
    cents = "0" + cents;
    for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
    num = num.substring(0,num.length-(4*i+3))+','+
    num.substring(num.length-(4*i+3));
    //return (((sign)?'':'-') + '$' + num + '.' + cents);
    return (((sign)?'':'-') +  num + '.' + cents);
    //  End -->
    </script>
    <style type="text/css">
      .disclaimer {
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 14px;
        color: #000;
        margin: 0px;
        padding: 0px;
      .heading {
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 30px;
        color: #6A0000;
      .buttons {
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 54px;
      .footer {
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 16px;
        line-height: 1px;
        font-style: italic;
      .tabletitles {
        font-family: Georgia, "Times New Roman", Times, serif;
        font-size: 14px;
      </style>
      </head>
      <!-- body -->
    <body>
    <form  name=currencyform method="post" action="<?=$_SERVER['../Documents/Langsauction/www/langsauction.com/bids/PHP_SELF']?>#for m_start">
    <center>
    <table width="750" border="0" cellpadding="0" cellspacing="5" class="text">
        <tr>
            <td colspan="2" align="center"><img src="Auction Banner.jpg" width="960" height="255" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="left">
        <br>
        <center>
        <font face="arial" size="3">
        <span class="heading">Absentee and Phone Bid Form </span><br>
        </font>
        </center>
        <div align="center"><br>
          <span class="disclaimer">IMPORTANT: Please read CONDITIONS OF SALE before filling out form.<br><br>
            <strong>Absentee Bidding:</strong> Please complete this form to absentee bid on any lots (catalog item numbers) in this auction. Absentee bids are executed on your behalf by our staff in competition with bids from other bidders. In the event two identical absentee bids are received, the bid first received will be accepted. In the event your maximum bid ties with a bid from the phone, the normal policy is to go one increment higher on your behalf to break the tie in your favor. If you want us to do so, PLEASE INDICATE +1 ON THE FORM, IF NOT, PLEASE INDICATE MAX. <br><br>
            <strong>Phone Bidding:</strong> If you want to bid on the phone, through a member of Lang’s staff during the auction, please indicate so on this form along with the numbers of the lots you intend to bid on. Be sure to indicate the phone numbers where Lang’s can call you when it’s time for you to bid. We will make every effort to execute all absentee and phone bids. However, if there is an error or omission, Lang’s will not be held liable. <br><br>We require a good faith deposit equal to 20% of the maximum total bid (bank check, money order or VISA/Master Card).
            An 18% buyer’s premium will be added to all successful bids. A 3% discount (resulting in 15%) is given for cash or check payments.
      <br><br>
      <strong>Invoices will be emailed at the close of the auction on Sunday night to the email address provided.</strong><br> Please check your Spam folder or contact Lang’s office if you do not receive your invoice.<br><br>
            ~MAKE CHECKS PAYABLE TO LANG’S ~ Payment is due in full within ten days following the auction.
            Failure to pay within ten days following the auction will jeopardize future absentee & phone bidding privileges.
            </span><br><br>
          <hr width="100%" size="3" />
        </div>
        <p></p>
            </td>
        </tr>
        <tr>
          <td colspan="2">
          <a name="form_start">
            <br />
            <?php
            $error_count = count($errors);
            if($error_count > 0) {
              echo "<font face=\"arial\" color=\"red\" size=\"2\">";
              echo "The Following Errors Occured:<br /><br />";
            #  $errors = $_GET['errors'];
              foreach ($errors as $error_item) {
                  echo "$error_item<br />";
              echo "</font>";
            } # end of if error_count
              ?>     
          </td>
        </tr>
           <tr>
            <td colspan="2"></td></tr>
        <tr <?php if(in_array('first_name', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>First Name     </p>
            </td>
            <td align="left" width="550">
                <input name="first_name" type="text" value="<?=$_POST['first_name']?>"  maxlength="100" size="25" />
                <font color="orangered"><b>*</b></font>
            </td>
        </tr>
        <tr <?php if(in_array('last_name', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left" <?php if(in_array('last_name', $error_fields)) { echo "class=\"signupform\"";}?>>
                <p>Last Name     </p>
            </td>
            <td align="left">
                <input name="last_name" type="text" value="<?=$_POST['last_name']?>" maxlength="100" size="25" />
                <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr>
            <td align="left" <?php if(in_array('address1', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
                <p>Address 1     </p>
            </td>
            <td align="left">
                <input name="address1" type="text" value="<?=$_POST['address1']?>" maxlength="100" size="25" />
                <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr>
            <td align="left">
                <p>Address 2     </p>
            </td>
            <td align="left">
                <input name="address2" type="text" value="<?=$_POST['address2']?>"     maxlength="100" size="25" />
            </td>
        </tr>
        <tr valign="top" <?php if(in_array('city', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>City     </p>
            </td>
            <td align="left">
                 <input name="city" type="text" value="<?=$_POST['city']?>"  maxlength="100" size="25" />
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr valign="top" <?php if(in_array('state', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>State / Province     </p>
            </td>
            <td align="left">
      <!--     
    <select name="state" class="text">    
      <option value="<?php echo isset($_POST['state']) ? $_POST['state'] : ""; ?>"><?php echo isset($_POST['state'])  ? $_POST['state'] : "Select State"; ?></option>   
    <?php echo QAstatelist($vars['state']); ?>"
                                        </select>
    -->
            <input name="state" type="text" value="<?=$_POST['state']?>"  maxlength="100" size="25" />
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr valign="top" <?php if(in_array('zip', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Zip / Postal Code     </p>
            </td>
            <td align="left">
                 <input name="zip" type="text" value="<?=$_POST['zip']?>"  maxlength="100" size="25" />
                <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <!-- adding Country -->
         <tr valign="top" <?php if(in_array('country', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Country     </p>
            </td>
            <td align="left">
                 <input name="country" type="text" value="<?=$_POST['country']?>"  maxlength="100" size="25" />
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
         <tr valign="top" <?php if(in_array('phone', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Telephone     </p>
            </td>
            <td align="left">
                 <input name="phone" type="text" value="<?=$_POST['phone']?>"  maxlength="100" size="25" />
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr valign="top" <?php if(in_array('email', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>eMail     </p>
            </td>
            <td align="left">
                 <input name="email" type="text" value="<?=$_POST['email']?>"   maxlength="100" size="25" />
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
          <tr valign="top" <?php if(in_array('cc_type', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Credit Card Type     </p>
            </td>
            <td align="left">
        <select name="cc_type" size="1">
             <option value="<?=$_POST['cc_type']?>"><?php echo isset($_POST['cc_type']) ? $_POST['cc_type'] : "Select Type"; ?></option>   
             <option value="Visa">Visa</option>
             <option value="MasterCard">MasterCard</option>
        </select>
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr <?php if(in_array('cc_num', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Credit Card Number     <br /></p>
            </td>
            <td align="left">
                <input name="cc_num" type="text" value="<?=$_POST['cc_num']?>" maxlength="100" size="25" />
                <font color="orangered" size="+1"><tt><b>*</b></tt><br /><font face="arial" size="1" color="#FF0000"><b>(numbers only, no dashes please)</b></font></font>
            </td>
        </tr>
         <tr <?php if(in_array('exp_dat_mon', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?><?php if(in_array('exp_dat_yea', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Expiration Date     </p>
            </td>
            <td align="left">
               <select name="exp_dat_mon" size="1">
                 <?php if(!isset($_POST['exp_dat_mon'])) { echo "<option value=\"\">Select Month</option>";}?>
             <?php echo month_display($***_month, $_POST['exp_dat_mon']); ?>"
           </select>
            <select name="exp_dat_yea" size="1">
                 <option value="<?=$_POST['exp_dat_yea']?>"><?=$_POST['exp_dat_yea']?></option>
                 <option value="2008">2008</option>
                 <option value="2009">2009</option>
                 <option value="2010">2010</option>
                 <option value="2011">2011</option>
                 <option value="2012">2012</option>
                 <option value="2013">2013</option>
                 <option value="2014">2014</option>
                 <option value="2015">2015</option>
                 <option value="2016">2016</option>
                 <option value="2017">2017</option>
                 <option value="2018">2018</option>
                 <option value="2019">2019</option>
                 <option value="2020">2020</option>
                 <option value="2021">2021</option>
                 <option value="2022">2022</option>
           </select>
            <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr <?php if(in_array('cc_name', $error_fields)) { echo "bgcolor=\"FFCCCC\"";}?>>
            <td align="left">
                <p>Names As It      <br />
            Appears On Card     </p>
            </td>
            <td align="left">
                <input name="cc_name" type="text" value="<?=$_POST['cc_name']?>"  maxlength="100" size="25" />
                <font color="orangered" size="+1"><tt><b>*</b></tt></font>
            </td>
        </tr>
        <tr>
            <td colspan="2">
            <table width="640">
            <tr><td colspan="4"><hr noshade="noshade" /></td></tr>
            <tr><td colspan="4"><font face="arial" size="3" color="#FF0000">STEP 3</FONT></td></tr>
                           <tr>
                <td align="left" valign="top" class="tabletitles">LOT No.</td>
                <td align="left" valign="top" class="tabletitles">DESCRIPTION</td>
                <td align="left" valign="top" class="tabletitles">MAX, +1 or PHONE</td>
                <td align="left" valign="top" class="tabletitles">BID AMOUNT</td>
                        </tr>
              <?php
              for($x = 1; $x < 16; $x++) {
              ?>
                   <tr>
                <td>
                <input name="lot<?=$x?>" type="text" value="<?=$_POST['lot' . $x]?>"  maxlength="90" size="15" />
                </td>
                <td>
                <input name="lot_desc<?=$x?>" type="text" value="<?=$_POST['lot_desc' . $x]?>" maxlength="100" size="50" />
                </td>
                <td>
                <input name="lot_max<?=$x?>" type="text" value="<?=$_POST['lot_max' . $x]?>" maxlength="90" size="30" />
                </td>
                <td>
                <input type=text name="lot_max_bid<?=$x?>" maxlength="90" size="30" value="<?=$_POST['lot_max_bid' . $x]?>" onBlur="this.value=formatCurrency(this.value);">
        <!-- old input field without javascript currency formatter
                    <input name="lot_max_bid<?=$x?>" type="text" value="<?=$_POST['lot_max_bid' . $x]?>"  />
        -->
                </td>
                </tr>
              <?php
              ?>
            </table>
            </td>
        </tr>
        <tr>
            <td colspan="2">
             <p><br /><br /><p>
                 <input type="checkbox" name="agree" value="yes" <?php if($_POST['agree'] == 'yes') { echo "checked";}?>> <b>I have read and accept the <a href="http://langsauction.com/CONDITIONS OF SALE.pdf" target="_blank"><font color="#FF0000">Conditions of Sale (required)</b></a>
             </p>
             <br />
            </td>
        </tr>
        <tr>
            <td align="right" colspan="2">
                <hr noshade="noshade" />
                <input type="reset" value="Reset" />
                <input type="submit" name="submit" value="Submit " />
            </td>
        </tr>
    </table>
    </center>
    </form>
    <br>
    <hr width="100%" size="3" /><br>
    <p align="center" class="footer">Lang's Auction, Inc. &#8226; 663 Pleasant Valley Road &#8226; Waterville, NY 13480 </p>
    <p align="center" class="footer">Phone: 315-841-4623 &#8226; Fax: 315-841-8934 &#8226; <a href="mailto:[email protected]">[email protected]</a></p>
        <br />
        <hr width="75%" size="3" />
        <p align="center" class="footer">     </p>
    <div align="center"><i>&copy; 2012 Lang's Auction, Inc. All rights reserved.</i></div>
        </p>
      <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-17131030-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </body>
    </html>
    <!--- table bottom of main body content -->

  • Get specific Strings from File

    Good morning to every one.
    I 've got a text file which contains a customer number and an order number, coded as we see in the picture below:
    I am trying to develop a tool in Visual Studio, which it reads the file line-by-line and fills a listbox, with the order_number and the customer number. From the file above, I know that the order number are the digits on the first 'column' after the leading-zeros,
    until '/', and the customer number are the digits without zeros in the 'third' column before 'CUSTOMER_NUMBER'. My form looks like:
    The problem is, that the number of before the fields in file, are not equal in every line.
    So, my question is how I can retrieve the 'order number' and 'customer number' from the text file and copy the results to list box, after clicking on 'Get Strings' button, like:
    359962656   2238914
    359562804   2238914
    etc...
    I attach my code here:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.IO;
    namespace ReadStringFileApp
    public partial class frmMain : Form
    public frmMain()
    InitializeComponent();
    OpenFileDialog openfile = new OpenFileDialog();
    //openfiledialog to pickup filename
    private void btnFindFile_Click(object sender, EventArgs e)
    openfile.Filter = "Text|*.txt";
    if (openfile.ShowDialog() == DialogResult.OK)
    lbxResults.Items.Clear();
    txtFilepath.Text = openfile.FileName.ToString();
    //get strings from file
    private void btnGetStrings_Click(object sender, EventArgs e)
    //check if there is a file path on textbox
    if (txtFilepath.Text == "")
    MessageBox.Show("No File Select. Please select a file", "Error File Name", MessageBoxButtons.OK, MessageBoxIcon.Error);
    btnFindFile.Focus();
    return;
    //create list for all lines inside file
    List<string> lines = new List<string>();
    string line;
    using (StreamReader r = new StreamReader(@txtFilepath.Text))
    while ((line = r.ReadLine()) != null)
    string ordernum;//string for order number
    string customer;//string for customer number
    //line = ordernum + "\t" + customer; //concatenate results to fill the list box
    lbxResults.Items.Add(line);
    r.Close(); //close file
    private void btnExportToFIle_Click(object sender, EventArgs e)
    //check if listbox is empty
    if (lbxResults.Items.Count == 0)
    MessageBox.Show("Result List is empty! Choose a file to proceed.", "Error Result List", MessageBoxButtons.OK, MessageBoxIcon.Error);
    btnGetStrings.Focus();
    return;
    //read listbox contents and parse to a list object
    List<string> list = new List<string>();
    foreach (String i in lbxResults.Items)
    list.Add(i);
    //Create a file in c: with results
    File.WriteAllLines(@"C:\export-test.txt", list, Encoding.Default);
    MessageBox.Show("File export completed!", "File Export", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thank you in advanced

    @ Joel Engineer
    and@
    Val10
    I combined your responses and I get my results correctly. I attached the code I rewrite for further use:
    private void btnGetStrings_Click(object sender, EventArgs e)
    //check if there is a file path on textbox
    if (txtFilepath.Text == "")
    MessageBox.Show("No File Select. Please select a file", "Error File Name", MessageBoxButtons.OK, MessageBoxIcon.Error);
    btnFindFile.Focus();
    return;
    //create list for all lines inside file
    List<string> lines = new List<string>();
    string line;
    using (StreamReader r = new StreamReader(@txtFilepath.Text))
    while ((line = r.ReadLine()) != null)
    string order_customer;
    Regex reg = new Regex("0*");
    //set an string array, to split the file in columns positions, defining the characters
    string[] daneio = line.Split(new char[] { ' ', '\t' }, StringSplitOptions.RemoveEmptyEntries);
    //get order number from the first column
    var ordernum_zeros = reg.Match(daneio[0]).Value;
    daneio[0] = daneio[0].Replace(ordernum_zeros, String.Empty);
    daneio[0] = daneio[0].Substring(0, daneio[0].IndexOf("/"));
    //get customer column, without zeros
    var customer_zeros = reg.Match(daneio[5]).Value;
    daneio[2] = daneio[2].Replace(customer_zeros, String.Empty);
    daneio[2] = daneio[2].Substring(0, daneio[5].IndexOf("CUSTOMER_NUMBER"));
    //combine the result in listbox
    order_customer = daneio[0] + "\t" + daneio[2];
    lbxResults.Items.Add(order_customer);
    r.Close(); //close file
    Thank you for your help!

  • Quick question about RegExp

    Just a quick question.
    In other languages, I can do this...
    while(reg.exec(string)) {
         //loop through results
    And while looping, I can access the current match with something like reg.Match or whatever. 
    Is this possible in AS?

    Look up the RegExp class.

  • PrintJob() not displaying dynamically loaded images

    Hi all,
    I have an image-loading function given to me by a coworker
    that I'm using to load and smooth external images. It works great.
    However, when I go to print the slideshow I've created, I cannot
    figure out how to get these images to display. I'll post some code
    below, and I'm really hoping that there is a way to get this to
    work. It's been driving me nuts for about two hours!
    Thanks in advance!

    Hi,
    Thanks for the reply.I didn't really understand your reply.I am using commons.fileupload for uploading the image.Attaching teh code fragment for that.Could you please go through itFileItemFactory factory = new DiskFileItemFactory();
    ServletFileUpload upload = new ServletFileUpload(factory);
    List items = null;
    try {
    items = upload.parseRequest(req);
    // Create a factory for disk-based file items
    System.err.println("items: " +items);+
    +} catch (FileUploadException e) {+
    +e.printStackTrace();+
    +}+
    +Iterator itr = items.iterator();+
    +while (itr.hasNext())+
    +{+
    +FileItem item = (FileItem) itr.next();+
    +if (item.isFormField())+
    +{+
    +if(item.getFieldName().equals("First Name"))+
    +fName = item.getString();+
    +}+
    +else+
    +{+
    +try+
    +{+
    +String itemName = item.getName();+
    +Random generator = new Random();+
    +int r = Math.abs(generator.nextInt());+
    +String reg = "[.*]";+
    +String replacingtext = "";+
    +System.err.println("Text before replacing is:-"+ itemName);
    Pattern pattern = Pattern.compile(reg);
    Matcher matcher = pattern.matcher(itemName);
    StringBuffer buffer = new StringBuffer();
    while (matcher.find())
    matcher.appendReplacement(buffer, replacingtext);
    int IndexOf = itemName.indexOf(".");
    String domainName = itemName.substring(IndexOf);
    System.err.println("domainName: " +domainName);+
    +String finalimage = buffer.toString()+ "_" +r+ domainName;
    System.err.println("Final Image===" +finalimage);+
    +//Writing file to disk+
    +File savedFile = new File("C:/Zach_Academic/Code/web/Images/Actors/"+ finalimage);
    item.write(savedFile);Hope this time my keyboard didn't made any issue.
    Thanks,
    Zach.

  • Flex file upload issue with large image files

         Hello, I have created a sample flex application to upload an image and also created java servlet to upload and save image and deployed in local tomcat server. I am testing the application in LAN. I am able to upload small as well as large image file(1Mb) from some PCs but in some other PCs I am getting IOError while uploading large image files however it is working fine for small images. Image uploading is hanging after 10%-20% and throwing IOError. *Surprizgly it is working Ok with XP systems and causeing issues with Windows7 systems*.
    Plz give me any idea to get a solution.
    In Tomcat server side it is giving following error:
    request: org.apache.catalina.connector.RequestFacade@c19694
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
            at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.ja va:126)
            at flex.servlets.UploadImage.doPost(UploadImage.java:47)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:594)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStre am.java:982)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:8 86)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
    UploadImage.java:
    package flex.servlets;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.util.regex.*;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UploadImage extends HttpServlet{
             * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
             *      response)
            protected void doGet(HttpServletRequest request,
                            HttpServletResponse response) throws ServletException, IOException {
                    // TODO Auto-generated method stub
                    doPost(request, response);
            public void doPost(HttpServletRequest request,
                            HttpServletResponse response)
            throws ServletException, IOException {
                    PrintWriter out = response.getWriter();
                    boolean isMultipart = ServletFileUpload.isMultipartContent(
                                    request);
                    System.out.println("request: "+request);
                    if (!isMultipart) {
                            System.out.println("File Not Uploaded");
                    } else {
                            FileItemFactory factory = new DiskFileItemFactory();
                            ServletFileUpload upload = new ServletFileUpload(factory);
                            List items = null;
                            try {
                                    items = upload.parseRequest(request);
                                    System.out.println("items: "+items);
                            } catch (FileUploadException e) {
                                    e.printStackTrace();
                            Iterator itr = items.iterator();
                            while (itr.hasNext()) {
                                    FileItem item = (FileItem) itr.next();
                                    if (item.isFormField()){
                                            String name = item.getFieldName();
                                            System.out.println("name: "+name);
                                            String value = item.getString();
                                            System.out.println("value: "+value);
                                    } else {
                                            try {
                                                    String itemName = item.getName();
                                                    Random generator = new Random();
                                                    int r = Math.abs(generator.nextInt());
                                                    String reg = "[.*]";
                                                    String replacingtext = "";
                                                    System.out.println("Text before replacing is:-" +
                                                                    itemName);
                                                    Pattern pattern = Pattern.compile(reg);
                                                    Matcher matcher = pattern.matcher(itemName);
                                                    StringBuffer buffer = new StringBuffer();
                                                    while (matcher.find()) {
                                                            matcher.appendReplacement(buffer, replacingtext);
                                                    int IndexOf = itemName.indexOf(".");
                                                    String domainName = itemName.substring(IndexOf);
                                                    System.out.println("domainName: "+domainName);
                                                    String finalimage = buffer.toString()+"_"+r+domainName;
                                                    System.out.println("Final Image==="+finalimage);
                                                    File savedFile = new File(getServletContext().getRealPath("assets/images/")+"/LowesFloorPlan.png");
                                                    //File savedFile = new File("D:/apache-tomcat-6.0.35/webapps/ROOT/example/"+"\\test.jpeg");
                                                    item.write(savedFile);
                                                    out.println("<html>");
                                                    out.println("<body>");
                                                    out.println("<table><tr><td>");
                                                    out.println("");
                                                    out.println("</td></tr></table>");
                                                    try {
                                                            out.println("image inserted successfully");
                                                            out.println("</body>");
                                                            out.println("</html>");  
                                                    } catch (Exception e) {
                                                            System.out.println(e.getMessage());
                                                    } finally {
                                            } catch (Exception e) {
                                                    e.printStackTrace();

    It is only coming in Windows 7 systems and the root of this problem is SSL certificate.
    Workaround for this:
    Open application in IE and click on certificate error link at address bar . Click install certificate and you are done..
    happy programming.
    Thanks
    DevSachin

  • Get nth number of sets from user in proper set format in C#

    how to take nth number of sets from user using string type list in C#. 
    Each set should be in this format {1, 2 , 3, ab,....nth }.
    User can enter nth number of item in each set
    then count the number of item in each set
    Waiting for you answers 

    I think you still not got my point. okay once again i explain you what i want.
    User Enter set in WPF window in this format e.g {1,2,3,ab},{ab,cd,1,2}.
    User can enter nth number of set.
    User can enter nth number of elements\ items in each set.
    Count the number of elements in each set.
    Hopefully now you got my point
    If I understand you correctly, you want to get the number based on the string like "{1,2,3,ab},{ab,cd,1,2}". Maybe you could try Regular Expression:
    https://msdn.microsoft.com/en-us/library/az24scfc%28v=vs.110%29.aspx
    For example this code snippet is able to count the set numbers and element numbers for you:
    string input = "{1,2,3,ab},{ab,cd,1,2}";
    string pattern1 = @"{.*?}";
    string pattern2 = @"\w+,?";
    Regex reg = new Regex(pattern1);
    MatchCollection mc1 = reg.Matches(input);
    Console.WriteLine("Number of set:" + mc1.Count);
    for (int i = 0; i < mc1.Count; i++)
    reg = new Regex(pattern2);
    MatchCollection mc2 = reg.Matches(mc1[i].Value);
    Console.WriteLine("Set " + (i + 1) + " element number:" + mc2.Count);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • URL disappears from within address bar (bar does not disappear)

    After visiting a site for a few seconds, the address bar removes the URL and says "search or enter address" Once "search or enter address" appears the cursor is automatically moved to the address bar, sometimes in the middle of typing something. This

  • Run time error 2147467259

    Hello, while opening a query/ a workbook in the bex I get an error message "Run time error 2147467259 - The method 'position' for the object 'commandbar' was aborted." Somebody has an clue what this is about? I know this error from VBA but I don't kn

  • Mac Multiple Users - How to exclude for some users?

    Hi, I have  BBDM installed on a Mac with multiple users. A couple of those are children so I have Parental controls turned on, and BBDM excluded from their available list. However, when they log in BBDM is trying to sync artwork or something and cont

  • Remove need developer licence pop up while installing windows 8.1 app

    I have developed windows 8.1 app and created installation package for it. I need to push the app in client systems through SCCM. But the app has a pop asking for MSDN credentials for developer's licence. How do i remove that pop up and install the ap

  • How do I transfer a bought ringback online to phone?

    I cannot figure out how to get my ringback from the computer to my phone and make the ringback for a specific contact