Hebrew OCR works but spaces and in english - Possible bug

Hello all,
I'm using Acrobat Extended Pro for scanning hebrew content. The OCR features works very good, but when copying the text to Microsoft Word (2003) the spaces (not the words) remain in english. I mean, as Word knows the language of each charactar, it marks the words as hebrew and the spaces as english.
This causes Word to invert the word order in the sentences.
Of course copying first to notepad and then to Word easily solves the problem
Hope it helps
Nitay

Just a thought —
Perhaps the Middle Eastern version of Acrobat would deal with spaces appropriately.
Regardless, while using what is currently installed; try export of PDF page content to a text file.
Open the text file with MS Word. It the result is similar to the outcome of the copy-paste to notepad it might be a little simpler work flow.
Be well...

Similar Messages

  • Just got a new iPad 2.  64 GB.  It will connect to wifi and facetime works, but email and internet won't connect.  Suggestions?  Thanks!

    Just got a new iPad 2.  It is 64 GB.  It will connect to wifi no problem and facetime works, but email and internet won't connect.
    Suggestions?
    Thanks!

    If facetime works, then the internet IS connecting.

  • Java works, but jar and javac don't

    java at the command line works, but jar and javac don't
    could it be the CLASSPATH
    I'm running Windows if that helps. If you need more info ask away
    Thanks
    CINC

    Definitely sounds like the classpath problem. From the sounds of the error message, you are using win95/98/ME, and so the best way to get around this is to set the classpath in your autoexec.bat file. I think the problem is because you have to set 2 variables in your path, one for the running of the java (JRE) and one for the tools to process the uncompiled files (SDK);
    rightclick on your autoexec.bat and select Edit
    here is my path, change yours accordingly so the paths lead to your windows, command and bin directories accordingly.
    PATH=D:\WINDOWS;D:\WINDOWS\COMMAND;D:\PROGRAM FILES\JAVASOFT\J2SDK1.4\BIN
    SET CLASSPATH=.;D:\PROGRAM FILES\JAVASOFT\J2SDK1.4\BIN\TOOLS.JAR
    Theres a section on setting classpath in This site at :
    java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html
    and if that doesn't work, then i recommend you download and IDE which sorts ou most of these problems for you, and makes programming much easier also :)
    anything from:
    Suns Forte
    Jcreator
    Jbuilder
    to a real heavyweight which i use and find indispensible called Visual Age for Java, which is so powerful, but not for the faint hearted or weak-computered. :P
    Good Luck
    Benji

  • Working Colour Space and sRGB

    Only partially related to CR, I'm still unclear about using different colour spaces in my workflow, as a semi-pro photographer producing images for the internet, projector, and for home printing.
    I found this topic in the archive:
    Klaas Visser, "ProPhoto vs sRGB" #1, 15 Nov 2006 4:36 pm
    and was still left puzzled.
    I read Bruce/Jeff's book a year ago, and took in the recommendation to use ProPhotoRGB as the target colour space, but am still not clear WHY, and if it is relevant to a workflow which results in a reduced sRGB jpeg, or an A3/A4-sized print on a SOHO 6-colour injet printer. Does CR work best in ProPhoto?
    Recent conversations have led me to believe that there is little point starting with a ProPhoto colour space if the end medium uses a much smaller gamut, like a calibrated monitor, projector, or domestic inkjet printer. Not only that, but the colour space conversion process will actually degrade the image unnecessarily. I'm told that it's better to start with the final colour space and avoid conversions. One friend went to great lengths to explain to me that a larger gamut with the same bit depth had "bigger gaps" between colours and therefore less accurate colour resolution.
    Well, the theory in both camps seems sound, so I'm left in confusion. I could spend many hours (and money) on doing test conversions and prints, and examine fine details with a large magnifying glass, but I was hoping: could somebody put me out of my misery with a logical explanation of best practices?

    > Recent conversations have led me to believe that there is little point starting with a ProPhoto colour space if the end medium uses a much smaller gamut ...
    You don't sound that confused -- you simply need to decide on what your target color space (CS) gamut should be. You're correct in noting that color gamut conversions are somewhat destrustive, but there nothing wrong with minimizing them, and restricting them for going from large to small gamuts only.
    A large CS gamut (PpRGB) is capable of all the color from your camera (depending on your camera), but like your friend implies most probably sould be editted in highbit depth (16bits). This CS is useful for archiving your images, or for aggressive tonal adjustments. (... although your images are 'really' archived as raw data, and ACR "undestructively" modified tonal values before exporting to Photoshop).
    I find little utility in exporting to small CS gamuts (eg, sRGB), unless the image is intended for a small gamut (monitors in general - eg, web browser presentations, and/or printers that can only relate to sRGB).
    In between are intermediate CS gamuts (eg, AdobeRGB), which are quite capable of small tonal adjustments with 8bit depth, for which the target gamuts are usually better printer technologies.
    my CA$0.02 :)

  • I Pod Touch Music player stopped working but Sounds and iTunes samples still work?? Help.

    Howdy. My Music player has stopped working, but regular sounds and iTunes samples still work?? Can anyone help.
    Push the orange music button and the player opens, but when I push the play button nothing happens other than the pause icon comes up.
    Both side volume and the onscreen volume read at full.

    -restore ipod to latest ios if problems still happenes then it's a hardware problem nothing like a good old appointment at genuis bar would help.

  • 3G works but calls and messeges doesn't

    Hi. I bought my iPhone 5 from my friend. The 3G data works but I can't call or send messeges, not even receive those. The network of my provider is shown, yet I dont have any connection bars.

    Then contact your cell phone provider to resolve the issue, both of those are carrier features.

  • Program Help, working with spaces and only letters

    I'm writing a program that takes an input string and gets the length and/or gets the number of vowels and consonants in the string. I've gotten it working except for consideration of spaces (which are allowed) and error checking for input other than letters. Here is what I've got so far. ANY suggestions would be greatly appreciated. Thank You
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class LetterStringManip extends JFrame
    {//declaring variables
         private JLabel stringOfLettersL, lengthL, lengthRL, vowelsL, vowelsRL, consonantsL, consonantsRL;
           private JTextField stringOfLettersTF;
           private JButton lengthB,vowelB, quitB;
           private LengthButtonHandler lbHandler;
           private VowelButtonHandler vbHandler;
           private QuitButtonHandler qbHandler;
           private static final int WIDTH = 750;
           private static final int HEIGHT = 150;
           public LetterStringManip()
           {// setting up GUI window with buttons
               stringOfLettersL = new JLabel("Enter a String of Letters", SwingConstants.CENTER);
                   lengthL = new JLabel("Length of String: ", SwingConstants.CENTER);
                   lengthRL = new JLabel("", SwingConstants.LEFT);
                   vowelsL = new JLabel("Number of Vowels: ", SwingConstants.CENTER);
                   vowelsRL = new JLabel("", SwingConstants.LEFT);
                   consonantsL = new JLabel("Number of Consonats: ", SwingConstants.CENTER);
                   consonantsRL = new JLabel("", SwingConstants.LEFT);
                   stringOfLettersTF = new JTextField(15);
                   lengthB = new JButton("Length");
                   lbHandler = new LengthButtonHandler();
                   lengthB.addActionListener(lbHandler);
                   vowelB = new JButton("Vowels");
                   vbHandler = new VowelButtonHandler();
                   vowelB.addActionListener(vbHandler);
                   quitB = new JButton("Quit");
                   qbHandler = new QuitButtonHandler();
                   quitB.addActionListener(qbHandler);
                   setTitle("String Of Letters");//Window title
                   Container pane = getContentPane();
                   pane.setLayout(new GridLayout(3,4)); //Window layout
                   pane.add(stringOfLettersL);
                   pane.add(stringOfLettersTF);
                   pane.add(lengthL);
                   pane.add(lengthRL);
                   pane.add(vowelsL);
                   pane.add(vowelsRL);
                   pane.add(consonantsL);
                   pane.add(consonantsRL);
                   pane.add(lengthB);
                   pane.add(vowelB);
                   pane.add(quitB);
                   setSize(WIDTH, HEIGHT);
                   setVisible(true);
                   setDefaultCloseOperation(EXIT_ON_CLOSE);
           }//closes public LetterStringManip()
           private class LengthButtonHandler implements ActionListener
               public void actionPerformed(ActionEvent e)//Length Button is clicked, getLength() method is performed
                      getLength();
                   }//closes public void actionPerformed(ActionEvent e)
           }//closes private class LengthButtonHandler implements ActionListener
           private class VowelButtonHandler implements ActionListener
               public void actionPerformed(ActionEvent e)//Vowels Button is clicked, getVowels() method is performed
                      getVowels();
                   }//closes public void actionPerformed(ActionEvent e)
           }//closes private class VowelButtonHandler implements ActionListener
           private class QuitButtonHandler implements ActionListener//Quit Buttton is pressed
               public void actionPerformed(ActionEvent e)
                       System.exit(0);
                   }//closes public void actionPerformed(ActionEvent e)
           }//closes private class QuitButtonHandler implements ActionListener
                     public void getLength()//gets the length of the string
                       String letString = (stringOfLettersTF.getText());
                       String lengthString;
                 int length;
                         length = letString.length();
                         lengthString = Integer.toString(length);
                         lengthRL.setText(lengthString);
                    }//closes public void getLength()
                     public void getVowels()//gets the number of vowels in the string
                 String letString = (stringOfLettersTF.getText());
                       String vowString;
                         String conString;
                 int countVow = 0;
                         int countCon = 0;
                         int i;
                         int length = letString.length();
                         char[] letter = new char[length];
                 for (i = 0; i < letString.length(); i++)
                     letter[i] = letString.charAt(i);
                     if (letter=='a' || letter[i]=='e' || letter[i]=='i' || letter[i]=='o' || letter[i]=='u')
    countVow++;
                        }//closes for
                        countCon = letString.length() - countVow;
    vowString = Integer.toString(countVow);
                        conString = Integer.toString(countCon);
                        vowelsRL.setText(vowString);
                        consonantsRL.setText(conString);
                   }//closes public void getVowels()
         public static void main(String[] args)
         LetterStringManip stringObject = new LetterStringManip();
         }// closes public static void main(String[] args)
    }//closes public class LetterStringManip extends JFrame

    OK, per the instructions above: I will re-post my code that I have now. I have dealt with the space not being counted now, I only need to figure out how to validate my input so that only letters are allowed. If anyone has any suggestions, or can help me out in any way, it'd be great. The suggestions with creating word and sentence objects is still a little beyond what we have gone over thus far in my Java course, I feel like I can almost grasp it to code it, but end up getting really confused. anyways, hear is my 'crude' code so far:
                     public void getLength()
                       String letString = (stringOfLettersTF.getText());
                       String lengthString;
                          int finalLength;
                          int countSpace = 0;
                                int length = letString.length();
                       char[] letter = new char[length];
                        int i;
                                 for (i = 0; i < letString.length(); i++)
                                    letter[i] = letString.charAt(i);
                                    if (letter==' ')
    countSpace++;
              finalLength = length - countSpace;
                   lengthString = Integer.toString(finalLength);
                   lengthRL.setText(lengthString);
                   public void getVowels()
    String letString = (stringOfLettersTF.getText());
                   String vowString;
                   String conString;
    int countVow = 0;
                   int countCon = 0;
                   int countSpace = 0;
                   int i;
                   int length = letString.length();
                   char[] letter = new char[length];
    for (i = 0; i < letString.length(); i++)
    letter[i] = letString.charAt(i);
    if (letter[i]=='a' || letter[i]=='e' || letter[i]=='i' || letter[i]=='o' || letter[i]=='u')
    countVow++;
                   if (letter[i]==' ')
    countSpace++;
                   countCon = (letString.length() - countVow) - countSpace;
    vowString = Integer.toString(countVow);
                   conString = Integer.toString(countCon);
                   vowelsRL.setText(vowString);
                   consonantsRL.setText(conString);

  • [SOLVED] Wireless card works, but configuration and software doesn't

    Hi,
    I could manage to activate my Atheros wireless card using the madwifi drivers. I wanted to use knetworkmanager, but unfortunatly i doesn't recognize any of my network devices. I've read the other networkmanager threads, changed the daemons order, disabled the network daemon and the routing entry in rc.conf, but still (k)networkmanager doesn't know anything about my devices.
    I tried to use knetworkmanager-svn from the AUR. Initially it doesn't work because the SVN URLs inside the PKGBUILD script a wrong, but even after I fixed them I couldn't compile the source, because there is no configure and no Makefile in the svn head. I'm really a noob when it comes to the linux build system, so I had to give it up.
    Now I use wifi-radar. It is terribly slow to connect, but it works. However, when I disconnect with wifi-radar, then do 'ifconfig ath0 down && ifconfig eth0 up' the DNS requests fail. I checked /etc/resolv.conf and the default route (set to eth0), but they are right; the interface just doesn't use the name servers. The only way to get it working is to restart the laptop. How does Linux chose a "default interface"?
    I'm not afraid of editing text files, but I'd like change networks fast and easy. I don't want to spend hours to adapt to a new access point... I'm really looking forward to the new wlan stack; maybe things will be getting easier then.
    kei
    Last edited by Kei (2007-05-04 12:36:00)

    Okay, now KNetworkManager works (I forgot adding my user to the HAL group :] ).
    There is still a problem - I know it's networkmanager related: At home I'm not using a DHCP server. KNetworkManager cannot handle static IP configuration. However, if I issue the command 'ifconfig ath0 192.168.0.12 subnet 255.255.255.0' while KNetworkManager is searching for a DHCP server I can even ping my gateway, so there is definitely a connection. Unfortunatly KNetworkManager closes this connections after a short period (dhcp timeout). Is there a quick'n'dirty workaround for this issue?
    Another problem with KNetworkManager: When switching back to wired network, the DNS server is there :-) but the default gateway is not
    Thanks for suggestions..
    kei
    //EDIT: In Debian there is a configuration file called /etc/network/interfaces. KNetworkManager uses the static IP information I enter there. However, when I modify /etc/rc.conf accordingly in ArchLinux, KNetworkManager does NOT use it.
    //EDIT 2: After '/etc/rc.d/networkmanager restart' the static IP setting from /etc/rc.conf are used. The problem with the default gateway only occurs when the connection to one of the networks FAILS. After that failure the configuration is kind of messed up.
    Altough it seems more like a dirty hack than a definite solution, I'm quite happy with the way it works now.
    [CLOSED] <-- maybe I'm blind, but how can I change the topic to "[SOLVED] $Topic" ?
    Last edited by Kei (2007-05-03 23:26:04)

  • JMS send seems to work, but receive and browse not

    Hi,
    I use an Oracle9i database, registered it to OID and also registered a QueueConnectionFactory using Oracle sample code with slight changes as you can see below.
    I then wrote a little AQ-JMS test programm to test sending and receiving messages also using Oracle's sample code with slight changes.
    Registration works (as much as I can tell - at least I can see an entry in the OracleDBConnections in OID). Sending passes without any error messages and retrieval as well as browsing crashes with a null pointer exception of the style:
    java.lang.NullPointerException
         at oracle.jms.AQjmsConsumer.<init>(AQjmsConsumer.java:222)
         at oracle.jms.AQjmsQueueBrowser.<init>(AQjmsQueueBrowser.java:99)
         at oracle.jms.AQjmsSession.createBrowser(AQjmsSession.java:1404)
         at oracle.jms.AQjmsSession.createBrowser(AQjmsSession.java:1251)
         at TestRegisteredAQQCF.browseMessages(TestRegisteredAQQCF.java:167)
         at TestRegisteredAQQCF.browse(TestRegisteredAQQCF.java:73)
         at TestRegisteredAQQCF.main(TestRegisteredAQQCF.java:26)
    I will mark the lines, where this exceptions occur with //EXCEPTION
    Oracle's Enterprise Manager Console says, there were no waiting, ready or expired messages in the queue.
    Actually I simply want to use AQ as resource provider for OAS Dev Preview, but I could not find detailed documentation on that (in oc4j_j2ee_svcguide_r2.pdf I cannot find, what I have to put into jms.xml in case of AQ as resource provider) so I tried to test, whether I can send and receive at all. Maybe someone of you knows, what is wrong.
    =================================================================
    =================================================================
    Send and Mail Code
    ==================
    import java.util.Enumeration;
    import java.util.Hashtable;
    import javax.jms.*;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import oracle.jms.AQjmsConstants;
    import oracle.jms.AQjmsSession;
    public class TestRegisteredAQQCF
    public static void main(String args[])
    try
    I ran send a few times and commented the other two out. Then I tried each
    of the other ones, always sending a few times inbetween.
    //send();
    //receive();
    browse();
    catch (JMSException e)
    e.printStackTrace();
    System.out.println("\n\nLinked Exception:\n");
    e.getLinkedException().printStackTrace();
    catch (Exception e)
    e.printStackTrace();
    public static void send() throws JMSException
    QueueConnectionFactory qcf = null;
    QueueSession qs = null;
    Queue queue = null;
    qcf = get_Factory_from_LDAP();
    qs = getQueueSession(qcf);
    queue = getQueue(qs);
    sendMessageToQueue(queue, qs);
    public static void receive() throws JMSException
    QueueConnectionFactory qcf = null;
    QueueSession qs = null;
    Queue queue = null;
    qcf = get_Factory_from_LDAP();
    qs = getQueueSession(qcf);
    queue = getQueue(qs);
    receiveMessageFromQueue(queue, qs);
    public static void browse() throws JMSException
    QueueConnectionFactory qcf = null;
    QueueSession qs = null;
    Queue queue = null;
    qcf = get_Factory_from_LDAP();
    qs = getQueueSession(qcf);
    queue = getQueue(qs);
    browseMessages(queue, qs);
    public static QueueConnectionFactory get_Factory_from_LDAP()
    Hashtable env = new Hashtable(5, 0.75f);
    env.put(Context.INITIAL_CONTEXT_FACTORY, AQjmsConstants.INIT_CTX_FACTORY);
    // aqldapserv is your LDAP host and 389 is your port
    env.put(Context.PROVIDER_URL, "ldap://anduin:389");
    // now authentication info
    // username/password scheme, user is OE, password is OE
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "cn=orcladmin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    //env.put("server_dn", "cn=ora9_aq,cn=OracleContext");
    QueueConnectionFactory qc_fact = null;
    try
    DirContext inictx = new InitialDirContext(env);
    // initialize context with the distinguished name of the database server
    inictx = (DirContext) inictx.lookup("cn=ora9_aq,cn=OracleContext");
    //go to the connection factory holder cn=OraclDBConnections
    DirContext connctx = (DirContext) inictx.lookup("cn=OracleDBConnections");
    // get connection factory "oe_queue_factory"
    qc_fact = (QueueConnectionFactory)
    connctx.lookup("cn=CarnotQueueConnectionFactory");
    catch (NamingException e)
    e.printStackTrace();
    System.out.println("\n\nRoot Cause: \n");
    e.getRootCause().printStackTrace();
    return qc_fact;
    public static Queue getQueue(QueueSession qsession)
    throws JMSException
    Queue queue = null;
    queue = ((AQjmsSession) qsession).getQueue("", "CARNOTQUEUE");
    return queue;
    private static QueueSession getQueueSession(QueueConnectionFactory qcf)
    throws JMSException
    QueueConnection qc = qcf.createQueueConnection("carnotaq", "carnotaq");
    qc.start();
    QueueSession qs = qc.createQueueSession(true, 0);
    return qs;
    private static void sendMessageToQueue(Queue queue, QueueSession qsession)
    throws JMSException
    String whatEverObject = "I'm the message's object nr. 1!";
    QueueSender sender = null;
    ObjectMessage objMessage = null;
    sender = qsession.createSender(queue);
    objMessage = qsession.createObjectMessage();
    objMessage.setJMSCorrelationID("JMS1");
    objMessage.setObject(whatEverObject);
    qsession.commit();
    private static void receiveMessageFromQueue(Queue queue, QueueSession qsession)
    throws JMSException
    QueueReceiver receiver = null;
    ObjectMessage objMessage = null;
    String whatEverObject = null;
    receiver = qsession.createReceiver(queue); //EXCEPTION
    objMessage = (ObjectMessage) receiver.receive();
    whatEverObject = (String) objMessage.getObject();
    System.out.println("Object: " + whatEverObject);
    System.out.println("JMSCorrelation ID: " + objMessage.getJMSCorrelationID());
    private static void browseMessages(Queue queue, QueueSession qsession)
    throws JMSException
    QueueBrowser browser;
    ObjectMessage objMessage;
    Enumeration messages;
    String whatEverObject;
    browser = qsession.createBrowser(queue,
    "JMSCorrelationID = 'JMS1'"); //EXCEPTION
    for (messages = browser.getEnumeration() ; messages.hasMoreElements() ;)
    objMessage = (ObjectMessage)messages.nextElement();
    whatEverObject = (String) objMessage.getObject();
    System.out.println("Object: " + whatEverObject);
    System.out.println("JMSCorrelation ID: " + objMessage.getJMSCorrelationID());
    browser.close();
    =================================================================
    =================================================================
    Registration Code:
    ==================
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.util.Hashtable;
    import javax.jms.JMSException;
    import javax.naming.Context;
    import oracle.jms.AQjmsConstants;
    import oracle.jms.AQjmsFactory;
    public class RegisterAQQCF
    public static void main(String args[])
    register_Factory_in_LDAP();
    public static void register_Factory_in_LDAP()
    Hashtable env = new Hashtable(5, 0.75f);
    env.put(Context.INITIAL_CONTEXT_FACTORY, AQjmsConstants.INIT_CTX_FACTORY);
    System.out.println(AQjmsConstants.INIT_CTX_FACTORY);
    // aqldapserv is your LDAP host and 389 is your port
    env.put(Context.PROVIDER_URL, "ldap://anduin:389");
    // now authentication info
    // username/password scheme, user is standard
    env.put(Context.SECURITY_AUTHENTICATION, "simple");
    env.put(Context.SECURITY_PRINCIPAL, "cn=orcladmin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    env.put("server_dn", "cn=ora9_aq,cn=OracleContext");
    /* register queue connection factory for database "ora9aq", host "anduin",
    port 1521, driver "thin" */
    try
    AQjmsFactory.registerConnectionFactory(env, "CarnotQueueConnectionFactory", "anduin",
    "ora9aq", 1521, "thin", "queue");
    catch (JMSException e)
    e.printStackTrace();
    System.out.println("\n\n Root Cause: \n");
    e.getLinkedException().printStackTrace();

    I'm not sure at this point why you see NullPointerException,
    I suspect something with the Queue. You code is running in my
    environment.
    If you could, please provide info on how the queue
    carnotaq.carnotqueue was created (pl/sql, java api calls, etc.).
    Make sure that carnotaq.carnotqueue is a type that can contain
    object message payloads.
    Here is the PL/SQL code I used to create the queue. You may want
    to try this to see if error remains.
    ---- start pl/sql script ----
    -- drop queue
    CONNECT carnotaq/carnotaq;
    execute dbms_aqadm.drop_queue_table( queue_table => 'CARNOTQUEUE', force => true
    -- create queue
    execute dbms_aqadm.create_queue_table( queue_table => 'CARNOTQUEUE', queue_paylo
    ad_type => 'SYS.AQ$_JMS_OBJECT_MESSAGE', comment => 'single-consumer, default so
    rt ordering, Obj Message', compatible => '8.1.0' );
    execute dbms_aqadm.create_queue( queue_name => 'CARNOTQUEUE', queue_table => 'C
    ARNOTQUEUE');
    -- start queue
    execute dbms_aqadm.start_queue(queue_name => 'CARNOTQUEUE');
    ---- end of pl/sql script ----

  • Yahoo email not working, but AOL and GMAIL is

    I am very interested in finding out how many others are having trouble with getting email from Yahoo. I have a free yahoo account and it was working find for the 1st two days, but it has never worked since then. I used the built in yahoo account to add the email account in my iphone.
    AOL and GMAIl has no problem where was Yahoo doesn't work. I'm in the DC area and I know another person thas has the same exact problem.
    Am I the only one or is there a fix?
    thanks,
    Scott

    tested by sending myself an email from another account. works fine for me. pushes to my iphone within seconds of sending.

  • ITunesU works but Music and others are blank

    I have installed a new spyware tool called Spy Hunter but if iTunes U works should'nt the rest be ok? Could is somehow be a ratings things?
    Thanks

    Swedish, Swedish - Pro, Unicode hexinput and USA.
    So with the Swedish flag plus PRO in the "flag" menu at the top right of the Finder, what do you get when you type Alt + 2?
    If you do not have the "flag" menu, go to system prefs/language & text/input sources and check the box for "Show Input Menu in Finder."

  • Instead of trigger example - INSERT works but UPDATE and DELETE does not?

    Below is a demostration script of what I am trying to troubleshoot. Tests are done on 10gR2;
    conn system/system
    drop table tt purge ;
    create table tt nologging as select * from all_users ;
    alter table tt add constraint pk_tt_user_id primary key (user_id) nologging ;
    analyze table tt compute statistics for table for all indexed columns ;
    conn hr/hr
    drop database link dblink ;
    create database link dblink
    connect to system identified by system
    using 'xe.turkcell' ;
    select * from global_name@dblink ;
    drop view v_tt ;
    create view v_tt as select username, user_id, created from tt@dblink order by 2 ;
    select count(*) from v_tt ;
    COUNT(*)
    13
    drop sequence seq_pk_tt_user_id ;
    create sequence seq_pk_tt_user_id
    minvalue 1000 maxvalue 99999
    increment by 1;
    create synonym tt for tt@dblink ;
    CREATE OR REPLACE PROCEDURE prc_update_tt(old_tt v_tt%ROWTYPE, new_tt v_tt%ROWTYPE) IS
    BEGIN
    IF old_tt.user_id != new_tt.user_id THEN
    RETURN; -- primary key
    END IF;
    IF old_tt.user_id IS NOT NULL AND new_tt.user_id IS NULL THEN
    DELETE FROM tt
    WHERE user_id = nvl(old_tt.user_id,
    -99);
    RETURN;
    END IF;
    IF (old_tt.username IS NULL AND new_tt.username IS NOT NULL) OR
    (old_tt.username IS NOT NULL AND new_tt.username != old_tt.username) THEN
    UPDATE tt
    SET username = new_tt.username
    WHERE user_id = nvl(old_tt.user_id,
    -99);
    END IF;
    IF (old_tt.created IS NULL AND new_tt.created IS NOT NULL) OR
    (old_tt.created IS NOT NULL AND new_tt.created != old_tt.created) THEN
    UPDATE tt
    SET created = new_tt.created
    WHERE user_id = nvl(old_tt.user_id,
    -99);
    END IF;
    END prc_update_tt;
    CREATE OR REPLACE PROCEDURE prc_insert_tt(old_tt v_tt%ROWTYPE, new_tt v_tt%ROWTYPE) IS
    new_tt_user_id NUMBER;
    BEGIN
    SELECT seq_pk_tt_user_id.NEXTVAL INTO new_tt_user_id FROM dual;
    INSERT INTO tt
    (username, user_id, created)
    VALUES
    (new_tt.username, new_tt_user_id, new_tt.created);
    END prc_insert_tt;
    CREATE OR REPLACE PROCEDURE prc_delete_tt(old_tt v_tt%ROWTYPE, new_tt v_tt%ROWTYPE) IS
    BEGIN
    DELETE FROM tt
    WHERE user_id = nvl(old_tt.user_id,
    -99);
    END prc_delete_tt;
    CREATE OR REPLACE TRIGGER trg_iof_v_tt
    INSTEAD OF UPDATE OR INSERT OR DELETE ON v_tt
    FOR EACH ROW
    DECLARE
    new_tt v_tt%ROWTYPE;
    old_tt v_tt%ROWTYPE;
    BEGIN
    dbms_output.put_line('INSTEAD OF TRIGGER fired');
    dbms_output.put_line(':NEW.user_id ' || :NEW.user_id);
    dbms_output.put_line(':OLD.user_id ' || :OLD.user_id);
    dbms_output.put_line(':NEW.username ' || :NEW.username);
    dbms_output.put_line(':OLD.username ' || :OLD.username);
    dbms_output.put_line(':NEW.created ' || :NEW.created);
    dbms_output.put_line(':OLD.created ' || :OLD.created);
    new_tt.user_id := :NEW.user_id;
    new_tt.username := :NEW.username;
    new_tt.created := :NEW.created;
    old_tt.user_id := :OLD.user_id;
    old_tt.username := :OLD.username;
    old_tt.created := :OLD.created;
    IF inserting THEN
    prc_insert_tt(old_tt,
    new_tt);
    ELSIF updating THEN
    prc_update_tt(old_tt,
    new_tt);
    ELSIF deleting THEN
    prc_delete_tt(old_tt,
    new_tt);
    END IF;
    END trg_iof_v_tt;
    set serveroutput on
    set null ^
    insert into v_tt values ('XXX', -1, sysdate) ;
    INSTEAD OF TRIGGER fired
    :NEW.user_id -1
    :OLD.user_id
    :NEW.username XXX
    :OLD.username
    :NEW.created 30/01/2007
    :OLD.created
    1 row created.
    commit ;
    select * from v_tt where username = 'XXX' ;
    USERNAME USER_ID CREATED
    XXX 1000 31/01/2007          <- seems to be no problem with insert part but
    update v_tt set username = 'YYY' where user_id = 1000 ;
    INSTEAD OF TRIGGER fired
    :NEW.user_id
    :OLD.user_id
    :NEW.username YYY
    :OLD.username
    :NEW.created
    :OLD.created
    1 row updated.
    commit ;
    select count(*) from v_tt where username = 'YYY' ;
    COUNT(*)
    0               <- here is my first problem with update part, Oracle said "1 row updated."
    delete from v_tt where user_id = 1000 ;
    INSTEAD OF TRIGGER fired
    :NEW.user_id
    :OLD.user_id
    :NEW.username
    :OLD.username
    :NEW.created
    :OLD.created
    1 row deleted.
    commit ;
    select count(*) from v_tt ;
    COUNT(*)
    14               <- here is my second problem with delete part, Oracle said "1 row deleted."
    Any comments will be welcomed, thank you.
    Message was edited by:
    TongucY
    changed "-1" values to "1000" in the where clause of delete and update statements.
    it was a copy/paste mistake, sorry for that.

    What table do you process in your procedures ? You don't use DBLINK to
    reference remote table in your procedures.
    Seems, you have table "TT" in "HR" schema too.
    Look:
    SQL> create table tt nologging as select * from all_users where rownum <=3;
    Table created.
    SQL> select * from tt;
    USERNAME                          USER_ID CREATED
    SYS                                     0 25-APR-06
    SYSTEM                                  5 25-APR-06
    OUTLN                                  11 25-APR-06
    SQL> conn scott/tiger
    Connected.
    SQL> create database link lk65 connect to ... identified by ... using 'nc65';
    Database link created.
    SQL> select * from tt@lk65;
    USERNAME                          USER_ID CREATED
    SYS                                     0 25-APR-06
    SYSTEM                                  5 25-APR-06
    OUTLN                                  11 25-APR-06
    SQL> create view v_tt as select username, user_id, created from tt@lk65 order by 2;
    View created.
    SQL> select * from v_tt;
    USERNAME                          USER_ID CREATED
    SYS                                     0 25-APR-06
    SYSTEM                                  5 25-APR-06
    OUTLN                                  11 25-APR-06
    SQL> create sequence seq_pk_tt_user_id
      2  minvalue 1000 maxvalue 99999
      3  increment by 1;
    Sequence created.
    SQL> CREATE OR REPLACE PROCEDURE prc_insert_tt(old_tt v_tt%ROWTYPE, new_tt v_tt%ROWTYPE) IS
      2  new_tt_user_id NUMBER;
      3  BEGIN
      4  SELECT seq_pk_tt_user_id.NEXTVAL INTO new_tt_user_id FROM dual;
      5  INSERT INTO tt
      6  (username, user_id, created)
      7  VALUES
      8  (new_tt.username, new_tt_user_id, new_tt.created);
      9  END prc_insert_tt;
    10  /
    Warning: Procedure created with compilation errors.
    SQL> show error
    Errors for PROCEDURE PRC_INSERT_TT:
    LINE/COL ERROR
    5/1      PL/SQL: SQL Statement ignored
    5/13     PL/SQL: ORA-00942: table or view does not exist
    SQL> edit
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE prc_insert_tt(old_tt v_tt%ROWTYPE, new_tt v_tt%ROWTYPE) IS
      2  new_tt_user_id NUMBER;
      3  BEGIN
      4  SELECT seq_pk_tt_user_id.NEXTVAL INTO new_tt_user_id FROM dual;
      5  INSERT INTO tt@lk65
      6  (username, user_id, created)
      7  VALUES
      8  (new_tt.username, new_tt_user_id, new_tt.created);
      9* END prc_insert_tt;
    SQL> /
    Procedure created.Rgds.

  • WM_SETFONT On ListView Works, But GetTextMetrics And GetTextExtentPoint32 Are Wrong.

    Hi again folks:
       The user can use a dialog to set the font typeface, size and type (bold or italic) for a ListView in a dialog. 
       This works great by setting the user's choices in a LOGFONT and deriving a font handle, then sending the font handle to the ListView with a WM_SETFONT message. 
       The text of the header labels and the list are the selected font, size and type. 
       The problem is that I need to adjust the width of the columns.   The size returned from a call to GetTextExtentPoint32() or the average char width returned by a call to GetTextMetrics() appear to be the default sizes, and are unchanged
    by the choices the user makes. 
       So the columns can be too small for the larger fonts in the ListView. 
       After setting the ListView fonts, I've tried the HDC from the ListView and the ListView's header.  GetTextExtentPoint32() and GetTextMetrics() are the same for either HDC, and seem to be unchanged by any choice made by the user. 
       So I can't adjust the column width for the new font. 
       What am I doing wrong?
          Thanks
          Larry

    Thanks Dave:
       I'm guessing this is a common mistake. 
       I was under the impression that a device context created for a window, or control, would have the font used by that window. 
       After posting, I tried this simple experiment;
        SendMessage(listview_handle, WM_SETFONT, (WPARAM)control_font,
    TRUE);
        listview_hdc = GetDC(listview_handle);
        SelectObject(listview_hdc, control_font);
        GetTextMetrics(listview_hdc, &tm);
        ReleaseDC(listview_handle, listview_hdc);
    #ifdef _DEBUG
        HDC listview_dc2 = GetDC(listview_handle);    HFONT test_font = HFONT(SendMessage(listview_handle, WM_GETFONT,
    0, 0));    HFONT old_font = HFONT(SelectObject(listview_dc2, test_font));
        DeleteObject(old_font);
        TEXTMETRIC test_tm2;
        GetTextMetrics (listview_dc2, &test_tm2) ;
    #endif
       The GetTextMetrics() call in the ifdef clause delivered the wrong values until I added the WM_GETFONT and the SelectObject. 
       So I'm guessing I need to add those lines to any code that needs to know the dimensions of the font. 
       Is there some reason the device context doesn't know the font of the window used to create it? 
       I believe I can safely DeleteObject() on anything returned by SelectObject(), without damaging stock objects.  Is this correct? 
       Does Direct2D sidestep these issues, or will I still be contending with these GDI "features" if I move the the new interface? 
       I appreciate the time you have taken to assist me.
          Thanks
          Larry

  • Manual Sync is working, but automatic and login & logout not working.

    I'm having a problem in that I can do a manual sync with the "Sync Home Now".
    However, whenever trying to have an automatic sync happen on it's own or the syncing to happen at login and logout. Syncing doesn't work.
    After turning on more version loggin from MirrorAgent I think I've narrowed down the problem.
    At login I see this:
    MHD: =============================================================================== =====================
    MHD: **** MirrorAgent-99.9.3 (8L2127) (pid 512) starting Sun Oct 22 13:54:51 2006
    MHD: Log verbosity level = 2.
    MHD: UID = 1027, EUID = 1027
    MHD: Empty thread
    MHD: Command thread starting.
    MHD: unpackhome: home->xmlSpec = "afp://192.168.102.3/Users"
    MHD: unpackhome: home->mhdPath = "ramos-m"
    However, "afp://192.168.102.3" is not where my home directory resides.
    Also at automatic time a similar message:
    Sun Oct 22 14:01:04.180 2006 * Syncing "HomeSync_Mirror"
    Trying to mount remote home server "afp://192.168.102.3/Users"
    Again wrong IP address. I've double and triple check the OD server and it's serving the correct info:
    HomeDirectory: <homedir><url>afp://172.16.1.101/Users</url><path>ramos-m</path></homedir>
    NFSHomeDirectory: /Network/Servers/BigMac.local/Users/ramos-m
    I've rebooted the client so many time I've lost count. I also continously get the message at login time "Your network home has changed since your last synchronization. Please select the location of your latest files."
    I've tried selecting both Network Home as well as Local Home many times yet I still have that old stuck IP address. How do I get the client to get unstuck with the old IP address and get the new one?

    I've found more info. I think I've found the file that has that string in it. There's a file called:
    /Users/ramos-m/Library/Mirrors/0016cb8b9896/mirrors.plist
    Which seems to have the string:
    <key>home_xmlSpec</key>
    <string>afp://192.168.102.3/Users</string>
    Which is the incorrect home. Why is this here and how do I fix it? Do I just put the right one in there? Somehow that feels wrong in that it's only a band-aid. Why isn't this file getting updated? What is it?
    Thanks,
    Rich

  • Iron Browser: login works but resets and fails...

    I wonder if anyone else is having this issue in Iron browser.  I log into the wiki/forum/etc and the redirect takes me back to the page I was at without logging me in... the redirect page says login successful, but when the page finishes loading, the login option is still at the top and options like replying to posts or adding an AUR package are not there because the page basically didn't register that you logged in.
    Looking back over this, my words do seem slightly confusing, but basically put, Iron won't let me log in... and I'm not sure what's up.  If at least one other person could recreate the issue, I wouldn't feel so bad.  So far it does this on my laptop and Desktop... both of which are running Arch64.

    Also, the spin up/spin down frequency seems to have increased dramatically recently. This concerns me, as high spin up cycles can cause them to have a shortened life span. It used to only spin up when Time Machine was going to do a backup. But now it is spinning up on the order of once every five to ten minutes, then spinning down after about two minutes on.

Maybe you are looking for

  • 100% cpu usage due to nio selector.open

    Hello guys, I am developing a multiplayer game using nio.In the begging i read all document related to nio.I have never heared about this api uses 100% cpu at server side as well as client side. When i start my server which is non blocking the cpu us

  • After a network interrupti​on, my photosmart 7510 prints pages with a "d" on them.

    After a network interruption, my Photosmart 7510 prints pages with a "d" on them. I have Windows 7. There is no error message on my computer. When I check "See What's Printing," nothing is shown.

  • Configuration of Event Sender

    Hi All, I have a problem with Event Sender setup. In step 3/5 I type IP of B1i server, login and password, and when choose Test Connection I get message that Connect to B1iSN server faild. Any idea what can be wrong? I setup Event Sender on the B1iSN

  • IPad Calendar editing defaults to Cupertino time zone

    When I go to edit a calendar entry on my iPad of an event that I created previously in Outlook on my work PC, the time zone becomes Cupertino, CA during the calendar event editing process.  I live in the Chicago (Central) time zone so the calendar ev

  • Hyperion Essbase on VMware Help

    Hi there....I would be very thankful to you for your precious suggestions..........I am using "windows xp pro" operating system on my laptop. (The lenovo laptop-Core 2 Duo 1.5Gh processor speed and 2.5Gb of RAM). I am going to use MS SQL SERVER 2005