Applicatio​n.DisplayA​lerts = False

Liebes Forum,
Ich erstelle von LabView aus ein Excel Sheet. Um die Systemmeldung "Datei überschreiben" zu unterdrücken, wenn die Datei neu gespeichert wird möchte ich den Befehl "Application.DisplayAlerts = False" von LabView aus verwenden. Ich finde den Befehl auch im Systemknoten aber er funzt nicht. Hingegen der Befehl "Application.Visible = False" funzt ohne Probleme.
Danke
Ralph

Hallo,
ja dort habe ich reingeschaut und einfach umgebaut. Klappt ja auch toll mit "visible" nur nicht mit DisplayAlerts.
Ich hänge das vi mal an. P.S. LabView 6
Danke
Ralph
Attachments:
Cap_Excel.vi ‏361 KB

Similar Messages

  • Compatibility problem (or?)

    (hey ho, I'm a complete newbie)
    I wrote a client-server pair in java (or rather, I more or less copied code from the tutorial). The client is an applet. Now, the client works splendid for me, but (as so often) it doesn't work at all for my friends. They all have java installed, and they can run other (and much more complex) applets, so what could be the problem? I'll just post the code so that you can see for yourselves (and yes, I know it looks horrid, it's just a test; I'm a complete newbie, remember?)
    import java.io.*;
    import java.net.*;
    import java.applet.Applet;
    import java.awt.TextField;
    import java.awt.TextArea;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    public class KFClient extends Applet implements ActionListener, Runnable {
         Thread com;
         Socket socket = null;
         PrintWriter out = null;
         BufferedReader in = null;
         String response;
         TextField inputField;
         TextArea displayA;
         public void init() {
              inputField = new TextField(60);
              inputField.addActionListener(this);
              displayA = new TextArea(20, 60);
              displayA.setEditable(false);
              add(inputField);
              add(displayA);
         public void start() {
              if (com == null) {
                   com = new Thread(this);
              com.start();
         public void run() {
              try {
                   socket = new Socket("x.x.x.x", 4444);
                   out = new PrintWriter(socket.getOutputStream(), true);
                   in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                   while ((response = in.readLine()) != null) {
                        displayA.appendText(response + "\n");
                        if (response.equals("/quit")) break;
                   out.close();
                   in.close();
                   socket.close();
              } catch (Exception e) {
                            displayA.appendText("ok, something went wrong!");
         public void actionPerformed(ActionEvent e) {
              out.println(inputField.getText());
              inputField.setText(null);
    }

    Ask your friends to turn on the java console in their browsers.
    Then they can see the error messages and report them back to you.

  • Faster than setCharacterAttributes(aset, false);

    I'm currently working on a XML Schema tool, I have implemented a syntax highlighter.
    However for large doucments it is very inefficient.
    I'm using a JTextPane using the method:
    setCharacterAttributes(aset, false);
    to change the colour of words. I have heard that a more efficient text displayer is the jEditorPane but I can't get it to change the colour of individual words.
    Can anyone help?
    Cheers
    Alex

    dannyyates wrote:
    Really???
    Setting aside the Java and heap/non-heap issue, surely memory mapping a file will use logical address space (hence you couldn't map more than approximately 2Gb on Windows, or 3Gb on Linux), but not actually consume physical memory. What would it use physical memory for? That's the whole point of memory mapping the file, after all. Otherwise, you'd just load it into memory!I believe the point of memory mapping a file is that you can read/write it presumably without another buffer copy (well, that and shared memory, but ignoring that for now). if you loaded it directly into heap memory, you'd have to copy it back out whenever it was modified. for the purposes of read-only, there's not much difference between mem-mapping it and just reading it into a heap buffer, it's just a difference as to which memory limit you'll hit first. i'm not sure what your argument is pertaining to physical memory, i was only ever referring to logical memory. when i said "native", i meant process memory outside of the java "heap".
    to reiterate, ignoring heap/non-heap issues, if you memory-map a file, it will be consuming some amount of logical memory on the box, the size of the memory mapped. if you instead read the file using a bufferedinputstream, you will only ever be using 8k (or whatever the buffer size is) of memory, period. thus, if they perform comparably (which i would expect they would in a situation where you are just reading straight through the file), then using the bufferedinputstream will definitely be an overall win.

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • Lack of Training / False In-Store Advertising Complaint - Avon, CT Store (Want Executive Level Contact)

    Hello,
    We have been Verizon customers for many years and typically enjoy the product and service.  However, this last upgrade we had a horrendous experience as a result of poor training by staff at the Avon, CT store.  We both upgraded our phones to Samsung Galaxy S4's.  My wife from an iPhone 4S and myself from an LG flip phone.
    After the setup, we needed to contact Verizon on 4 separate occasions to remedy errors in the setup of our phones and issues with account billing. 
    Issue 1 (False Advertising / Lack of training - company discounts):  The representative at the store wrote out our billing scenarios on the new "Edge" formatted comparison sheet and included a 15% blanket military discount to our bill, saying "yes you will receive a 15% discount on your bill".  He made no mention of the discount applying to the data package only AND even wrote an inaccurate bill number on the sheet, misleading us to a false monthly bill we were not prepared for.
    Issue 2 (Lack of training - phone upgrade):I  My wife's iPhone text messaging was still active, causing her to receive texts on her old iPhone while missing key messages on the new Samsung Galaxy.  This took upwards of an hour on the phone with Verizon technical support to understand, and the problem ultimately was still not resolved (see Issue 2).
    Issue 3 (Lack of training - phone upgrade):  The iMessaging service on my wife's iPhone was still active and needed to be turned to OFF.  This was not done in the store nor did anyone have any idea how to do it.  After yet another hour on the phone with Verizon tech. support, we reached that conclusion and it finally worked.
        Note:  This happened to a relative as well during the exact time frame we had this happen!!
    Issue 4 (Lack of training - phone activation):  My Samsung Galaxy S4 4G service was not activated for me.  I had no idea why I could not access the internet while out of the range of my WiFi until my wife figured out the 4G was off.  We were "all set to go" when inside the store.  This required again a 20min+ phone call to have to tear my phone apart to pull out the SIM card while they activated the 4G.
    We would like to be contacted to discuss this experience and how we can help use this to improve the services and training requirements of Verizon.  Can we be connected to an executive level person?  We love the company, but this last experience was just miserable.
    Thank you for your time.
    Sean

        Sean222, thank you so much for this feedback! I do want to start off by saying that I am sorry for all the time that has been spent on getting these phones all up and working. Getting a new phone should be an exciting time! I would like to go issue by issue with you.
    Issue 1: We would like to make sure that we provide this feedback to the store location to make sure that facts are delivered when we present customers what their monthly bill is going to be. It's very important to do so. In order for us to get this to go to the proper store and management could you please send us a Direct Message http://vz.to/1fbIKzK . (If you can accept my request to follow you. Then request to follow me back, I will then accept and you will be able to send me a Direct Message).
    Issue 2/3: I know that we have been having some issues when a person comes from an iPhone to an Android phone with text messages. I am very shocked that it up to an hour for technical support to understand what was going on. I know that it took some time to finally get the messages to start working, but I am happy to hear that they were able to get things back up and running again.
    Issue 4: Again, I apologize that when the device was set up at the store location they didn't test out the network before leaving the store. This is another issue that we could get addressed in the feedback to make sure that we check all the major functions of the phone are working before you leave the store.
    I really hope to hear back from you in a direct message so we can provide the proper feedback.
    Thank you,
    KevinR_VZW
    Please follow us on Twitter @VZWSupport

  • Can I put a READ function in a TRUE/FALSE case structure?

    Hi,
    I have a vi that operates as controller for a mechanical system of motors.  There are several sensors of various types, that provide input to the vi, including encoders, whose period is being measured.  The attached vi is the encoder period measuring part. It measures 15 periods and tells me the average of the 15 with each loop iteration.
    In my application, the encoder period measurement is not needed unless the vi knows that ALL THE OTHER sensors in the hardware configuration are measuring values within the desired range.  For example, Sensors A, B and C should all measure between 5-10.  If they are all showing values between 5-10, then, we want the encoder value to read and display.  If only one of the sensors, say A, is measuring 12, then, we don't want the period value to READ or be subsequently processed.  So, it is easy to set up the sensors A, B, C, to give a TRUE or FALSE based on whether they are within range or not, and if all 3 are TRUE, then, that value can easily be passed to the case structure that holds my READ function for the period.  Is this a good way to do this?  The goal is to eliminate unnecessary execution time that the period READ function would consume, as well as all subsequent calculations that are performed on the period value collected.  The period data is of no use if any one of the other sensors is not in the correct range.
    If any one of the other sensors is out of range, we want to skip the encoder READ step altogether.  So, it is easy to structure a BOOLEAN in my vi as shown in the attachment.  If I do it this way, will it throw an error, or just skip the READ until the BOOLEAN is true again?  Is there a better way to prevent the READ from happening if one of my other sensor values is not within the correct range?
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    forum JUly 18.vi ‏26 KB

    Sure, you can put a Read inside a case structure. For your application, just check that your sensors are all within range (Comparisons palette), then AND the T/F's and use the result of that for your case structure. (If you are already doing the in-range check, I can't see it here because you have 5 subVIs that I cannot open here.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Do Verizon customers have any legal recourse in response to the false advertising of iPhone ship dates, as well as de-prioritizing existing customers in the fulfillment order?

    9/19 guaranteed ship date, seems like a clear cut case of "bait and switch" on top of the customer service failure.
    State and federal laws are in place to protect consumers from false or misleading advertising. These laws make deceptive claims illegal. No business may make false, misleading, or deceptive claims about a product regarding its:
    Price
    Quality
    Purpose
    Consumers who are victims of false or misleading advertising should contact an experienced lawyer to find out about his or her rights and actions that can be taken.
    False advertising is any published claim that is deceptive or untruthful. Misleading advertising is any published claim that gives a consumer an incorrect understanding of the product they are interested in purchasing or using. The false and misleading advertising by companies of any product may result in the consumer suffering a financial loss, or another form of damage to the consumer.
    The financial losses or damages acquired by a consumer due to the false or misleading advertising may not be significant. However, this is not a cost that any consumer should have to endure. Consumers who have suffered from financial losses or other damages may participate in a class action lawsuit to recover compensation for any losses incurred.
    The Types of False and Misleading Advertising Tactics
    There are several types of false and misleading advertising tactics used by companies to lure in unsuspecting consumers. Some of these tactics include:
    Bait & Switch Advertising
    High-Pressure Sales Tactics
    Deceptive Form Contracts
    Artificially Inflating Prices
    Failure to Disclose
    Bait & switch advertising is the advertising of a product that the business does not provide or does not intend to sell. Businesses usually lure consumers into stores by promising to sell or provide an item or service at a certain cost. Once the consumer is in the store, the business tries to sell the consumer a more costly item or service.
    High-pressure sales tactics are used to get consumers to purchase a service or product that he or she does not want or does not intend to purchase.
    Deceptive form contracts have ambiguous promises or fine print in their contracts that are usually overlooked or misunderstood.
    Artificially inflating prices is used by businesses to give the illusion that a great deal on a product or service is available.
    Failure to disclose is a term used for when a business does not inform consumers when an item or service is currently unavailable, or when an offer has expired.
    Consumers may be awarded a variety of remedies against any business that engages in false or misleading advertising. These remedies may include:
    Monetary damages
    Injunctions ordering the businesses to stop running the advertisements
    Injunctions ordering the businesses to stop engaging in deceptive practices
    Injunctions ordering the businesses to include disclosure statements in their advertising

    Good luck in proving that they purposely deceived you, me, and anyone else still waiting.  I'm would guess that they were told by Apple to expect a certain amount devices, and when that amount fell short...well guess what happens...backorders and furious consumers.  Was I upset that I had trouble pre-ordering...yes.  Was I a bit bothered when my ship date moved...you betcha!  Will my world come to an end if I don't have my new iPhone today...nope, not at all.  I'm not saying you shouldn't be bothered but it's not like it's a limited edition device and they're only producing so many.  Everyone who wants one will eventually have the opportunity to get it...some of us will just have to wait a little longer.  I'm in no way telling you not to be upset, after all, you're entitled to your own opinion and feelings...I just know that my energy could be better used on something more productive than being angry at Verizon.   After all, I know they're not sitting on a boat load of phones just pointing at laughing at the fact that I have to wait.  When they have it, they'll ship it.  I'll get mine and I'm sure if you hang in there, you'll get yours too.  Have a great evening and smile...life's much to short to spend any moment being upset over something as simple as a delayed phone.  

  • How do i change the path of data ajax false from returning to homepage, when using a PHP mail form in jquery mobile?

    I have a put a php mail form in the quote page of my mobile site. However when i send the form it returns to the route page rather than the quote page, i have used the data ajax false action as i dont want to send via ajax. i have left the thanks page blank as i want it to remain on the same page showing sent or declined message.  Can someone help please? 
    <?php
    // OPTIONS - PLEASE CONFIGURE THESE BEFORE USE!
    $yourEmail = "[email protected]"; // the email address you wish to receive these mails through
    $yourWebsite = "www.firstcalltransport.co.uk"; // the name of your website
    $thanksPage = ''; // URL to 'thanks for sending mail' page; leave empty to keep message on the same page
    $maxPoints = 4; // max points a person can hit before it refuses to submit - recommend 4
    $requiredFields = "name,email,collection,delivery,comments"; // names of the fields you'd like to be required as a minimum, separate each field with a comma
    // DO NOT EDIT BELOW HERE
    $error_msg = array();
    $result = null;
    $requiredFields = explode(",", $requiredFields);
    function clean($data) {
      $data = trim(stripslashes(strip_tags($data)));
      return $data;
    function isBot() {
      $bots = array("Indy", "Blaiz", "Java", "libwww-perl", "Python", "OutfoxBot", "User-Agent", "PycURL", "AlphaServer", "T8Abot", "Syntryx", "WinHttp", "WebBandit", "nicebot", "Teoma", "alexa", "froogle", "inktomi", "looksmart", "URL_Spider_SQL", "Firefly", "NationalDirectory", "Ask Jeeves", "TECNOSEEK", "InfoSeek", "WebFindBot", "girafabot", "crawler", "www.galaxy.com", "Googlebot", "Scooter", "Slurp", "appie", "FAST", "WebBug", "Spade", "ZyBorg", "rabaz");
      foreach ($bots as $bot)
      if (stripos($_SERVER['HTTP_USER_AGENT'], $bot) !== false)
      return true;
      if (empty($_SERVER['HTTP_USER_AGENT']) || $_SERVER['HTTP_USER_AGENT'] == " ")
      return true;
      return false;
    if ($_SERVER['REQUEST_METHOD'] == "POST") {
      if (isBot() !== false)
      $error_msg[] = "No bots please! UA reported as: ".$_SERVER['HTTP_USER_AGENT'];
      // lets check a few things - not enough to trigger an error on their own, but worth assigning a spam score..
      // score quickly adds up therefore allowing genuine users with 'accidental' score through but cutting out real spam
      $points = (int)0;
      foreach ($badwords as $word)
      if (
      strpos(strtolower($_POST['comments']), $word) !== false ||
      strpos(strtolower($_POST['name']), $word) !== false
      $points += 2;
      if (strpos($_POST['comments'], "http://") !== false || strpos($_POST['comments'], "www.") !== false)
      $points += 2;
      if (isset($_POST['nojs']))
      $points += 1;
      if (preg_match("/(<.*>)/i", $_POST['comments']))
      $points += 2;
      if (strlen($_POST['name']) < 3)
      $points += 1;
      if (strlen($_POST['comments']) < 15 || strlen($_POST['comments'] > 1500))
      $points += 2;
      if (preg_match("/[bcdfghjklmnpqrstvwxyz]{7,}/i", $_POST['comments']))
      $points += 1;
      // end score assignments
      foreach($requiredFields as $field) {
      trim($_POST[$field]);
      if (!isset($_POST[$field]) || empty($_POST[$field]) && array_pop($error_msg) != "Please fill in all the required fields and submit again.\r\n")
      $error_msg[] = "Please fill in all the required fields and submit again.";
      if (!empty($_POST['name']) && !preg_match("/^[a-zA-Z-'\s]*$/", stripslashes($_POST['name'])))
      $error_msg[] = "The name field must not contain special characters.\r\n";
      if (!empty($_POST['email']) && !preg_match('/^([a-z0-9])(([-a-z0-9._])*([a-z0-9]))*\@([a-z0-9])(([a-z0-9-])*([a-z0-9]))+ ' . '(\.([a-z0-9])([-a-z0-9_-])?([a-z0-9])+)+$/i', strtolower($_POST['email'])))
      $error_msg[] = "That is not a valid e-mail address.\r\n";
      if (!empty($_POST['url']) && !preg_match('/^(http|https):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\ /?/i', $_POST['url']))
      $error_msg[] = "Invalid website url.\r\n";
      if ($error_msg == NULL && $points <= $maxPoints) {
      $subject = "Automatic Form Email";
      $message = "You received this e-mail message through your website: \n\n";
      foreach ($_POST as $key => $val) {
      if (is_array($val)) {
      foreach ($val as $subval) {
      $message .= ucwords($key) . ": " . clean($subval) . "\r\n";
      } else {
      $message .= ucwords($key) . ": " . clean($val) . "\r\n";
      $message .= "\r\n";
      $message .= 'IP: '.$_SERVER['REMOTE_ADDR']."\r\n";
      $message .= 'Browser: '.$_SERVER['HTTP_USER_AGENT']."\r\n";
      $message .= 'Points: '.$points;
      if (strstr($_SERVER['SERVER_SOFTWARE'], "Win")) {
      $headers   = "From: $yourEmail\r\n";
      } else {
      $headers   = "From: $yourWebsite <$yourEmail>\r\n";
      $headers  .= "Reply-To: {$_POST['email']}\r\n";
      if (mail($yourEmail,$subject,$message,$headers)) {
      if (!empty($thanksPage)) {
      header("Location: $thanksPage");
      exit;
      } else {
      $result = 'Your mail was successfully sent.';
      $disable = true;
      } else {
      $error_msg[] = 'Your mail could not be sent this time. ['.$points.']';
      } else {
      if (empty($error_msg))
      $error_msg[] = 'Your mail looks too much like spam, and could not be sent this time. ['.$points.']';
    function get_data($var) {
      if (isset($_POST[$var]))
      echo htmlspecialchars($_POST[$var]);
    ?>
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="CSS/stylesheetnew.css" rel="stylesheet" type="text/css">
    <link href="../jquery-mobile/jquery.mobile-1.0a3.min.css" rel="stylesheet" type="text/css">
    <script src="../jquery-mobile/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../jquery-mobile/jquery.mobile-1.0a3.min.js" type="text/javascript"></script>
    <style type="text/css">
      p.error, p.success {
      font-weight: bold;
      padding: 10px;
      border: 1px solid;
      p.error {
      background: #ffc0c0;
      color: #F00;
      p.success {
      background: #b3ff69;
      color: #4fa000;
    </style>
    </head>
    <body>
    <div data-role="page" id="home">
      <div data-role="header" data-position="fixed">
       <h1>FIRSTCALL TRANSPORT</h1>
    </div>
        <div data-role="navbar" data-position="fixed">
                                    <ul>
                                      <li><a href="#about">About</a></li>
                                      <li><a href="#services">Services</a></li>
                                      <li><a href="#contact">Contact</a></li>
                                      <li><a href="#quote">Quote</a></li>
                                    </ul>
      </div>
      <div data-role="content"> </div>
         <div data-role="footer" data-position="fixed" > </div>
    </div>
    </div>
    <div data-role="page" id="quote">
      <div data-role="header" data-position="fixed">
        <h1>GET A QUOTE</h1>
      </div>
      <div data-role="content">
       <?php
    if (!empty($error_msg)) {
      echo '<p class="error">ERROR: '. implode("<br />", $error_msg) . "</p>";
    if ($result != NULL) {
      echo '<p class="success">'. $result . "</p>";
    ?>
    <form action="<?php echo basename(__FILE__); ?>" method="post" data-ajax="false"  >
    <noscript>
      <p><input type="hidden" name="nojs" id="nojs" /></p>
    </noscript>
    <p>
      <label for="name">Name: *</label>
      <input type="text" name="name" id="name" value="<?php get_data("name"); ?>" /><br />
      <label for="email">E-mail: *</label>
      <input type="text" name="email" id="email" value="<?php get_data("email"); ?>" /><br />
            <label for="company">Company:</label>
      <input type="text" name="company" id="company" value="<?php get_data("company"); ?>" /><br />
      <label for="collection">Collection: *</label>
      <input type="text" name="collection" id="collection" value="<?php get_data("collection"); ?>" /><br />
        <label for="delivery">Delivery: *</label>
      <input type="text" name="delivery" id="delivery" value="<?php get_data("delivery"); ?>" /><br />
      <label for="comments">Message: *</label>
      <textarea name="comments" id="comments" rows="5" cols="20"><?php get_data("comments"); ?></textarea><br />
      <input type="submit" name="submit" id="submit" value="Send" <?php if (isset($disable) && $disable === true) echo ' disabled="disabled"'; ?> />
    </p>
    </form>  </div>
         <div data-role="footer" >  </div>
      </div>
      </div>           
    </body>
    </html>

    My wife has left me for four weeks, favouring to be with our son who lives 4,000 km away. I now have to cook for myself and the steaks taste horrible. What am I doing wrong?
    If you do not know what I have (not) done to make the steak taste horrible, my question is as hard to answer as your question above.
    Please give us more info like giving us the code that sends the page to the homepage rather than to the previous page.

  • How to make a JPanel transparent? Not able to do it with setOpaque(false)

    Hi all,
    I am writing a code to play a video and then draw some lines on the video. For that first I am playing the video on a visual component and I am trying to overlap a JPanel for drawing the lines. I am able to overlap the JPanel but I am not able to make it transparent. So I am able to draw lines but not able to see the video. So, I want to make the JPanel transparent so that I can see the video also... I am posting my code below
    import javax.media.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import java.lang.Math;
    import javax.media.control.FramePositioningControl;
    import javax.media.protocol.*;
    import javax.swing.*;
    class MPEGPlayer2 extends JFrame implements ActionListener,ControllerListener,ItemListener
         Player player;
         Component vc, cc;
         boolean first = true, loop = false;
         String currentDirectory;
         int mediatime;
         BufferedWriter out;
         FileWriter fos;
         String filename = "";
         Object waitSync = new Object();
         boolean stateTransitionOK = true;
         JButton bn = new JButton("DrawLine");
         MPEGPlayer2 (String title)
              super (title);
              addWindowListener(new WindowAdapter ()
                   public void windowClosing (WindowEvent e)
                            dispose ();
                            public void windowClosed (WindowEvent e)
                         if (player != null)
                         player.close ();
                         System.exit (0);
              Menu m = new Menu ("File");
              MenuItem mi = new MenuItem ("Open...");
              mi.addActionListener (this);
              m.add (mi);
              m.addSeparator ();
              CheckboxMenuItem cbmi = new CheckboxMenuItem ("Loop", false);
              cbmi.addItemListener (this);
              m.add (cbmi);
              m.addSeparator ();
              mi = new MenuItem ("Exit");
              mi.addActionListener (this);
              m.add (mi);
              MenuBar mb = new MenuBar ();
              mb.add (m);
              setMenuBar (mb);
              setSize (500, 500);
              setVisible (true);
         public void actionPerformed (ActionEvent ae)
                        FileDialog fd = new FileDialog (this, "Open File",FileDialog.LOAD);
                        fd.setDirectory (currentDirectory);
                        fd.show ();
                        if (fd.getFile () == null)
                        return;
                        currentDirectory = fd.getDirectory ();
                        try
                             player = Manager.createPlayer (new MediaLocator("file:" +fd.getDirectory () +fd.getFile ()));
                             filename = fd.getFile();
                        catch (Exception exe)
                             System.out.println(exe);
                        if (player == null)
                             System.out.println ("Trouble creating a player.");
                             return;
                        setTitle (fd.getFile ());
                        player.addControllerListener (this);
                        player.prefetch ();
         }// end of action performed
         public void controllerUpdate (ControllerEvent e)
              if (e instanceof EndOfMediaEvent)
                   if (loop)
                        player.setMediaTime (new Time (0));
                        player.start ();
                   return;
              if (e instanceof PrefetchCompleteEvent)
                   player.start ();
                   return;
              if (e instanceof RealizeCompleteEvent)
                   vc = player.getVisualComponent ();
                   if (vc != null)
                        add (vc);
                   cc = player.getControlPanelComponent ();
                   if (cc != null)
                        add (cc, BorderLayout.SOUTH);
                   add(new MyPanel());
                   pack ();
         public void itemStateChanged(ItemEvent ee)
         public static void main (String [] args)
              MPEGPlayer2 mp = new MPEGPlayer2 ("Media Player 2.0");
              System.out.println("111111");
    class MyPanel extends JPanel
         int i=0,j;
         public int xc[]= new int[100];
         public int yc[]= new int[100];
         int a,b,c,d;
         public MyPanel()
              setOpaque(false);
              setBorder(BorderFactory.createLineBorder(Color.black));
              JButton bn = new JButton("DrawLine");
              this.add(bn);
              bn.addActionListener(actionListener);
              setBackground(Color.CYAN);
              addMouseListener(new MouseAdapter()
                             public void mouseClicked(MouseEvent e)
                   saveCoordinates(e.getX(),e.getY());
         ActionListener actionListener = new ActionListener()
              public void actionPerformed(ActionEvent aae)
                        repaint();
         public void saveCoordinates(int x, int y)
                    System.out.println("x-coordinate="+x);
                    System.out.println("y-coordinate="+y);
                    xc=x;
              yc[i]=y;
              System.out.println("i="+i);
              i=i+1;
         public Dimension getPreferredSize()
    return new Dimension(500,500);
         public void paintComponent(Graphics g)
    super.paintComponent(g);
              Graphics2D g2D = (Graphics2D)g;
              //g2D.setComposite(AlphaComposite.getInstance(AlphaComposite.CLEAR, 0.0f));
              g2D.setColor(Color.GREEN);
              for (j=0;j<i;j=j+2)
                   g2D.drawLine(xc[j],yc[j],xc[j+1],yc[j+1]);

    camickr wrote:
    "How to Use Layered Panes"
    http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html
    Add your video component to one layer and your non-opaque panel to another layer.Did you try that with JMF? It does not work for me. As I said, the movie seems to draw itself always on top!

  • BOOLEAN DEFAULT FALSE NOT NULL for key-column

    Hello,
    These statements show an unexpected behavior when a column is added to a table as 'BOOLEAN DEFAULT FALSE NOT NULL' and added afterward to the table's primary key column set:
    create table test_1 (a char(1))
    insert into test_1 values('A')
    alter table test_1 add b boolean default false not null
    alter table test_1 add primary key (a,b)
    create table test_2 (a char(1), b boolean default false not null)
    insert into test_2 (a) values('A')
    alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
          -> [350]: Referential integrity violated
    update test_1 set b=false
    alter table test_2 add foreign key f_test_1 (a,b) references test_1 (a,b)
          -> success
    delete from test_2
    delete from test_1
    insert into test_1 (a,b) values('A',false)
    insert into test_2 (a) values('A')
          -> success
    I think the error message '[350] Referential integrity violated' should not happen because the column 'b' really contains 'false'. But there obviously seem to be a difference before and after setting the column 'b' explicitly to 'false'. I can imagine that this depends on the way how the index for the primary key is updated. Probably the index is not properly updated in this context(?)
    Gabriel

    Hi Gabriel,
    you're right, this is a bug and indeed seems to caused by the way the DEFAULT boolean is stored in the page.
    (There is no separate index for the primary key in MaxDB as all data is stored in B*trees - basically the table is the primary key).
    This is how the record looks like when column b is 'false' only due to the change of the DEFAULT value:
    ROOT/LEAF 460  perm       entries : 1         [block 0]
         bottom  : 93         filevers: 14888     convvers: 83
                                                  writecnt: 1
      1: (pos 00081)
    00001      recLen      : 12                recKeyLen   : 4
    00005      recVarcolOff: 0                 recVarcolCnt: 0
         record
          1  2  3  4  5  6  7  8  9 10 11 12
         81 82 83 84 85 86 87 88 89 90 91 92
    dec: 12  0  4  0  0  0  0  0 32 65  0  0
    hex: 0C 00 04 00 00 00 00 00 20 41 00 00
    chr:                             A
    And this is how it looks like after the explicit UPDATE:
    ROOT/LEAF 460  perm       entries : 1         [block 0]
         bottom  : 93         filevers: 14888     convvers: 84
                                                  writecnt: 2
      1: (pos 00081)
    00001      recLen      : 11                recKeyLen   : 3
    00005      recVarcolOff: 0                 recVarcolCnt: 0
         record
          1  2  3  4  5  6  7  8  9 10 11
         81 82 83 84 85 86 87 88 89 90 91
    dec: 11  0  3  0  0  0  0  0 32 65  0
    hex: 0B 00 03 00 00 00 00 00 20 41 00
    chr:                             A
    Little difference but this leads to the problems during the foreign key validation.
    I'll inform the developers next week about this.
    As a workaround you'll have to explicitly update the columns for which you change the default setting.
    regards,
    Lars

  • Jabber 9.2 and StartCallWithVideo set to false not taking

    The StartCallWithVideo option doesn't seem to working in Jabber 9.2 (tried 9.2.0 and 9.2.2). Tried false and FALSE for value.
    The jabber-config file downloads fine and has all the settings below on PC and the DockedWindow is not visible so the settings are working, but the calls start with video still and on the Jabber GUI under call section the start calls with video is selected.
    When I make call to someone else it starts with video unless I manually set to not start calls with video.
    Not finding any bugs on this.
    Anyone seen this before or know how to get it working if it isn't a bug?
    <?xml version="1.0" encoding="utf-8"?>
    <config version="1.0">
    <Client>
    </Client>
    <Directory>
      <DirectoryServerType>UDS</DirectoryServerType>
    </Directory>
    <Options>
      <StartCallWithVideo>FALSE</StartCallWithVideo>
      <Start_Client_On_Start_OS>true</Start_Client_On_Start_OS>
      <DockedWindowVisible>FALSE</DockedWindowVisible>
      </Options>
    <Policies>
    <Screen_Capture_Enabled>true</Screen_Capture_Enabled>
      <File_Transfer_Enabled>true</File_Transfer_Enabled>
      <Disallowed_File_Transfer_Types>.exe;.msi;.rar;.zip;.mp3</Disallowed_File_Transfer_Types>
      <Video_Disabled>false</Video_Disabled>
    </Policies>
    </config>

    Anyone have fix to this issue with IM&P 9.1.1, I have UC Service profile setup right and the setting set to false and my client is getting current XML file but still starts calls with video. I've tried both upper case and lower case for the false value. Other settings from my jabber-config file are working just fine. 
    FALSE
    I've been thru the links above and documentation again but not seeing a option anywhere on CUCM UC profile pages or IM&P to disable this.

  • Anyconnect 3.1 Captive Portal False Alert Stops Users Connecting.

    Hi All,
    I am having problems with a customer's ASA 5505 with Anyconnect 3.1 - it is generating captive portal false-alerts which are stopping users from connecting.
    This issue began when I upgraded from Anyconnect 2.4 to 3.1, and it appears like this: A user downloads and installs the Anyconnect client and is able to connect fine, to begin with. However, once they reboot their computer and try to reconnect, the VPN session will not come up and they receive the error message below.
    "The service provider in your current location is restricting access to the internet. You need to log on with the service provider before you can establish a VPN session. You can try this by visiting any website with your browser."
    Reading other posts, it seems this message appears when a captive portal is restricting internet access. It must be a false alert in this case as there is nothing of the sort here. Apparently, Anyconnect 3.1 can generate a false alert like so if the name of the firewall's SSL certificate doesn't match the CName listed on the Client Profile. I've set this up to match, to no avail.
    Although users can connect by reauthenticating through the SSL VPN login web page, I am stumped as to how to get rid of this captive portal error that pops up when they try to use the Anyconnect client.
    Any advice would be appreciated, just let me know what extra details to post if needed.
    Many thanks,
    Josh Campbell

    Hi Joshua,
    The below information could be located at
    www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect31/administration/guide/ac03vpn.html
    False Captive Portal Detection
    AnyConnect can falsely assume it is in a captive portal in the following situations.
    •If AnyConnect attempts to contact an ASA with a certificate containing an incorrect server name (CN), then the AnyConnect client will think it is in a "captive portal" environment.
    To prevent this, make sure the ASA certificate is properly configured. The CN value in the certificate must match the name of the ASA server in the VPN client profile.
    •If there is another device on the network before the ASA, and that device responds to the client's attempt to contact an ASA by blocking HTTPS access to the ASA, then the AnyConnect client will think it is in a "captive portal" environment. This situation can occur when a user is on an internal network, and connects through a firewall to connect to the ASA.
    If you need to restrict access to the ASA from inside the corporation, configure your firewall such that HTTP and HTTPS traffic  to the ASA's address does not return an HTTP status. HTTP/HTTPS access to the ASA should either be allowed or completely  blocked (also known as black-holed) to ensure that HTTP/HTTPS requests sent
    There is also a bug filed for this. Just for your reference,
    CSCud17825 - Anyconnect captive portal
    Regards,
    Srikanth K S.

  • All text on website is acting as a (false) link, assistance greatly welcomed.

    *Please open link in IE not FF*
    The text and narrative in all of the pages on the website www.blindname.com/index.html and subsequent pages is acting as a 404/link, when I scan the code, there are no links visible and I have checked to see all the tags and am yet to find the problem.   Would you be so kind to be able to assist?
    Many thanks, I will keep this window/thread open and will be here to talk.
    I also am having layout problems in Firefox and Chrome.  Originally I designed it in FF and GC but could not get the IE working properly, so then decided to redo in IE and now cannot do FF. I may open up another thread for this when this problem is solved, and if it is more appropriate.
    Here is the code of the index page, but all pages, seem to have the problem:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="google-site-verification" content="NAl20BG7p3V-Ule6UYGEF0Hwqr7-347RXW1__XVNWTU" />
    <title>Welcome to the D&amp;A Group Website | Architecture + Property Development in Athens</title>
    <meta name="Description" content="Welcome to  Dikefalos and Associates website." />
    <meta name="Keywords" content="Architecture, D&amp;A Group, Dikefalos and Associates Group, Architects, Architect, property Development, Greece, Greek Architects, Islands, Athens, Acropolis, Bespoke, Finance Plans" />
    <link rel="shortcut icon" href="file:///C|/Users/Stickman/Documents/Architect of Design/favicon.ico" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="file:///C|/Users/Stickman/documents/architect of design/dagroup/style/style.css" id="css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style5 {
        color: #FFFFFF
    .style7 {font-size: xx-small}
    .style11 {font-size: small}
    .style12 {font-size: x-small}
    .style20 {color: #0066CC; }
    body {
        background-image: url(images/background.jpg);
        background-repeat: repeat-x;
        background-color: #999999;
    a:link {
        color: #666666;
        text-decoration: none;
    a:active {
        color: #0066CC;
        text-decoration: none;
    h1 {
        color: #666666;
    a:visited {
        text-decoration: none;
    a:hover {
        text-decoration: none;
    .style36 {
        font-family: verdana;
        margin-top: 8px;
        margin-left: 33px;
        font-style: normal;
        font-weight: normal;
    .style39 {color: #666666; font-weight: bold; font-size: 15px;}
    .style51 {    font-family: Young;
        font-size: LARGE;
        font-weight: bold;
        color: #FFFFFF;
    .style43 {    color: #FFFFFF;
        font-size: 10px;
    .style45 {    font-size: large;
        font-weight: bold;
        color: #FFFFFF;
    .style46 {font-family: Young}
    .style56 {font-size: 12px}
    .style58 {font-family: verdana}
    .style60 {
        font-size: 12px;
        font-family: verdana;
        color: #FFFFFF;
        font-weight: bold;
    .style61 {color: #FFFFFF; font-family: verdana; }
    -->
    </style>
    <script type="text/javascript">
    var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-28965439-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);
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    </script>
    <script language="JavaScript" type="text/javascript">
    <!--
    if (document.getElementById) {
    document.writeln('<style type="text/css"><!--')
    document.writeln('.texter {display:none} @media print {.texter {display:block;}}')
    document.writeln('//--></style>') }
    function openClose(theID) {
    if (document.getElementById(theID).style.display == "block") { document.getElementById(theID).style.display = "none" }
    else { document.getElementById(theID).style.display = "block" } }
    // -->
    </script>
    </head>
    <body>
    <div class="header">
            <p><a href="index.html"><img src="images/headerlogo.png" alt="" width="473" height="56" hspace="0" vspace="0" border="0" class="mainlogo" /></a></p>
            <p> </p>
    <p> </p>
    <div class="menu"> <a href=
    "http://blindname.com/contact.html" title="Contact" class="contact"></a> <a href=
    "http://blindname.com/index.html" title="Architectural Design" class="design"></a> <a href=
    "http://blindname.com/about_us.html" title="The D&amp;A Group" class="aboutus"></a> <a href=
    "http://blindname.com/services.html" title="Services" class="services"></a> <a href=
    "http://blindname.com/news.html" title="Company News" class="news"></a> <a href=
    "http://blindname.com/index.html" title="Home" class="home"></a> <a href=
    <div class="clear"></div>
      <div class="numbermenu"><a href=
    "http://www.blindname.com/index2.html" title="Arrow" class="arrow"></a> <a href=
    "http://www.blindname.com/index6.html" title="6" class="one"></a> <a href=
    "http://www.blindname.com/index5.html" title="5" class="two"></a> <a href=
    "http://www.blindname.com/index4.html" title="4" class="three"></a> <a href=
    "http://www.blindname.com/index3.html" title="3" class="four"></a> <a href=
    "http://www.blindname.com/index2.html" title="2" class="five"></a> <a href=
    "http://www.blindname.com/index.html" title="1" class="six"></a> <a href=
    "http://www.blindname.com/index6.html" title="Arrow" class="arrowreverse"></a> <a href=
    <div class="clear"></div>
    <div class="work">
    <div class="work1">
      <center>
        <img src="images/main.jpg" alt="1" width="770" height="416" hspace="0" border="1" class="image_work" />
      </center>
    </div>
    <div class="clear"></div>
    <div class="core">
      <div class="core_left"> <span class="style45"><span class="style46"> RECENT NEWS</span></span>
          <div class="locnica style20"></div>
        <p class="style43">12.06.2012<br />
          Construction on our new residential complex on the Ionian islands started today! </p>
        <p class="style43">08.06.2012<br />
          The D&amp;A group website is officially complete and open to the public.</p>
        <p class="style43">03.06.2012<br />
          Construction on our Athens tourism complex is now complete. Please do take a look at our pictures in the gallery! </p>
        <p class="style43">02.06.2012<br />
          Work on the D&amp;A Group website started today. </p>
        <div class="clear"></div>
        <div class="locnica"></div>
        <p>
            <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
            <script>
    new TWTR.Widget({
      version: 2,
      type: 'profile',
      rpp: 7,
      interval: 30000,
      width: 250,
      height: 300,
      theme: {
        shell: {
          background: '#2e2e2e',
          color: '#ffffff'
        tweets: {
          background: '#ffffff',
          color: '#666666',
          links: '#8a8a8a'
      features: {
        scrollbar: true,
        loop: false,
        live: false,
        behavior: 'default'
    }).render().setUser('@nikosdikefalos').start();
        </script>
            <br />
          </p>
      </div>
      <div class="core_right style36">
      <div align="center"><span class="style51">SUPERLATIVE BUILDING SOLUTIONS</span><br />
          <br />
      </div>
      <div class="locnica style20"></div>
      <p class="style5">Welcome to the website of &quot;The Dikefalos and Associates Group&quot;, an experienced company with over 10 years of experience in property development, we cover all aspects of development; from the architectural concept design, financial management,  supporting the engineering required, and aftersales support, where we can even assist you when you need to find the correct cleaning and maintanence crews for your new project.</p>
      <p class="style5">The D&amp;A Group take pride in being a  leading expert and provider in the Greek property market. We plan, design,  develop  and manage personalized property  portfolios to match our clients' specific needs , preferences and objectives and expectations, budget and available resources.
    We offer our personalized, professional services in cost- and time-effective integrated packages or individually, covering the full spectrum of property investment, development and management: from strategic planning and sustainability studies to financial consulting, and from engineering and project management to supporting and after sales services.</span><span class="style58"><br />
      </span></p>
      <div class="style60" style="cursor:hand; cursor:pointer" onclick="openClose('a2')">
        <p> <b> Read More </b> </p>
      </div>
    <div class="texter style56 style58" id="a2">
      <div align="justify">
        <p><span class="style61"> Established as a holding company in 2007, D&amp;A Group assembled the forces of major  Designers &amp; contractors and property Developers:  InterDesign SA, P and Mediterranean Developments Ltd to consolidate 50 years of:
          Expertise in all aspects of Greek realty
          Over the years our team have acquired a thorough understanding of the Greek market and its dynamics.
          </span></p>
        <p><span class="style61">To maximize our local insights, heighten our awareness and hone our perceptiveness, we research
          exhaustively into current data for Greece. This enables us to fully appreciate local options and restraints,
          and quickly recognize trends that show sound potential.
            <br />
            <br />
            With the benefit of this sophisticated knowledge, we can focus on select advantageous locations, where we
          locate optimum solutions and income-generating opportunities for our clients' personalized property
          portfolios.
          Know-how in best practices, materials and techniques
          Our extensive experience in residential, commercial, and industrial projects, private and public alike,
          translates both into solid know-how in development materials and techniques, and into efficient
          management of small- and large-scale development projects. This is what guides us when we materialize
          all optimum solutions for our clients.
          From this position, we brook no compromises in implementing the best practices of the industry, placing
          particular emphasis on due diligence and environmental issues of our property portfolios.
          </span></p>
        <p><span class="style61"><strong>Professional networking</strong>      </span></p>
        <p><span class="style61">Working largely for international buyers, we have established that the one-stop approach is an imperative.
          With that in mind, we have formed strong ties with only the top professionals covering the entire range of services that pertain to our scope: from tradesmen, clerks and language professionals to solicitors, accountants and notaries public, and from individual practitioners to legal firms, banks and local authorities.
          This strong and intricate professional network that we have built is instrumental in getting things done quickly and properly. For our clients it is also a cast-iron guarantee that we can deliver our optimum solutions, avoiding frustrating delays, disruptions or red tape issues that have been known to stifle other projects in Greece.
          Our personalized property portfolios meet the exacting standards of local and international buyers, private and corporate investors alike. </span></p>
        <p><strong>Clientele</strong></p>
        <p><span class="style61">Our clients range from business enterprises and corporations, venture teams and consortiums, property companies, clubs and trusts to private investors or individual homebuyers interested in the vast potential of the Greek property market.
          Our international clients include, among others, British, Irish, German, Dutch, Belgian, American and Russian buyers and investors and account for 80 per cent of our client base. Greek nationals account for the remaining 20 per cent. </span><br />
          <br />
        </p>
      </div>
    </div>
    <div class="locnica"></div>
      <p class="style5">Please familiarise yourself with us on the website, browse our past projects, understand our group philosophy and see what we can do for you, our valued client.</p>
      <div class="locnica"></div>
      <h1 align="center" class="style39"><img src="images/Company Images/modern.jpg" alt="Nikos" width="408" height="229" border="1" /></h1>
      <div class="locnica"></div>
      <div align="center"><span class="footer"><a href="http://www.bhcc.gr/" target="_blank"><img src="images/BHCC.jpg" alt="bhcc" width="36" height="36" border="2" /> </a><a href="http://www.eurocharity.eu/en" target="_blank"><img src="images/eurocharity.jpg" alt="euroc" width="99" height="36" border="2" /> <img src="images/tee.jpg" alt="tee" width="75" height="36" border="2" /></a></span></div>
    </div>
    <div class="clear"></div>
    </div>
    <div class="footer">©2012-2013 D&amp;A Group. All rights reserved.<br />
      <span class="style7"><span class="style11"><span class="style12"><br />
      <a href="http://passivehouseconstructiongreece.blogspot.co.uk/">Blog</a> | <a href="publications.html">Publications</a> | <a href="http://www.youtube.com/user/drdikefalos/videos">D&amp;A Group Youtube Channel</a> | <a href="contact.html">Contact</a> | <a href="legalese.html">Legalese</a> | <a href="credits.html">Credits</a> | <a href="sitemap.html">Site Map</a> | <a href="http://www.transformis.co.uk">Designed by Transformis Website Design</a></span></span></span></div>
    </body>
    </html>
    STYLE SHEET
    body{
        background: #ffffff top center repeat-x;
        text-align: center;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 0px;
        color: #333333;
        margin: 0;
        cursor:default;
        margin-top: 7px;
        border-color: #FFFFFF;
    bodynews{
        background: #ffffff top center repeat-x;
        text-align: center;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 0px;
        color: #333333;
        margin: 0;
        cursor:default;
        margin-top: 7px;
    .clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
    .clearfix{*zoom:1;}
    .clearall {clear: both;}
    .pointer{cursor:pointer;}
    a:link, a:visited, a:active {color:#d50101;text-decoration:none;}
    a:hover, a:visited:hover {
        color:#FFFFFF;
        text-decoration:underline;
        margin-right: 0px;
        padding-right: 0px;
    :selection{background:#0066CC;color:white;}
    .clear {clear:both;height:0px;overflow:hidden;}
    :focus{border:0;}
    .fl{float:left;}
    .pv{height:10px;}
    .top{
        width:1000px;
        height:2px;
        background:url("http://www.blindname.com/images/gray.jpg") top center repeat-y;
        margin:0 auto;
    .header{
        height:160px;
        width:1000px;
        margin:0 auto;
        text-align:center;
    .logo{
        float:left;
        margin-top: 10px;
        margin-left: 84px;
        margin-right: 0;
        margin-bottom: 0;
    @font-face {
        font-family: 'ArimoRegular';
        src: url('Arimo-Regular-Latin-webfont.eot');
        src: url('Arimo-Regular-Latin-webfont.eot?#iefix') format('embedded-opentype'),
             url('Arimo-Regular-Latin-webfont.woff') format('woff'),
             url('Arimo-Regular-Latin-webfont.ttf') format('truetype'),
             url('Arimo-Regular-Latin-webfont.svg#ArimoRegular') format('svg');
        font-weight: normal;
        font-style: normal;
    .quote{
        font-weight: normal;
        font-style: normal;
        line-height:1.4;
        font-family: Young;
        font-size-adjust: 0.42;
        font-size:18px;
        width:260px;
        color:#d50101;
        float:left;
        margin-top: 25px;
        margin-right: 0px;
        margin-bottom: 0;
        margin-left: 5px;
    .menu{
        width:781px;
        float: center;
        margin-left:0px;
        margin-top: 31px;
        margin-right: 0px;
        margin-bottom: 1px;
    .menunews{
        width:781px;
        float: center;
        margin-left:0px;
        margin-top: 38px;
        margin-right: 0px;
        padding-bottom: 11px;
    .home{
        width:122px;
        height:41px;
        background: url("http://www.blindname.com/images/home.png") no-repeat left bottom;
        float:right;
    .home:hover{
        width:122px;
        height:41px;
        background: url("http://www.blindname.com/images/homeroll.png") no-repeat left bottom;
        float:right;
    .services{
        width:201px;
        height:41px;
        background: url("http://www.blindname.com/images/services.png") no-repeat left bottom;
        float:right;
    .services:hover{
        width:201px;
        height:41px;
        background: url("http://www.blindname.com/images/servicesroll.png") no-repeat left bottom;
        float:right;
    .aboutus {
        width:146px;
        height:41px;
        background: url("http://www.blindname.com/images/aboutus.png") no-repeat left bottom;
        float:right;
    .aboutus:hover{
        width:146px;
        height:41px;
        background: url("http://www.blindname.com/images/aboutusroll.png") no-repeat left bottom;
        float:right;
    .news{
        width:122px;
        height:41px;
        background: url("http://www.blindname.com/images/news.png") no-repeat left bottom;
        float:right;
    .news:hover{
        width:122px;
        height:41px;
        background: url("http://www.blindname.com/images/newsroll.png") no-repeat left bottom;
        float:right;
    .contact{
        width:190px;
        height:41px;
        background: url("http://www.blindname.com/images/contact.png") no-repeat left bottom;
        float:right;
    .contact:hover{
        width:190px;
        height:41px;
        background: url("http://www.blindname.com/images/contactroll.png") no-repeat left bottom;
        float:right;
    .subheadermenunews{
        width:100px;
        float:left;
        margin-left:100px;
        margin-top: 20px;
        margin-right: 0px;
    .companynews{
        width:99px;
        height:18px;
        background: url("http://www.blindname.com/images/companynews.jpg") no-repeat left bottom;
        float:right;
    .companynews:hover{
        width:99px;
        height:18px;
        background: url("http://www.blindname.com/images/companynewsroll.jpg") no-repeat left bottom;
        float:right;
    .subheadermenuservices{
        width:500px;
        float:left;
        margin-left:109px;
        margin-top: 8px;
        margin-right: 0px;
        margin-bottom: 2px;
    .subheadermenuservsecond{
        width:782px;
        float:left;
        margin-left:109px;
        margin-top: 5px;
        margin-right: 0px;
        margin-bottom: 5px;
    .financialservices{
        width:176px;
        height:18px;
        background: url("http://www.blindname.com/images/prfico.jpg") no-repeat left bottom;
        float:left;
    .financialservices:hover{
        width:176px;
        height:18px;
        background: url("http://www.blindname.com/images/prficoroll.jpg") no-repeat left bottom;
        float:left;
    .financialservicesdumb{
        width:176px;
        height:18px;
        background: url("http://www.blindname.com/images/prficoroll.jpg") no-repeat left bottom;
        float:left;
    .financialservicesbw{
        width:178px;
        height:18px;
        background: url("http://www.blindname.com/images/prficobw.jpg") no-repeat left bottom;
        float:left;
    .financialservicesbw:hover{
        width:178px;
        height:18px;
        background: url("http://www.blindname.com/images/prficorollbw.jpg") no-repeat left bottom;
        float:left;
    .projectmanagedumb{
        width:137px;
        height:18px;
        background: url("http://www.blindname.com/images/projectmanagerollsecond.jpg") no-repeat left bottom;
        float:left;
    .designconstructiondumb{
        width:149px;
        height:18px;
        background: url("http://www.blindname.com/images/designconstdumb.jpg") no-repeat left bottom;
        float:left;
    .projman{
        width:148px;
        height:18px;
        background: url("http://www.blindname.com/images/projectmanage.jpg") no-repeat left bottom;
        float:left;
    .projman:hover{
        width:148px;
        height:18px;
        background: url("http://www.blindname.com/images/projectmanageroll.jpg") no-repeat left bottom;
        float:left;
    .projmandumb{
        width:148px;
        height:18px;
        background: url("http://www.blindname.com/images/projectmanageroll.jpg") no-repeat left bottom;
        float:left;
    .projmanbw{
        width:148px;
        height:18px;
        background: url("http://www.blindname.com/images/projectmanagebw.jpg") no-repeat left bottom;
        float:left;
    .projmanbw:hover{
        width:148px;
        height:18px;
        background: url("http://www.blindname.com/images/projectmanagerollbw.jpg") no-repeat left bottom;
        float:left;
    .designconstruction{
        width:149px;
        height:18px;
        background: url("http://www.blindname.com/images/designconstruction.jpg") no-repeat left bottom;
        float:left;
    .designconstruction:hover{
        width:149px;
        height:18px;
        background: url("http://www.blindname.com/images/designconstrroll.jpg") no-repeat left bottom;
        float:left;
    .designconstructionbw{
        width:165px;
        height:18px;
        background: url("http://www.blindname.com/images/designconstructionbw.jpg") no-repeat left bottom;
        float:left;
    .designconstructionbw:hover{
        width:165px;
        height:18px;
        background: url("http://www.blindname.com/images/designconstrrollbw.jpg") no-repeat left bottom;
        float:left;
    .residential{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/residentialprop.jpg") no-repeat left bottom;
        float:left;
    .residential:hover{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/residentialproproll.jpg") no-repeat left bottom;
        float:left;
    .residentialdumb{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/residentialproproll.jpg") no-repeat left bottom;
        float:left;
    .commercial{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/commerc.jpg") no-repeat left bottom;
        float:left;
    .commercial:hover{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/commercroll.jpg") no-repeat left bottom;
        float:left;
    .commercialdumb{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/commercroll.jpg") no-repeat left bottom;
        float:left;
    .indus{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/industrial.jpg") no-repeat left bottom;
        float:left;
    .indus:hover{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/industrialroll.jpg") no-repeat left bottom;
        float:left;
    .indusdumb{
        width:147px;
        height:18px;
        background: url("http://www.blindname.com/images/industrialroll.jpg") no-repeat left bottom;
        float:left;
    .master{
        width:128px;
        height:18px;
        background: url("http://www.blindname.com/images/masterplan.png") no-repeat left bottom;
        float:left;
    }.master:hover{
        width:128px;
        height:18px;
        background: url("http://www.blindname.com/images/masterplansroll.png") no-repeat left bottom;
        float:left;
    .masterdumb{
        width:128px;
        height:18px;
        background: url("http://www.blindname.com/images/masterplansroll.png") no-repeat left bottom;
        float:left;
    .submenuabout{
        width:700px;
        float:left;
        margin-left:100px;
        margin-top: 8px;
        margin-right: 0px;
        margin-bottom: 1px;
    .submenupushinvisible{
        width:600px;
        float:left;
        margin-left:100px;
        margin-top: 2px;
        margin-right: 0px;
        margin-bottom: 1px;
    .submenucontact{
        width:250px;
        float:center;
        margin-left:20px;
        margin-top: 5px;

    <a href=
    <div class="clear"></div>
      <div class="submenuabout">
    <a href=
    "http://blindname.com/philosophy.html" title="Our Philosophy" class="philosophy"></a> <a href=
    "http://blindname.com/process.html" title="The D&amp;A Group Process" class="process"></a>
    <a href=
    "http://blindname.com/team.html" title="Meet the Team" class="team"></a>
    <a href=
    "http://blindname.com/directors.html" title="Meet the Directors" class="directors"></a>
    <a href=
    "http://blindname.com/promise.html" title="Our Promise To You" class="promisedumb"></a>
    <a href=
    <div class="clear"></div>
      <p> </p>
    </div>
    OK - fix those and see what happens.

  • How to make my applicatio​n programmat​ically switch between English and Russian

    Greetings from Colorado...
    My application needs to be switchable between English and Russian.  Future languages to add are Spanish and Chinese.  The user selects a language
    from a control before starting the program and then the program changes the Captions, Boolean Texts, Graph Labels, and Enum Type Strings to the
    chosen language.  For Russian, this requires a different set of characters.  I have made substantial progress by:
    Control Panels>Region and Language>Keyboards and Languages>Change Keyboards added Russian>Keyboard>Russian on my development
    computer.
    In the LabVIEW.ini file, I added UseUnicode=TRUE (thanks to a suggestion found in this forum)
    Made property nodes for controls and used properties such as Interpret As Unicode (True for Russian, False for English), Text, Font Name, Font Size, etc.
    I have used fonts Arial and Arial CYR for Russian and MS Sans Serif for English
    Set the keyboard for Russian and enter Cyrillic characters into text constants that are set for Arial or Arial CYR font.  Sometimes one works and
    sometimes the other works.  As long as I set the font name in the property node the same way the text went into the text constant, it generally
    works.  I wish I could understand why one works sometimes and the other works other times!
    I have had trouble with the Boolean Text going off-center when changing fonts and languages and it seems that by setting the Lock Text In Center
    property to False and then True again, it seems to work.  Often changing Boolean texts between short and long texts causes some of the long text
    to be non-displayed; I have remedied this by explicitly setting the width of the Boolean text in a property node.
    Often, the Russian text appears as gibberish with strange right-angle characters, :s, =s, and tiny numbers.  I have been able to remedy this on my
    development computer by ensuring that the text constant on the block diagram has the same size as the caption is supposed to have.  This
    is not necessary for normal programming in English, but it seems to help here.  But it doesn't always solve the problem.
    Sometimes the English text appears as Chinese gibberish in an Enum Type selection list or in a graph label.  On my development computer,
    it seems that making the text the last property to change helps here.
    By changing the sequences of assignments to a single property node with a long list of properties, I have been able to make some of these
    controls to switch between languages without gibberish showing up.
    A few hours ago, I had the Russian strings in the Enum Type control working, except that when selecting from the available items, only the first
    word of the Russian string was displayed.  Two of the items start with the same word, so the user can't distinguish them.  
    At that time the English strings were appearing as Chinese gibberish while the list during the selection process displayed in English.  As soon
    as I changed the selection, future attempts to change the selection gave Chinese gibberish during the selection process, too.  But this was only
    a problem in the executable version; the source-code version worked fine.
    In an attempt to get rid of the Chinese gibberish, I made new constants and retyped the items into them.  This worked!  But then, the Russian
    stopped working and gave gibberish angles and tiny numbers, even though I didn't touch any of the code that sets the properties in Russian mode.
    After trying a few sequences of setting the properties for the graph X label on page 2 of my tab control, this label started working correctly for both
    languages.  But the text of that label comes through on page 1 of the tab control, partly obscured by other controls on that page.  After the
    program runs a few more seconds, these shadows disappear.
    Most times I restart LabVIEW, I get an error message saying there was a crash due to fontmgr.cpp, line 7494.  But there actually wasn't a crash.
    My computer has Windows 7 64-bit.  Deployment Computer has Windows 7 32-bit.  LabVIEW version is 8.5.  
    I have probably 50 or 100 more controls and indicators to change to language programmability and figuring out all this stuff for each one is
    terribly time-consuming and there is no assurance that all of them will ever work.  
    At this point, I'm hoping that I am on an entirely wrong path and someone will send me a clue to get me on a path that is more predictable.
    Thanks in advance to all who post ideas!
    Cheers
    Halden 

    Hi All,
    I've made a lot of progress on this translation, but it's been really hard.  There are lots of weird things going on that must be logical because they're in a computer, but I can't figure out what the logic is.  When changing a font on a caption using the front panel, it sometimes changes the font on the caption and sometimes doesn't although the indicator always indicates the new font.  Removing the first character of the unicode font string being sent to the caption seems to help...huh?  Anyway, tabs still can't change language programmatically, and niether can ring controls (some kinds will take the new list of strings, but when selecting, they only display the first word of the string!).  Boolean text can be reprogrammed, but only if the boolean text is set to be the same for both true and false states.  When reprogramming captions on a non-displayed page of a multi-page tab-controlled user interface, the new text appears on the current page until I change pages back and forth.  What a pain!
    Sooo, NI....does LabVIEW 2011 have support for unicode fonts?  Or, is there anything else in the new control style that will support programmatic language changing?
    Halden 

  • How to eliminate empty node space from tree when rendered property is false

    Hi
    I have created a menu Tree for my ADF BC application while working in JDev 10.1.3.3.
    I have tried two methods, first is by creating a menu model as discussed in example in ADF Developers Guide Book Section 19.2.1. Second by creating two view objects and creating the menu tree from my database table.
    Depending on the logged in user I want to decide whether to show or not to show a menu tree option to the user. For this purpose I have implemented a function in a managed bean that calls a pl/sql stored procedure to decide if the user has access to a certain component. In first case I have set the rendered property of the menu item to #{menuTree.shown}, where shown is an attribute in the menu model whose value is properly set using java functions that call pl/sql function in turn. In second method, I have also tried to set the rendered property and calling a function that returns true or false based on if the user has access to the menu option.
    Problem
    When rendered property is returned as false, although the menu option is not displayed but an empty space is displayed in my tree and remaining nodes and/or menu options are displayed with an ugly gap.
    How I can remove this unwanted gap, is there a way?
    Regards,
    Amir
    1st option:
    My menu tree:
    <af:menuTree var="menuTree" value="#{menuModel.model}">
    <f:facet name="nodeStamp">
    <af:commandMenuItem text="#{menuTree.label}"
    action="#{menuTree.getOutcome}"
    _rendered="#{menuTree.shown}_"/>
    </f:facet>
    </af:menuTree>
    2nd option:
    <af:tree value="#{bindings.MainMenuView.treeModel}" var="node">
    <f:facet name="nodeStamp">
    <af:switcher facetName="#{node.hierType.name}">
    <f:facet name="MainMenuViewNode">
    <af:outputText value="#{node.Name}" _rendered="#{userInfo.mainNodeOk}"_ />
    </f:facet>
    <f:facet name="SubMenuViewNode">
    <af:commandLink text="#{node.Name}" _rendered="#{userInfo.mainNodeOk}_">
    <af:setActionListener from="#{node.destinationUrl}"
    to="#{menuTree.getOutcome}"/>
    </af:commandLink>
    </f:facet>
    </af:switcher>
    Edited by: Amir Khan on Jan 12, 2009 8:54 PM

    Hi,
    if this reproduces in JDeveloper 10.1.3.4 then this sounds like a bug that you should file
    Frank

Maybe you are looking for