Why the need to "run as administrator"?

Our of curiousity, why do I need to run Premiere Elements 8 using the "Run as administrator" in Windows 7?
It is a bit annoying to have to type in a password just to run Premiere Elements 8 since I never use the administrator account to anything.

I dont run Win7, but I do run Vista-64, and I can attest to the fact that the Windows Security framework is a dark hole that is difficult for most to navigate thru and completely understand.
One can assume that with Win7, it's still a grey area that needs an official decoder ring for even the simple tasks.
I always install PE from the Admin Login and just give the rights to any User Account on the system.
With this approach I've never run into the situation where it must be Run as an Administrator.
If I'm not mistaken, PE may even require an Install from the Admin Login (I can't verify cause it's been so long that I've done the Install, that I don't remember).
The bottom line is if a particular Windows Object, PE in this case, is Owned by a particular Group or User, depending on it's Permissions and/or Access Rights will determine who can Run, Execute, or Modify that Object.
And unless your a Security maven, this could get real ugly, real fast (and you can screw up your System in a heartbeat if you don't know what your doing in this area).
Now you see why I install and Run it under the Admin Login and call it a day...

Similar Messages

  • I am a Media Pastor at a church and am needing to find a Macbook that will fulfill the needs of running Final Cut Pro and Wirestream. What Macbook would be sufficient to do the job?

    I am needing some guidance on the purchase of a Macbook Pro. I am wanting to have Wirestream Pro 4, a live streaming/recording software, and Final Cut Pro 7 and am needing to see what i would need to run them as far as drive capacity etc.

    The top end MacBook Pro 15" (17" high res/anti-glare for full 1080 HD screen)  for mobile video needs with some restrictions and hinderances, you will need the Build to Order 7,200 RPM drive for sure as you need space and speed.
    You can have 8GB of RAM from Apple or place 16GB in yourself for a lot less than Apple charges for 8GB. However you need to be handy with tiny screws, or have a local specialist do the 16GB for you.
    Your probally better off with a MacPro than a MacBook Pro.
    The MacPro is more powerful, and easier to get inside and do things, lasts longer, more ports, more drives, more storage for video, fast external RAID 5 setups etc.
    So if you can get into a MacPro, that would be a better option for video.

  • Why i need to run autoconfig?

    in cloning, after database rebuild, canging the databaseid, cleaning the nodes, updating fnd_con_reqs is
    there any need to run autoconfig...? if so what is the reason..?

    AutoConfig is a configuration tool that automates the configuration of an Oracle Applications system. The information required for configuring an Applications system is collected into a repository, called the Applications Context. Whenever you do any change in the configuration (change hostname, port pool, domain name, .. etc), you need to correct the values in the Application Context File and run AutoConfig. By doing this, AutoConfig will generate all the configuration files and update the database profile options with the correct values (instead of doing that manually).
    If you need more details about AutoConfig, please refer to:
    Note: 218089.1 - Autoconfig FAQ
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=218089.1

  • I get confuse WHY the createImage cant run well or get nullpointer error??

    Try to help me..why my createImage in Ticker.class can run BUT when I decide to move to TickerTape.class then it come out the error which at below:
    java.lang.NullPointerException
         at TickerTape.initImage(TickerTape.java:87)
         at Ticker.update(Ticker.java:511)
         at Ticker.paint(Ticker.java:488)
         at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
         at sun.awt.RepaintArea.paint(RepaintArea.java:224)
         at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
         at java.awt.Component.dispatchEventImpl(Component.java:4031)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    java.lang.NullPointerException
         at TickerTape.initImage(TickerTape.java:87)[Ticker Ver 4.0] :1. Running LATEST version!!!
    [Ticker Ver 4.0] :2. 25 JULY 2008,5:14:38PM!!!
         at Ticker.update(Ticker.java:511)
         at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
         at sun.awt.RepaintArea.paint(RepaintArea.java:216)
         at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
         at java.awt.Component.dispatchEventImpl(Component.java:4031)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    java.lang.NullPointerException
         at TickerTape.initImage(TickerTape.java:87)
         at Ticker.update(Ticker.java:511)
         at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
         at sun.awt.RepaintArea.paint(RepaintArea.java:216)
         at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
         at java.awt.Component.dispatchEventImpl(Component.java:4031)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)If Socket is not null..
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    <applet code=Ticker.class width=300
    height=28>
    <param name=count value=2>
    <param name=msg0 value= "Welcome to Fred Fargle's Homepage.. Just Click to Connect *** \\No Link">
    <param name=msg1 value="Visit:  ALCo -- Access LaPorte County  \\http://www.alco.org/">
    <param name=increment value=8>
    <param name=bgco value=50,0,200>
    <param name=txtco value=250,250,0>
    <param name=linkco value=180,25,21>
    </applet>
    import java.applet.Applet;
    import java.awt.Button;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Event;
    import java.awt.Font;
    import java.awt.FontMetrics;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.io.DataInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.ObjectOutputStream;
    import java.io.PrintStream;
    import java.net.Socket;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.UnknownHostException;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.StringTokenizer;
    import java.util.Vector;
    public class Ticker extends Applet implements Runnable
    //     public static final String FIRST_LINE_DATA = "1^Consumer Products^327.77^+0.41^2^Industrial Products^105.39^+3.26^3^Construction^234.99^+16.22^4^Trading Services^174.56^+13.54^5^Technology^19.35^+0.04^10^Finance^10001.49^+743.35^20^Property^754.87^+0.16^25^Plantation^7810.60^-1.04^30^Mining^362.73^+0.00^200^Composite^1317.93^+88.58^300^Industrial^2875.13^+270.04^";
    //     public static final String LINE_DATA = "1^322.34^-1.75^2^99.15^-1.47^3^209.82^-5.15^4^155.89^-2.33^5^18.54^-0.29^10^8821.04^-181.79^20^722.83^-17.05^25^7921.79^-75.81^30^358.68^-2.03^200^1196.39^-16.20^300^2560.89^-21.24^861^7739.76^-112.61^862^7731.92^-104.72^863^7644.76^-140.11^864^9791.39^-168.25^865^7970.97^-118.60^866^7045.63^-149.98^867^8762.71^-110.11^868^8704.34^-102.22^869^9880.95^-105.10^870^5517.77^-78.36^871^4367.08^-145.64^";
         public static boolean DATA_FETCHED = false;
         private static final long serialVersionUID = -3405790462792767823L;
         public static boolean LOADING_DATA = false;
         TickerTape tickerTape = new TickerTape();
         public int messageIndex;
         public int messageCount;
         public boolean bStop=false;
         public String message;
         public Font messageF;
         public int messageX;
         public int messageY;
    //     public int messageW;
         public String url_;
         int increment = 1;
         public Thread t;
         public boolean active;
         public boolean flag = true;
         public Color txtCo;
         public Color linkCo;
         public Color bgCo;
         public Dimension lastS;
         public String sFirst;
         public int iIdx;
         Image image;
         //Graphics gr;
         public long milliSeconds = 100;
         boolean display_URL;
         int mouseX;
         // mouseY;
         int itemIndex = 0;
         Vector<DisplayItem> diVector = null;
         DisplayItem dispItem = null;
         FontMetrics fontmetrics1 = null;
         public static int MOUSE_NONE = 0;
         public static int MOUSE_CLICK = 1;
         public static int MOUSE_MOVE = 2;
         public static long MILLIS = 2;
        long scrollSpeed = tickerTape.getScrollSpeed();
         String appletParameters[][];
         Button btnScrollControl;
         String fontName = DisplayItem.DEFAULT_FONT_NAME;
         int fontStyle = DisplayItem.DEFAULT_STYLE;
         int fontSize = DisplayItem.DEFAULT_SIZE;
         Color textColor = DisplayItem.DEFAULT_TEXT_COLOR;
         int scrollDirection, mouseEvent = MOUSE_MOVE;
         String sData ="";
         String vendor = "";
         String Version = "Ticker Ver 4.0";
         String SessionID = "";
         String sHeader = "";
         int bRead;
         private String SendStr = "";
         Socket socket=null;
         DataInputStream input=null;
         PrintStream output;
         String feed;
         String host;
         String sTmp;
         String UserRef = "";
         String UserID;
         String BrokerID = "MYETRADE";
         Thread myThread;
         boolean bLoopThread = false;
         int intSleepTimer = 15;
         String SleepTimer = "";
         int sleepLoop = 0;
         boolean isSocket = true;
         boolean bSelfKill = false;
         boolean Timeout = false;
         private int TimeoutType = 0;
         long delay = MILLIS;
          boolean running = true;
         // int p = 0;
         // int j = 0;
         // int startPost = 0;
         // int LastPost = 0;
          int ItemToDisplay = 0;
         // int stringWidth = 0;
         // int x;
         // int y;
          private static boolean FIRST_LINE = true;
         SimpleDateFormat formattime = new SimpleDateFormat("HH:mm:ss ");
         Thread timeThread;
         Calendar calendar;
         //Dimension d;
         class heartBeatThread extends Thread
              int iTimerCount = 0;
              int iTimeoutCount = 15;
              public void setTimeoutNow()
                   iTimerCount = iTimeoutCount + 1;
              public void setTimeout(int iValue)
                   iTimeoutCount = iValue;
              public boolean getTimeout()
                   boolean bTimeout = false;
                   if (iTimerCount > iTimeoutCount)
                        bTimeout = true;
                   return bTimeout;
              public void resetTimer()
                   iTimerCount = 0;
              public void run()
                   while (true)
                        try
                             Thread.sleep(6000);
                             calendar = Calendar.getInstance();
                             if (iTimerCount > iTimeoutCount)
                                  iTimerCount = iTimeoutCount + 1;
                             else
                                  iTimerCount++;
                        } catch (Exception e)
         heartBeatThread HBT = null;
         public void timeoutNow()
              HBT.setTimeoutNow();
              Timeout = true;
              TimeoutType = 1;
         @SuppressWarnings("deprecation")
         public void init()
         //      d = getSize();
           //      image = createImage(d.getSize().width, d.getSize().height);
                 //      tickerTape.TickerTape(image);
               host = getCodeBase().getHost();
               this.appletParameters = getParameterInfo();
              if (this.appletParameters != null)
                   int noOfParamaters = this.appletParameters.length;
                   for (int i = 0; i < noOfParamaters; i++)
                        if (this.appletParameters[0].equals("font"))
                             this.fontName = this.appletParameters[i][1];
                        else if (this.appletParameters[i][0].equals("style"))
                             if (this.appletParameters[i][1].equals("plain"))
                                  this.fontStyle = Font.PLAIN;
                             else if (this.appletParameters[i][1].equals("bold"))
                                  this.fontStyle = Font.BOLD;
                             else if (this.appletParameters[i][1].equals("italic"))
                                  this.fontStyle = Font.ITALIC;
                             else if(this.appletParameters[i][1].equals("underline"))
                                  this.fontStyle = Font.ROMAN_BASELINE; // need to verify
                        else if (this.appletParameters[i][0].equals("size"))
                             this.fontSize = Integer.parseInt(this.appletParameters[i][1]);
                        else if (this.appletParameters[i][0].equals("color"))
    //                         this.textColor = this.appletParameters[i][1];
                        else if (this.appletParameters[i][0].equals("scroll_start"))
                             if (this.appletParameters[i][1].equals("left"))
                                  this.scrollDirection = TickerTape.SCROLL_LEFT;
                             else if (this.appletParameters[i][1].equals("right"))
                                  this.scrollDirection = TickerTape.SCROLL_RIGHT;
                             else if (this.appletParameters[i][1].equals("top"))
                                  this.scrollDirection = TickerTape.SCROLL_DOWN;
                             else if (this.appletParameters[i][1].equals("bottom"))
                                  this.scrollDirection = TickerTape.SCROLL_UP;
                        else if (this.appletParameters[i][0].equals("event"))
                             if (this.appletParameters[i][1].equals("move"))
                                  this.mouseEvent = MOUSE_MOVE;
                             else if (this.appletParameters[i][1].equals("click"))
                                  this.mouseEvent = MOUSE_CLICK;
                        else if (this.appletParameters[i][0].equals("delay"))
                             this.delay = Integer.parseInt(this.appletParameters[i][1]);
              //setSize(tickerTape.cParamsHeight(),tickerTape.cParamsWidth());
              //int x=900;
              //int y=40;
              tickerTape.setSize(900,40);
              setSize(900,40);
              //setSize(tickerTape.setWidthSize(900),tickerTape.setHeightSize(40));
              //setSize(900, 40);
              if(this.textColor == null)
                   tickerTape.setTickerDefaultColor(Color.WHITE);
              else
                   tickerTape.setTickerDefaultColor(this.textColor);
              tickerTape.setBgColor(Color.BLACK);
              // get Font Properties
              // If they are null create a new default font.
              if(this.fontName == null)
                   //tickerTape.setTickerDefaultFont(new Font("Times New Roman", Font.PLAIN, 12));
                   tickerTape.setTickerDefaultFont(new Font("Arial", Font.PLAIN, 13));
              else
                   //this.fontName = "Verdana";this.fontStyle = Font.BOLD;this.fontSize = 14;
                   this.fontName = "Arial";this.fontStyle = Font.BOLD;this.fontSize = 13;
                   tickerTape.setTickerDefaultFont(new Font(this.fontName, this.fontStyle, this.fontSize));
              this.scrollDirection = TickerTape.SCROLL_RIGHT;
              tickerTape.setScrollDirection(this.scrollDirection);
              setDelay(this.delay);
              tickerTape.setBgColor(0,0, 0);
              this.setLayout(null);
              this.btnScrollControl = new Button("Pause");
              this.btnScrollControl.setActionCommand("Pause");
              this.btnScrollControl.setBounds(this.getWidth() - 50, 0, 50, 35);
              this.btnScrollControl.addActionListener(new java.awt.event.ActionListener()
              public void actionPerformed(java.awt.event.ActionEvent evt)
                        Button btn = ((Button) evt.getSource());
                        String cmd = btn.getActionCommand();
                        if (cmd.equals("Pause"))
                             try
                                  t.suspend();
                             } catch (Exception e)
                                  e.printStackTrace();
                             btn.setActionCommand("Scroll");
                             btn.setLabel("Scroll");
                        else if (cmd.equals("Scroll"))
                             try
                                  t.resume();
                             } catch (Exception e)
                                  e.printStackTrace();
                             btn.setActionCommand("Pause");
                             btn.setLabel("Pause");
    //          this.add(this.btnScrollControl);
         public void createParams()
         {//tickerTape.x = 900;
              //tickerTape.y = 40;
              int width = getSize().width;
              //System.out.println("getSize().width "+getSize().width);
              int height = getSize().height;
              lastS.width = width;
              lastS.height = height;
              System.out.println("width"+width);
              //System.out.println("width: " + width + " height: " + height);
              tickerTape.createParamsgr();
              if (image != null)
                   image = null;
              Font font = tickerTape.getDefaultFont();
              this.setFont(font);
              FontMetrics metrics = getFontMetrics(font);
              metrics = getFontMetrics(font);
              int k = getFontMetrics(font).getHeight();
              //tickerTape.cParams();
              //tickerTape.createParams1(lastS);
              //setSize(tickerTape.cParamsHeight(),tickerTape.cParamsWidth());
         //     messageY = tickerTape.cParamsY();
              messageX = width;
              messageY = (height - k >> 1) + metrics.getAscent();
                   int sWidth = getSize().width;
                   int sHeight = getSize().height;
                   //image = createImage(getSize().width,getSize().height);
                   tickerTape.initImage(sWidth, sHeight);
                   //gr=image.getGraphics();
         public void paint(Graphics g)
    update(g);
         public synchronized void update(Graphics g)
              //gr.clearRect(0, 0, d.getSize().width, d.getSize().height);
              //gr.setColor(bgCo);
              //gr.drawRect(0, 0, d.getSize().width - 1, d.getSize().height - 1);
              //gr.fillRect(0, 0, d.getSize().width, d.getSize().height);
              //g.drawImage(image, 0, 0, this);
              if (Ticker.LOADING_DATA) {
                   System.out.println("Refreshing data. Please wait....");
                   return;
              try {
                   if(image==null)
                        int sWidth = getSize().width;
                        int sHeight = getSize().height;
                   //image = createImage(getSize().width, getSize().height);
                        tickerTape.initImage(sWidth, sHeight);
                   //if (tickerTape.cParamsHeight() != lastS.height|| tickerTape.cParamsWidth() != lastS.width)
                   if (getSize().height != lastS.height|| getSize().width != lastS.width)
                   createParams();
                   if (tickerTape.getDisplayItems().size() > 0) {
                        //System.out.print("lastS.width: " + lastS.width + " lastS.height: " + lastS.height + "\n");
                        tickerTape.setBackground(lastS,bgCo,messageX,messageY);
                        if (display_URL) {
                             int k = mouseX;
                             //System.out.println("k=" + k + " messageX=" + messageX);
                             if (k > messageX) {
                                  //System.out.println("(k > messageX) is true!!");
                                  //System.out.println("messageCount----> " + messageCount);
                                  messageCount = tickerTape.displayItemsCnt;
                                  k -= messageX;
                                  switch (this.mouseEvent) {
                                  case TickerTape.SCROLL_LEFT:
                                       break;
                                  case TickerTape.SCROLL_RIGHT:
                                       // for (int i1 = 0; i1 <= messageCount - 1; i1++)
                                       // i += ((Integer) msgsW.elementAt(i1)).intValue();
                                       // if (k >= i)
                                       // continue;
                                       // messageIndex = i1;
                                       // break;
                                       // break;
                                  if (this.mouseEvent == MOUSE_CLICK) {
                                       // showStatus((String)
                                       // msgsURL.elementAt(messageIndex));
                        //Font itemFont = null;
                        //FontMetrics fontMetrics = null;
                        //Color textColor = null;
                        //Vector msgs = tickerTape.getDisplayItems();
                                  switch (tickerTape.getScrollDirection()) {
                                  case TickerTape.SCROLL_LEFT:
                                       tickerTape.moveLeft(messageX,messageY);
                                       g.drawImage(image, 0, 0, this);
                                       break;
                                  case TickerTape.SCROLL_RIGHT:
                                       tickerTape.moveRight(messageX,messageY,ItemToDisplay);
                                       g.drawImage(image, 0, 0, this);
                                       break;
                                  case TickerTape.SCROLL_UP:
                                  case TickerTape.SCROLL_DOWN:
                                       tickerTape.moveDown(messageX,messageY);
                                       g.drawImage(image, 0, 0, this);
                                       //g.drawImage(image, 0, 0, this);
                                       break;
                   }     else {
                        int sWidth = getSize().width;
                        int sHeight = getSize().height;
                             //image = createImage(getSize().width, getSize().height);
                        tickerTape.initImage(sWidth, sHeight);
                             //gr=image.getGraphics();
                             tickerTape.setBackground(lastS,bgCo,messageX,messageY);
                             g.drawImage(image, 0, 0, this);
              } catch (Exception e) {
                   e.printStackTrace();
         public Ticker()
              messageCount = 1;
              // msgs = new Vector();
    //          msgsW = new Vector();
    //          msgsURL = new Vector();
              active = false;
              lastS = new Dimension(1, 1);
              display_URL = false;
         public void run()
              Thread.currentThread().setPriority(1);
              HBT = new heartBeatThread();
              HBT.start();
              HBT.resetTimer();
              System.out.println("[" + Version + "] :1. Running LATEST version!!!");
              System.out.println("[" + Version + "] :2. 25 JULY 2008,5:14:38PM!!!");
              int TimeoutCount = 0;
              //System.out.println("ITEMS : " + tickerTape.getDisplayItems().size());
    //          diVector = tickerTape.getDisplayItems();
    //          messageCount = tickerTape.displayItemsCnt;
    //          for (int index = 0; index < messageCount; index++)
    //               dispItem = diVector.elementAt(index);
    //               msgsURL.addElement(dispItem.getLink());
              DisplayItem disItem= new DisplayItem();
              txtCo = disItem.readColor("250,250,0", bgCo);
              linkCo = disItem.readColor("180,25,21", bgCo);
              bgCo = tickerTape.getBgColor();
    //          int tempCnt = 0;
              while(active)
                   nextPos();
                   try
                        if (messageY == (lastS.height / 2))
                             Thread.sleep(1000);
                        //Thread.sleep(50L);
                        Thread.sleep(this.milliSeconds);
                   }catch (InterruptedException _ex){     }
                   if(isSocket)
                             if (bStop)
                                  flag = false;
                                  break;
                             if ((socket == null) && (!(HBT.getTimeout())) && (bStop==false))
                                  try
                                       // socket = new Socket(host, 10000);
                                            try
                                                 //System.out.println("Ticker::host=["+host+"]");
                                                 //socket = new Socket(host, 10000);
                                                 socket = new Socket("172.18.20.123", 10000);
                                                 } catch(UnknownHostException unknownHost){
                                                      System.err.println("You are trying to connect to an unknown host!");
                                                 catch(IOException ioException){
                                                      ioException.printStackTrace();
                                       if (socket != null)
                                            System.out.println("If Socket is not null..");
                                            // if (UserRef=="")
                                            // UserRef = socket.getLocalAddress().getHostAddress();
                                            input = new DataInputStream(socket.getInputStream());
                                            output = new PrintStream(socket.getOutputStream());
    //                                        if(output != null)
    //                                             output.println('\001'+""+'\007'+0+'\007'+0+'\007'+0+'\002'+'\003'+""+'\007'+BrokerID+'\007'+SessionID+'\007'+Version+'\007'+'\004'+'\000');
                                            output.flush();
                                            sTmp = '\001'+"1002"+'\007'+1+'\007'+0+'\007'+0+'\002'+'\003'+""+'\007'+SendStr+'\004'+'\000';
                                            output.println(sTmp);
                                            output.flush();
    //                                        sendRequest();
                                       else
                                            isSocket = false;
                                            System.out.println("[" + Version + "] : Refresh Interval Set = [" + intSleepTimer + "]");
                                            sendPullRequest();
                                  } catch (IOException e)
                                       isSocket = false;
                                       System.out.println("[" + Version + "] : Refresh Interval Set = [" + intSleepTimer + "]");
                             try
                                  if ((socket != null) && (input != null))
    //                              System.out.println("HeartBeat True " + input.available());
                                       //while (input.available()>0)
                                       while (input.available() > 0)
                                            if (!bLoopThread)
                                                 break;
                                            TimeoutCount = 0;
                                            bRead = input.read();
                                            if (bRead != 0)
                                                 feed += (char)bRead;
                                            else if (bRead == 0)
                                                 try
                                                      dissectFeed(feed);
    //                                                  System.out.println("feed = [ " +  feed);
                                                 } catch (StringIndexOutOfBoundsException e)
                                                      e.printStackTrace();
    //                                             if (!(bSelfKill))
    //                                                  sendRequest();
                                                 feed = "";
                             } catch (IOException e)
                                  try
                                       System.out.println(" Socket read error stream Error = " + e.getMessage() + " Will Retry.");
                                       socket.close();
                                       input.close();
                                       output.close();
                                  } catch (IOException ex)
                                       System.out.println("Socket Close Error");
                                  if (bLoopThread)
                                       sendPullRequest();
         public void destroy()
              bStop = true;
              flag = false;
              if(socket != null)
                   try
                        socket.close();
                        socket = null;
                   } catch (IOException e)
                        System.out.println("destroy:Socket Close Error");
    //          if (myThread != null)
    //               myThread.stop();
    //               myThread = null;
         public void start()
              if (!active)
                   t = new Thread(this);
                   active = true;
                   t.start();
                   bStop = false;
                   flag = true;
    //          if (myThread == null)
    //               myThread = new Thread(this);
    //               myThread.start();
              bLoopThread = true;
         public void stop()
              active = false;
              t = null;
              bLoopThread = false;
              if (socket != null)
                   try
                        socket.close();
                        socket = null;
                   } catch (IOException e)
                        System.out.println("stop:Socket Close Error");
    //          if (myThread != null)
    //               myThread.stop();
    //               myThread = null;
         public synchronized void nextPos()
              switch (tickerTape.getScrollDirection())
              case TickerTape.SCROLL_LEFT:
                   scrollLeftToRight();
                   break;
              case TickerTape.SCROLL_RIGHT:
                   scrollRightToLeft();
                   break;
              case TickerTape.SCROLL_UP:
                   scrollBottomToTop();
                   break;
              case TickerTape.SCROLL_DOWN:
                   scrollTopToBottom();
                   break;
         public void setDelay(long milliSeconds)
              this.milliSeconds = milliSeconds;
         public boolean mouseUp(Event event, int i, int j)
              if (this.mouseEvent == MOUSE_MOVE)
    //               if (this.scrollDirection == TickerTape.SCROLL_UP || this.scrollDirection == TickerTape.SCROLL_DOWN)
    //                    messageIndex = itemIndex;
    //                    // System.out.println("itemIndex=" + itemIndex);
    //               URL url = null;
    //               try
    //                    url_ = (String) msgsURL.elementAt(messageIndex);
    //                    url = new URL(url_);
    //               } catch (MalformedURLException ex)
    //                    ex.printStackTrace();
    //                    return false;
    //               } catch (Exception ex)
    //                    ex.printStackTrace();
    //                    return false;
    //               display_URL = true;
    //               repaint();
    //               // System.out.println("messageIndex=" + messageIndex + " url: " + url_);
    //               getAppletContext().showDocument(url, "_");
              return true;
         @SuppressWarnings("deprecation")
         public boolean mouseEnter(Event event, int i, int j)
              try
                   if (this.mouseEvent == MOUSE_CLICK)
                        t.suspend();
                   else
                        flag = false;
                        //stop();
                        //t.suspend();
              } catch (Exception e)
                   e.printStackTrace();
                   return false;
              display_URL = true;
              // System.out.println("MouseEnter: " + messageIndex + " " + display_URL);
              repaint();
              return true;
         @SuppressWarnings("deprecation")
         public boolean mouseExit(Event event, int i, int j)
              try
                   flag = true;
                   //start();
                   //t.resume();
              } catch (Exception e)
                   e.printStackTrace();
                   return false;
              display_URL = false;
              repaint();
              // System.out.println("mouseExit " + display_URL);
              return true;
         //public boolean mouseMove(Event event, int i, int j)
              //mouseX = i;
              //display_URL = true;
              // System.out.println("MouseMove: " + messageIndex + " " + display_URL);
              //repaint();
              //return true;
         public synchronized void scrollRightToLeft()
              if(flag){
                   messageX -= increment;
                        //tickerTape.scrollRight(messageX);
                        repaint();
         public synchronized void scrollLeftToRight()
              messageX += increment;
              // System.out.println("X=" + messageX);
              if (messageX > lastS.width + tickerTape.getDisplayStringWidth())
                   // System.out.println("X=" + messageX + " width=" + lastS.width + " mW=" + messageW);
                   messageX -= (lastS.width + tickerTape.getDisplayStringWidth());
                   // messageX = 0;
                   // System.out.println("X=" + messageX);
              repaint();
         public synchronized void scrollBottomToTop()
              messageX = 10;
              messageY -= increment;
              if (messageY < 0)
                   messageY = lastS.height;
                   itemIndex += 2;
                   if (itemIndex >= messageCount - 1)
                        itemIndex = 0;
              repaint();
         public synchronized void scrollTopToBottom()
              messageX = 10;
              messageY += increment;
              if (messageY > lastS.height)
                   messageY = 0;
                   itemIndex += 2;
                   if (itemIndex >= messageCount - 1)
                        itemIndex = 0;
              repaint();
         public void sendRequest()
              if (bSelfKill)
                   return;
              //sTmp = '\001'+"0"+'\007'+0+'\007'+0+'\007'+0+'\002'+'\003'+""+'\007'+BrokerID+'\004'+'\000';
    //          System.out.println("SendRequest sTmp=["+sTmp+"],SendID=>[" + SendID + "],SendX => [" + SendX + "],SendY => [" + SendY + "],SendZ => [" +
    //          SendZ + "],UserRef => [" + UserRef + "],SendStr => [" + SendStr + "]");
              // output.println(sTmp);
              // if (SendZ>0) SendZ = 0;
              // sTmp = '\001'+"1002"+'\007'+1+'\007'+0+'\007'+0+'\002'+'\003'+""+'\007'+SendStr+'\004'+'\000';
         // output.println(sTmp);
              System.out.println("sendRequest " + sTmp);
         public void sendPullRequest()
              System.out.println("sendPullRequest() is Called");
              if (bSelfKill)
                   return;
              String strResult = "";
              URL url;
              ObjectOutputStream outputToServlet = null;
    //          sTmp = "" + '\001' + 1002 + '\007' + 2 + '\007' + 0 + '\007' + 0 + '\002' + '\003' + 3200 + '\007' + '\004' + '\000';
              sTmp = '\001'+"1002"+'\007'+2+'\007'+0+'\007'+0+'\002'+'\003'+""+'\007'+SendStr+'\004'+'\000';
    //          System.out.println("sendPullRequest " + sTmp);
              try
    //               url = new URL(getCodeBase().getProtocol()+"://"+getCodeBase().getHost() + "/my_FastFeed.jsp");
                   System.out.println(getCodeBase());
                   url = new URL("http://"+getCodeBase().getHost() + "/my_FastFeed.jsp");
                   System.out.println(url);
                   URLConnection URLConn = url.openConnection();
                   URLConn.setDoInput(true);
                   URLConn.setDoOutput(true);
                   URLConn.setDefaultUseCaches(false);
                   URLConn.setRequestProperty("Content-Type", "application/octet-stream");
                   outputToServlet = new ObjectOutputStream(URLConn.getOutputStream());
                   outputToServlet.writeObject(sTmp);
                   outputToServlet.flush();
                   outputToServlet.close();
                   InputStream inputstream = URLConn.getInputStream();
                   for (int j = inputstream.read(); j != -1; j = inputstream.read())
                        if (j == 1)
                             strResult = "";
                             // msgStart = true;
                        strResult = strResult + (char) j;
                        System.out.println("strResult>> " + strResult);
                        if (j == 4)
                             break;
                   inputstream.close();
                   sleepLoop = 0;
              } catch (IOException _ex)
                   System.out.println("sendPullRequest:IOException : " + _ex.getMessage());
              if (strResult != null)
                   if ((strResult.indexOf('\001') == -1) || (strResult.indexOf('\002') == -1) || (strResult.indexOf('\003') == -1) || (strResult.indexOf('\004') == -1))
                   else
                        dissectFeed(strResult);
         public void displaySysTime(String sTime)
         public String dissectFeed(String sFeed) throws StringIndexOutOfBoundsException, NumberFormatException
              //System.out.println("Feed>"+sFeed);
              try
                   if ((sFeed.indexOf('\001') == -1) || (sFeed.indexOf('\002') == -1) || (sFeed.indexOf('\003') == -1) || (sFeed.indexOf('\004') == -1))
                        return sFeed;
                   sHeader = sFeed.substring(sFeed.indexOf('\001') + 1, sFeed.indexOf('\002'));
                   sData = sFeed.substring(sFeed.indexOf('\003') + 1, sFeed.indexOf('\004'));
                   sFirst=sData.substring(2, 10);
                   //System.out.println("sHeader => [" + sHeader + "]");
                   //System.out.println("sData => [" + sData + "]");
                   String parts[] = sData.split("\\^");
                   if(parts.length == 1)
                        return "";
                   if(sFirst.equals("Consumer")){
                        Ticker.FIRST_LINE = true;
                   //System.out.println("parts.length--->>" + parts.length);
                   if (parts != null && parts.length > 0)
                        Ticker.LOADING_DATA = true;
                        int position = 0;
                        if (Ticker.FIRST_LINE)
                             // INDEX + ITEM NAME + VALUE + CHANGE
                             for (int i = 0; i < parts.length; i += 4)
                                  //System.out.println("FIRST LINE PARTS LENGTH : " + parts.length + " i = " + i);
                                  if (parts.length < i + 4)
                                       break;
                                  if(parts[i + 3].equals("SCO"))
                                       DisplayItem displayItemText = new DisplayItem();
                                       displayItemText.setText(parts[i + 1]); // ITEM NAME
                                       if(parts[i].equals("A1")){displayItemText.setItemIndex(9001);}
                                       else if(parts[i].equals("A2")){displayItemText.setItemIndex(9002);}
                                       else if(parts[i].equals("A3")){displayItemText.setItemIndex(9003);}
                                       else if(parts[i].equals("A4")){displayItemText.setItemIndex(9004);}
                                       else if(parts[i].equals("A5")){displayItemText.setItemIndex(9005);}
                                       else if(parts[i].equals("A6")){displayItemText.setItemIndex(9006);}
                                       tickerTape.AddDisplayItem(displayItemText, " XXXXX", position);
                                       position++;
                                       DisplayItem displayItemValue = new DisplayItem();
                                       displayItemValue.setText(parts[i + 2]); // ITEM VALUE
                                       if(parts[i].equals("A1")){displayItemText.setItemIndex(9001);}
                                       else if(parts[i].equals("A2")){displayItemText.setItemIndex(9002);}
                                       else if(parts[i].equals("A3")){displayItemText.setItemIndex(9003);}
                                       else if(parts[i].equals("A4")){displayItemText.setItemIndex(9004);}
                                       else if(parts[i].equals("A5")){displayItemText.setItemIndex(9005);}
                                       else if(parts[i].equals("A6")){displayItemText.setItemIndex(9006);}
                                       tickerTape.AddDisplayItem(displayIt

    Two bits of advice:
    1) Pare down your code to no more than 30-50 lines. Enough to compile and show the problem, but not so much as to make our eyes bleed, and for no one to want to read your post or help you.
    2) You would be wise not to state that your problem is "urgent". Even if it is urgent to you, realize that it is not urgent to us. Many here take offense to this as it implies to them that a) the poster thinks that his post is more important than everyone else's, and b) that the poster wants to put pressure on the volunteers who come here to help on their own free time. Just a friendly word of advice.
    I'll be happy to help when you've posted a reasonable amount of code. Good luck!

  • Why the need for bank subaccounts?

    Why do we need bank subaccounts? What is the logic behind this? Why can't we use the main bank account to make outgoing or receive incoming payments?
    Thanks in advance. Points available.

    Bank sub accounts are generally required if Bank Reconciliation (especially Electronic Bank Reconciliation) are performed in SAP. If I try to explain in simple terms it is as follows. The bank statement received from a bank will have several transaction types such as cheque payment, deposits, EFT etc. Even if you look at the statement these transactions are identified via transaction type ( E.g. CHQ). Similarly, SAP requires these external transaction types to be mapped via Transaction Types and posting rules. Therefore ideally, there will be a different sub bank accounts created for each Cheque Payment, Deposits, Miscellaneous Debits etc. I have found this a very good process where at any given time (if bank reconciliations are performed on a daily basis) each sub account would represent Unpresented Cheques or Unrealized Deposits while the main bank account will match with the balance as per the bank statement.
    Hope this was helpful.
    Regards
    Nadini

  • Why the Calc Script runs 15 hours?

    Every week, we empty the BSO essbase CUBE, and reload with new data from flat file and make a Calculation. It takes 15 hours to finish, that's too long a time, how to improve the running speed? What is the most possible reason for the bottleneck?

    Hi,
    1. One has to take a look at your outline , calculation scripts and also other DB settings to recommend any changes for improvement.
    2. There are many parameters like parallel calculation, caches, cfg settings..etc which play a role in it.
    3. We never know , it might be due to hardware issue sometimes.
    Get essbase consultants to fix this issue .
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Why the need of "import" statements for Java base code?

    If for documentation purposes, a compiler option to produce an "import list" would have been sufficient.

    import statements act as really simple namespaces.
    Instead of the programer having to specify:
    java.io.File f = new java.io.File("c:\\");
    the code can have a 'namespace' added to do the following:
    import java.io.file;
    File f = new File("c:\\);
    it's a way of getting around similiarly named classes, but still have the ability to drop the 'java.io.' part.

  • Why the need to change "Preferences"?

    To get Reader X to work like previous versions did I have to go to preferences and either check or uncheck "Display  PDF in browser" (e.g. Chase card Services "uncheck"; ADP payroll services "Check".  Why?  What does "Display  PDF in bowser" mean, anyway?  Thank You.

    If you check it links from a web page to PDF files will open inside your browser. If not, they'll open in Reader's own window.

  • HT2558 I'm trying to run Sibelius 6. it won't run and I get an error message saying I need to run as an administrator first.How do I run as administrator?

    I've just installed Sibelius 6. However,  It won't open and I get an error message saying I need to run as administrator first. How do I don this?

    Hi Caroline,
    Is this on an iPad or a  Mac???

  • Why does the iPad 2 run out of memory

    Why does the iPad 2 run out of memory?

    First ...read deggie's response. Makes sense - even a computer running a large amount of RAM can run short on memory depending upon the operation you are performing so sometimes you have to do what is available to "clear" the memory.
    You can ...close apps and restart the iPad on occasion. You close apps by double tapping the home button to bring up your recent apps in the multitasking tray. Tap and hold down on any of the icons until they all begin to wiggle. Then tap the minus signs in the corner of the apps to close them. Close all of your apps in that area. Also take note of how many apps are down there. That may have something to do with why the iPad is running out of memory. Tap the home button twice to return to the home screen. Then restart your iPad by holding down on the sleep button until the red slider appears and slide to shut off. To power up, hold the sleep button until the Apple logo appears and let go of the button.
    If you do this once in a while, it may make a difference in how your iPad performs. In any event, it will not hurt anything.

  • Localconfig.bat needs to run when start ASM

    Hi All,
    I am using ORACLE 10g R2 (10.2.0.4). I want to use ASM on Windows?
    I have two query for that:
    1- can I use ASM for windows? or it benificial only for Linux os?
    2- why I need to run "localconfig.bat" file for standalone db? this batch file is creating "OCR" keay and some CSS service. According to my knowledge this OCR and CSS is a part of Cluster.
    Can any one guide me on this topic?
    Thanks...

    hi
    in regard to 1st Q - ASM is the recommended storage for Oracle on all platforms, especially when DB is in ARCHIVELOG (RMAN benefits plus listed below).
    However for some DB's like e.g. "calculating only" ones, the Windows NTFS is a good choice (fast).
    Quote:
    ASM is one the best things that has happened to Oracle since a long time and is quickly maturing into the de facto standard for Oracle
    database storage. It is the most cost-effective automated database storage solution for Oracle and Grid computing
    as it eliminates the need to perform guesswork when implementing and tuning database storage, eliminates the need for costly LVMs,
    eliminates the need to perform manual IO rebalancing, eliminates unnecessary downtime with storage reorganization
    and vastly improves DBA’s productivity.
    It allows the company’s storage to be most effectively used and consolidated leveraging Oracle’s cluster technology.
    It is the present and future.

  • Is it can grant an admin right for special application ?(No Runas as Administrator)

    Dear All
    Background: We have an application which run on users group in server 2000 SP4 is normal.
    We want upgrade the OS to Win7 , on the Win7 the application can not launch on normal users group.
    I was try the properties of compatibility to server 2000 and choose "Run this program as an administrator" and edit the regedit key permission , both of all is not work on my case.
    It is ok right-click the application and runas as administrator, but on the other hand I find runas administrator has some other error with the application.
    May I know is it has a method can grant the admin right to special user when running special application ?
    Regards All

    Hi,
    What application can not run in Windows 7? I think there is a application compatibility issue, so please attempt to run Program Compability troubleshooter.
    Also, you said you got some error while you ran as administrator with runas command. And what are the errors?
    RUNAS /user:<Username> Program
    Based on my knowledge, we cannot grant the special user with admin right unless you add this special user to Administrators group. When a special user is running a application requiring administrator permission, it will prompt to input administrator username
    and password.
    Andy Altmann
    TechNet Community Support

  • Any idea why the applets starts but nothing works?

    I am 1 month old. Here is small training program that I am trying. Any idea why the applet is running but nothing works?
    thanks
    package javaapplication1;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.*;
    import javax.swing.*;
    public class MoneyCollect extends JApplet implements ActionListener {
    private JLabel promt;
    private JTextField input;
    private int total;
        public void main(String [] args){
            Container c = getContentPane();
            c.setLayout( new FlowLayout() );
            promt = new JLabel ("Enter number of hours");
            input = new JTextField (10);
            input.addActionListener(this);
            c.add(promt);
            c.add(input);
        public int calculateCharges(int hrs){
            if ( (hrs>=0) && (hrs<=3) && (hrs != 24) ){
            total = 2*hrs;   
            if((hrs>=3)&& (hrs<24) && (hrs != 24)){
            total = (int) (((hrs - 3) * 0.50) + 6);
            if (hrs == 24){
                total = 10;
            return total;
        public void actionPerformed(ActionEvent e) {
            int hrs = Integer.parseInt(e.getActionCommand());
            showStatus ("You have to pay:"+calculateCharges(hrs));
    }

    ...because changing this:
    public class MoneyCollect extends JFrameto this:
    public class MoneyCollect extends JAppletdoes not create an applet. Get a beginning java book and start reading it. I recommend "Java2: A Beginner's Guide".
    Or, you can read the following tutorial to learn why your program is not an applet:
    [http://java.sun.com/docs/books/tutorial/deployment/applet/getStarted.html]

  • Macbook air: you do not have sufficient access privileges. you need to run this game from an administrator account??? I'm already on the administrator account?

    I bought a mac game from www.gamehouse.com. Downloaded it and now trying to install to play. But everytime I go to install, a message keeps popping up telling me "Your account doesn't have sufficient access privileges. You will need to run this game once from an administrator account. Afterwards you will be able to run it from this account." I am already on the administrator account. Can someone please help?!

    Only the developer can fix his apparently defective product.

  • When I try to upgrade and install to iOS 5.1, error message prompt "operation stop running". I have tried several time but failed. Also, would like to know why always need to have wifi access in order to upgrade the version of iPad iOS, why not 3G ?

    When I try to upgrade and install to iOS 5.1, error message prompt "operation stop running". I have tried several time but failed. Also, would like to know why always need to have wifi access in order to upgrade the version of iPad iOS, what is the purpose of 3G then? This is really nonsense using wifi + 3G iPad. need help ! Thanks.

    The file is too large to download via 3G. There is a 20MB limit with 3G. The purpose of having 3G is that you have internet access everywhere and do not need to be near a WiFi hotspot or network.
    Not every single thing that you do every single minute of the day on the iPad involves downloading files larger than 20MB. You can surf the internet all day long sitting out in a park somewhere with 3G - but not with a WiFi only iPad - unless you use a hotspot with it.
    Try turning off your firewall and anti virus software while you try to download the iOS update.

Maybe you are looking for

  • Manufacturer part number in MB01

    Hi , is it possible to get the manufacturer part number in MB01 transaction at the time GR for PO along wiht the material description or in any other field. thanks for ur reply. Regards Srinivas

  • Web Content Overlay-Youtube Error

    Hi All, I want to avoid folio bloat by using the Web Content Overlay linked to an HTML page with a Youtube embed link. Works like a charm on my iPad 2 except for something strange that happens if I tap outside the boundry of the HTML window/viewport.

  • Form printing in QA32

    Hello Experts,                           i am printing a standard form ( QM_INSP_RESULT ) in QA32 transaction i have converted the standard form into Z form and done some changes can any one tell me how to replace the standard form into my Zform to g

  • Unable to reinstall ps elements 11 on my computer

    I had to re-image my computer back to original image at purchase, I have tried several time to reload Photoshop Elements 11, and every time it errors and then rolls back and tells me to reboot my computer and start again. 1 Can I use the same serial

  • IPhone: How to tell if Phone is in Silent Mode

    Is there any way to detect if the iphone has it's sound turned off? I can't find anything in the docs.