Probleme caractere Echap dans un string

Je n'arrive pas à envoyer ce message sur le forum de la comm. française...
Bonjour à tous,
Je rencontre (encore) un problème et j'aurais besoin d'un peu d'aide svp.
J'utilise un compteur Heidenhain ND287 et n'ayant pas trouvé de driver pour l'utiliser, j'ai du créer mes propres fonctions. Celle permettant de demander la valeur mesurée pose soucis...
Communication USB.
J'envoi correctement la commande et réceptionne bien la réponse. Cependant, cette dernière comporte des "caractères" Echapp (visible comme un carré depuis un indicateur string) que je n'arrive pas à gérer. En effet, il peut y en avoir 2 ou 3 avant la valeur numérique et je dois isoler cette dernière correctement pour pouvoir être lue (sinon je lis 0).
J'ai essayé diverses méthodes mais sans succès...  
Quelqu'un aurait-il une idée?
Solved!
Go to Solution.
Attachments:
Untitled 1.vi ‏22 KB

Bonjour,
Merci pour le screenshot. Êtes vous sûr que le carractere renvoyé est bien "echap" avec le code 1B? Peut être regardez le code hexadecimal du string renvoyé et vévifiez que le premier caractère a bien le code 1B
Pour ce faire, utilisez la fonction "string to byte array" de la palette Functions:: Programming::Numeric::Conversion ainsi que la fonction "number to hexadecimal string" de la palette Functions:: Programming:tring:tring/Number Conversion
Si effectivement le "caractère mystère n'a pas pour code hexadecimal 0x1B, il est normal qu'il ne soit pas filtré.
Cordialement
Florian Abry
Application Engineer Group Leader
NI Germany

Similar Messages

  • Messy code problem while translating XString to String in OfficeControl

    Hi Expert,
        I have messy code problem while translating XString to String in XML-Format Word Doc in OfficeControl.
    I upload an XML-Format template Word Doc to server as a MIME Object.
    When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
    For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
    then translate it to string, I got the XML-format content, it's great!
    However, after the first time, when I input any new contents in MS Word in Web Dynpro,
    no matter I execute "Ctrl + S" or click the "savedocument" button,
    when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
    I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
    SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
    My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
    core source code is as:
    clear itab.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    BUFFER = lv_datas
    IMPORTING
    OUTPUT_LENGTH = lv_length
    TABLES
    binary_tab = itab.
    CALL FUNCTION 'SCMS_BINARY_TO_STRING'
    EXPORTING
    input_length = lv_length
    mimetype = 'text/plain; charset=utf-8'
    IMPORTING
    text_buffer = lv_datas_string
    output_length = lv_data_len
    TABLES
    binary_tab = itab.
    Can you give me some advice?
    Many thanks in advance.
    Best Regards,

    You have already posted this same question several times (and some very similiar questions) within the forum.  Please do NOT multiple post your questions. This is against the forum rules of engagement. SAP employee or not, you will find yourself banned from the forums if you don't follow the rules.

  • Problem in setting vector or string[] as the "value object" in hashmap

    Hey I am new to this forum.
    I am doing a project in which i need to store a array of strings as "value object" for a unique key in hashmap.
    as I populate the hashmap from external file according to key and setting the string[]. The hashmap is taking the value field same for each entry i.e the last field as i keep updating the same variable and then putting it into hashmap.
    Please give solution to my problem???
    if question not clear,please tell me- i will add more information
    Edited by: AnkitNahar on Apr 4, 2009 8:06 AM

    I tried using the method suggested by you...but it is of same case as using the string[].
    I need to loop the statements in which the hashmap is populating so cant change the variable names in the dd.put() statements. When the below code executes it shows the same set of string for both the keys, that was the problem i was facing with string[].
    here is the example with two entries....same thing in looping.
    HashMap<String,Set<String>> dd=new HashMap<String,Set<String>>();
    String word = "Hello";
    Set<String> alternativeWords = new HashSet<String>();
    alternativeWords.add("Hi");
    alternativeWords.add("Yo");
    dd.put(word, alternativeWords);
    alternativeWords.clear();
    alternativeWords.add("hey");
    word="yep";
    dd.put(word,alternativeWords);
    System.out.println(dd.get("Hello").toString());
    System.out.println(dd.get("yep").toString());

  • Problem in producing some xml strings

    Dear all,
    I got a problem in producing some xml string. I use the DocumentBuilderFactory and DocumentBuilder to build a xml document. Instead of saving to a file, I need to make it into a string then return it to the caller. I have tried to use the Transformer but the string returned contains the <?xml version=..../> line which I don't want it. What can I do?

    What you want to do is associate a stylesheet with the transformer instance you are using to place the DOM into string. The stylesheet with the appropriate instructions are get rid of the <?xml version=..>. You want to produce a stylesheet which has:
    <xsl:output omit-xml-declaration="yes"/>
    <xsl:template match="/">
    <xsl:copy-of select="node()"/>
    </xsl:template>
    <xsl:output> controls the serialisation of the xml document to the output source which in this case is a string. The <xsl:template> is required. It will copy the entire xml document to the output source. Without it the default templates are used, and the xml markup will not be included in the output source.
    Hope this helps.

  • StringReader problem in CLDC to parse String XML

    hello..
    i'm newbie in java mobile...
    i have problem to parse my XML string to my web service..
    i had develop client mobile to access my web service with KSOAP2, and in the first time, i devlop in CDC not CLDC, so there is no problem when i use some of java.io, i use java.io.StringReader to parse my string XML...
    the code i use in CDC when using java.io.StringReader is like this :
    XmlPullParser parser = new KXmlParser();
    String a = "<n1:ClientHeader xmlns:n1=\"http://www.myweb.web.id\">" +
                            "<n1:ClientUser>" + client.user + "</n1:ClientUser>" +
                            "<n1:ClientIP>" + client.ip + "</n1:ClientIP>" +
                    "</n1:ClientHeader >";     
    parser.setInput(new StringReader(a));
    Document doc = new Document();
    doc.parse(parser);
    Element headSoap = new Element();        
    headSoap = doc.getRootElement();      then, i use this code in CLDC, the error was found, becouse java.io.StringReader in CLDC not found.
    so, my question is ...
    any solution to solve my problem when i have string which the value is in XML, like in my code before, and i want to parse it to kxml2.kdom.Element, how..?
    please help me...

    hello..
    i'm newbie in java mobile...
    i have problem to parse my XML string to my web service..
    i had develop client mobile to access my web service with KSOAP2, and in the first time, i devlop in CDC not CLDC, so there is no problem when i use some of java.io, i use java.io.StringReader to parse my string XML...
    the code i use in CDC when using java.io.StringReader is like this :
    XmlPullParser parser = new KXmlParser();
    String a = "<n1:ClientHeader xmlns:n1=\"http://www.myweb.web.id\">" +
                            "<n1:ClientUser>" + client.user + "</n1:ClientUser>" +
                            "<n1:ClientIP>" + client.ip + "</n1:ClientIP>" +
                    "</n1:ClientHeader >";     
    parser.setInput(new StringReader(a));
    Document doc = new Document();
    doc.parse(parser);
    Element headSoap = new Element();        
    headSoap = doc.getRootElement();      then, i use this code in CLDC, the error was found, becouse java.io.StringReader in CLDC not found.
    so, my question is ...
    any solution to solve my problem when i have string which the value is in XML, like in my code before, and i want to parse it to kxml2.kdom.Element, how..?
    please help me...

  • Problem with Column types and String

    Hi
    I have some problem while comparing against empty string.
    My column is of type it_Linked_Button. Actually it seems that column type doesn't matter.
    If cell that belongs to this column is empty and based on other columns' values I put some value into this cell.
    It works fine.
    But when I clear that cell and try to put some value again nothing happens.
    In my if statement I'm checking against empty string and it fails second time.
    Before I put anything in that cell (in debugger) that value is "" so it is empty and it works.
    (OK, I see that after I posted this message it was slightly reformated)
    But after I put something and clear that cell and try to put something again (in debugger) I get "(here is some long space) " which fails String.IsNullOrEmpty(var) test.
    What is going on? Has it something to do with Column type?
    How to clear it so I can put something in it again?
    One more thing - to put values and clear it I use DbDataSource SetValue method. And String.Empty or ""(doesn't matter)
    Thanks
    Kamil
    NOTE
    I made some workaround that gives me the behaviour I want but still I would like to know what is going on?
    Edited by: Kamil Wydrzycki on Sep 24, 2009 12:57 PM

    DrLaszloJamf wrote:
    warnerja wrote:
    DrLaszloJamf wrote:
    1. Could you define an Enum? Then you could switch on enum values.
    2. Wait for Java 7 which is supposed to extend switch to strings?3. Put the target strings in a collection, write a loop to find the match in the collection and use the matching index in the switch statement. At least that will get rid of the hashcode kludge, where it won't mistakenly 'match' a string which isn't the actual target.3b: Map<String, Command>Yep.
    I also wanted to point this out to the OP:
    For example, let's say the 7 character string "BugABoo" happens to have the same hashcode as "EDI_DOC". And let's say your input just happens to have the string "BugABoo" in it, where you're extracting the 7 character substring. See the problem? You're getting "BugABoo" but treating it as if it really were "EDI_DOC", by virtue of comparing hashcodes instead of actual strings.
    OOPS!

  • How to fix a problem with the order of strings in a JSON response for a CFHTTP request?

    Good morning, guys! (It's 10:50 a.m. in Brazil)
    First of all, I'm still new at CF and my questions may seem too much silly and my English's not the best, so, please be patient with me. hehe
    Well, I'm accessing a link via CFHTTP that gives me a JSON response. I'm not familiar with JSON yet, so I'm working it as a string and using string functions (Find,RemoveChars,Replace,etc), but it happens to me that I'm receiving a certain kind of order of the strings list from the JSON when I access it directly from the browser and other kind of order totally different when I access it from the CFHTTP.
    I only figured it out because I was working at home with my code and there everything went just fine as expected. Then I brought to my job to develop a little bit more as soon as I get a free time and here my code doesn't work anymore. When I took a look at the JSON by a CFOUTPUT, I realized the strings were in a different order.
    Does anyone know why is it happening?
    Link to the JSON: http://sigmine.dnpm.gov.br/ArcGIS/rest/services/extra/dados_dnpm/MapServer/0/query?text=83 0620/2012&geometry=&geometryType=esriGeometryEnvelope&inSR=&spatialRel=esriSpatialRelInter sects&where=&returnGeometry=true&outSR=&outFields=FID,Shape,PROCESSO,ID,NUMERO,ANO,AREA_HA ,FASE,ULT_EVENTO,NOME,SUBS,USO,UF&f=pjson
    Basic code simplified to find out that the order of strings were coming different when access by CFHTTP:
    <cfhttp url="#URLAbove#" method="get" result="DadosDoDNPM" charset="utf-8" timeout="10000" />
    <cfset DadosJSON = deserializeJSON(DadosDoDNPM.FileContent) />
    <cfif arrayLen(DadosJSON.features)>
        <cfset CodigoFonteJSON = ToString(serialize(DadosJSON.features)) />   
        <cfoutput> #CodigoFonteJSON# </cfoutput>
    </cfif>
    Is there a way to fix it and to make my code work everywhere?
    If it matters, I use Railo at home and at my job.
    Since now, I thank you.

    When you deserialize JSON data, ColdFusion converts it into native structures and arrays (roughly equivalent to JavaScript objects and arrays).  In ColdFusion, structures are unordered (that is, they don't maintain keys in any particular ordered sequence).
    This really shouldn't be a problem though, at least not if you just want to work with the data contained in the deserialized JSON structure.  So DadosJSON should be a native ColdFusion structure, and you can interact with it like any other structure in ColdFusion.  In fact, you should not have to re-serialize it at all unless you need to send it to an external application using JSON.
    Why are you reserializing the data?  And why use serialize() instead of serializeJSON()?
    -Carl V.

  • Problem with code: reading a string

    Hi,
    I am very new to java so excuse my naivety. i need to write some code which will decode an encrypted message. the message is stored as a string which is a series of integers which. Eg. Nick in this code is 1409030110 where a = 1, b = 2,... and there is a 0 (zero) after every word. at the moment the code only goes as far as seperating the individual characters in the message up and printing them out onscreen.
    Heres the code:
    int index = 0;
    while(index < line.length() - 1) {
    char first = line.charAt(index);
    char second = line.charAt(index + 1);
    if(second == 0) {
    char third = line.charAt(index + 2);
    if(third == 0) {
    System.out.print(first + "" + second);
    index = index + 3;
    else {
    System.out.print(first);
    index = index + 2;
    else {
    System.out.print(first + "" + second);
    index = index + 3;
    Basically its meant to undo the code by reading the first two characters in the string then determining whether the second is equal to 0 (zero). if the second is 0 then it needs to decide whether the third character is 0 (zero) because the code could be displaying 10 or 20. if so the first two characters are recorded to another string and if not only the first is recorded. obviously if the second character is not a zero then the code will automatically record the first 2 characters.
    my problem is that the code doesnt seem to recognise the 0 (zero) values. when i run it thru with the string being the coded version of Nick above (1409030110) the outputted answer is 1490010 when it should be 149311. as far as i can see the code is right but its not working! basically the zeros are begin removed but i need each group of non-zero digits to be removed seperately so i can decode them.
    if anyone has understood any of this could you give me some advice, im at my wits end!
    Thanks, Nick

    Try something like this:
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class SimpleDecoder
        /** Default mapping file */
        public static final String DEFAULT_MAPPING_FILE = "SimpleDecoder.properties";
        /** Regular expression pattern to match one or more zeroes */
        public static final String SEPARATOR = "0+";
        private Properties decodeMapping = new Properties();
        public static void main(String [] args)
            try
                SimpleDecoder decoder = new SimpleDecoder();
                decoder.setDecodeMapping(new FileInputStream(DEFAULT_MAPPING_FILE));
                for (int i = 0; i < args.length; ++i)
                    System.out.println("Original encoded string: " + args);
    System.out.println("Decoded string : " + decoder.decode(args[i]));
    catch (Exception e)
    e.printStackTrace();
    public void setDecodeMapping(InputStream stream) throws IOException
    this.decodeMapping.load(stream);
    public String decode(final String encodedString)
    StringBuffer value = new StringBuffer();
    String [] tokens = encodedString.split(SEPARATOR);
    for (int i = 0; i < tokens.length; ++i)
    value.append(this.decodeMapping.getProperty(tokens[i]));
    return value.toString();
    I gave your "1409030110" string on the command line and got back "nick". The SimpleDecoder.properties file had 26 lines in it:
    1 = a
    2 = b
    3 = c
    // etc;Not a very tricky encryption scheme, but it's what you asked for. - MOD

  • Problem in comparision of two strings.please help..

    I am retriving a string password from database and another string from html(user entered one).when i am printing those two strings its printing same strings.But whenever i am comparing strings and printing its not showing equal it is printing as false.what might be the reason.please help me regarding this.Thank you in advance.My cosing is as follows:
    while(rs.next())
    pwd=rs.getString("password");
    System.out.println("pmfg is..."+pwd);
    System.out.println("first string..."+pwd);
    System.out.println("second string..."+loginpwd);
    if(pwd.equals(loginpwd))
    System.out.println("true.....");
    else
    System.out.println("false....");

    once you got two string objects ......forget for where they are comming (database or html0 ....focus on those objects ....do the following
    1) use trim() function on both strings which removes the whitespaces from front and end
    2) use equalsIgnoreCase
    if the problem still persists ....then forget your code and sue the SUN people

  • Problem in transforming XML to string using XSLT

    Hi there,
    I have a R/3 -> XI -> WebService scenario where the message from XI to webservice needs to be sent in document/wrapped mode (the message xml must be embedded in a string element) and this message needs to be digitally signed.
    We are using another webservice to sign the messages, also with the message being sent in a string. To transform the XML's into string and vice-versa, we are using XSLT (/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping).
    The problem is that both the signer and the final webservice understand the special characters (like '<', '>', '&', '"' etc) in one way but the XSLT generates them in another way. For example, the character '<', in both webservices, is returned as "&#60;" but the XSL Transformation results in "&lt;".
    The problem now is that our messages are always being rejected because the signature is not being recognized as true, though we are almost 100% sure that it's being done correctly. The only possibility to the error that we found is this character mapping being done differently.
    So, it's like this:
    XI sends string to signer as "&lt;"
    XI receives string from signer as "&#60;"
    XI processes the message
    XI sends string to webservice as "&lt;"
    XI receives string from webservice (containing error message) as "&#60;"
    Is there a way of making the XSLT to return "&#60;" instead of "&lt;"?
    Thanks in advace,
    Henrique.

    For Java Mapping, you can refer this-
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    In Java Mapping, in the startdocument event , you need to check for the specialchars, and just repalce the value required.
    But, what i am thinking is , just try with Java functions inside the XSLT mapping instead of going for Java Mapping. You can call java functions from the XSLT. So before the document starts pasring, you need to replace the special characters. I did not try in XSLT like this.
    For this , you can think with this e.g
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    Regards,
    Moorthy

  • Problem in Casting the encoded string to XML

    Hi all,
    From dotnet code i have encoded the XML as string and passed this value as XML attribute value in below.
    Am not sure if we can have XML as attribute value inside another XML.hence i did with below approach.
    Now i have special character '<' in that please refer yellow highlighted.this was having problem in casting to XML.
    Kindly assist me.
    Thanks in advance. 
    DECLARE @XML
    XML                       
    SET @XML
    = '<Utility><Actions><Action Category="ExecuteSp" SettingName="GetDMS" ComponentId="19">
    <Parameters Param="SourceXML" Value="&amp;lt;NewDataSet&amp;gt;&amp;lt;Table1&amp;gt;&amp;lt;DocumentName&amp;gt;US OB
    &amp;amp;lt; 14 Weeks /Transvaginal&amp;lt;/DocumentName&amp;gt;&amp;lt;/Table1&amp;gt;&amp;lt;/NewDataSet&amp;gt;" /></Action></Actions></Utility>'            
    Declare @SourceDMSXML
    as varchar(max)                          
    SELECT 
    @SourceDMSXML = @XML.value('(/Utility/Actions/Action/Parameters[@Param = "SourceXML"]/@Value)[1]','varchar(max)')               
    SET @SourceDMSXML
    = Replace(@SourceDMSXML
    , '&amp;lt;',
    '<');                   
    SET @SourceDMSXML
    = Replace(@SourceDMSXML
    , '&amp;gt;',
    '>');      
    SET @SourceDMSXML
    = Replace(@SourceDMSXML
    , '&lt;',
    '<');                   
    SET @SourceDMSXML
    = Replace(@SourceDMSXML
    , '&gt;',
    '>'); 
    DECLARE @SourceXML
    XML                          
    SET @SourceXML
    = CAST(@SourceDMSXML
    AS XML)    
    select  
    @SourceXML  

    How are you generating this value? You need to use TYPE directive for avoiding this
    see similar example here
    http://visakhm.blogspot.in/2014/01/rowset-concatenation-with-special.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Correlation Problem in OpenScript with solveGroupJavaScript(String path).

    I am having problems with the correlation of solveGroupJavaScript(String path). My script is throwing the following error.
    Failed to solve JavaScript variable web.jscript.httpseformssitch...
    Does anyone know how to switch of this particular type of correlation or how I can change my script to ignore it?
    I have tried commenting out the line, this failed as I expected it would.
    With out going into too much detail my script is a record of a manager accessing an Oracle form which allows them view only of claims made by their staff.
    The scenario is
    Page 1 of script
    Access Form
    Click on view claims bar with hidden button
    Page 2
    A table drops down of claims
    A claim is selected to view
    Page 3
    Claim is shown
    Page 4
    Return to start
    Close form
    The error occurs when returning to the view claim page before closing form. I believe the problem is that the script does not find the button to view claims. On this second visit the form has reverted back to it original state with drop down table has gone. Whether it’s that that confusing the script I don’t know.
    This is the line from the script
    http.solveGroupJavaScript(http.javaScriptPath(
                                  "web.jscript.httpseformssitchris_21", 1, 3, 2, 0));
    And this is the post line
    http
                                                                     .param("source",
                                                                               "{{web.jscript.httpseformssitchris_21,form1:commandButton1}}"),
    The hidden button to view claims is called commandButton1. I refer to it as a hidden as it is hidden in a bar that runs across the form.
    Any help would be appreciated.
    Edited by: user9020510 on 09-Jul-2010 06:10

    I have found out how to edit my script
    comment out the first line and the post line should be
    .param("source","form1:commandButton1")),
         /*"{{web.jscript.httpseformssitchris_21,form1:commandButton1}}")),*/
    I do not fuuly understand this but it worked.
    I hope this may help others
    Edited by: user9020510 on 12-Jul-2010 04:53

  • Problem with SAX parser with String format

    hi, all I have the next problem:
    I try to parse xml file with success, I write next code:
    ====================
    my_class saxUms = new my_class();
    File file = new File( "c:\\my_try_Response.xml" );
    InputSource src1 = new InputSource( new FileInputStream( file ) );
    XMLReader rdr = XMLReaderFactory.createXMLReader( "org.apache.xerces.parsers.SAXParser" );          rdr.setContentHandler( saxUms );
    rdr.parse(src1);
    ===================
    but when I try to parse the same in string variable, I write:
    ===================
    my_class saxUms = new my_class();
    StringReader strr = new StringReader(my_str);
    InputSource intt = new InputSource(strr);
    XMLReader prs= XMLReaderFactory.createXMLReader( "org.apache.xerces.parsers.SAXParser" );
    prs.setContentHandler(saxUms);
    prs.parse(intt);
    ===================
    and error occurs:
              "Exception: java.lang.ClassCastException: java.lang.StringBuffer"
    how to fix the problem?
    Thank you for collaboration!

    where does the exception stack trace say the error is occurring?

  • Problem when inserting "Thai language" string to MS Access with JSP

    Dear sir,
    I have the problem when try to insert "Thai langusge" string to MS access database through JDBC in JSP page.
    The JSP page is shown in the following.
    <HTML><HEAD><TITLE>Personalt Information</TITLE>
    <%@ page contentType="text/html; charset=MS874" %>
    <%@ page import = "java.io.*" %>
    <%@     page import = "java.lang.*"%>
    <%@     page import = "java.sql.*"%>
    <%
              Connection dbconn,conn;
              ResultSet results;
              String sql;
              Statement stmt;
              // Creating a conection with a database
              String url = "jdbc:odbc:bg3hrDB"; // the database file.
              //Statement stmt;
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   dbconn = DriverManager.getConnection(url);
                   stmt = dbconn.createStatement();
                   ResultSet rs;
    %>               
    %>
    <%
              String code=new String(request.getParameter("code").getBytes("ISO8859_1"),"MS874");
              String status=new String(request.getParameter("status").getBytes("ISO8859_1"),"MS874");
                   String fname=new String(request.getParameter("fname").getBytes("ISO8859_1"),"MS874");
                   sql = "INSERT INTO employee VALUES (' "+ code +" ',' "+ status +" ',' "+ fname +" ')";
    stmt.executeUpdate(sql);
    %>
    <%=fname%> //In this line, "fname" can show "Thai" correctly
    But after inserted to database, the record in Access was always show "?????" instead of "Thai"......
    How can i solve this?
    Thank you for your kindness in advances.
    Yongyos K.

    It's a pain in the butt, but you'll have to write your own character set conversion to handle the problem. Check out the link shown below (just replace BIG5 in the example with MS874):
    http://www.geocities.com/siufai6/java/JDBC_Chinese.html
    ;o)
    V.V.

  • UNIX Problem with method Runtime exec(String[],String[],File)

    Hello !!
    i'm french
    scuse my english
    I got a probleme with method exec(String[],String[],File) of Runtime Class
    i don't have any probleme when my program runs on Windows NT but the same program on UNIX doesnt execute my command..
    When i use exec(String[]) methode i dont have this problem ...but i need the second one methode because i have to execute my command in a different directory than the JAVA program.
    I need that results of this command are placed in this drectory so that i can't use an exex() like that :
    exemple with a perl :
    "perl /toto/titi/hello.pl"
    I want to execute this :
    "perl hello.pl" (and hello.pl is placed in /toto/titi)
    Conclusion :
    the exec(String[],String[],File) solution is ok with NT ...
    but with UNIX ????
    Is there other solution ??
    Should i do a "cd" command before my execution ? how can i do this ??
    Thanks !!!!

    Could you post your source code (only relevant part)
    Raghu

Maybe you are looking for

  • Lag playing and exporting video

    Hi, I have Premiere Pro CS4;my problem is that I make a short video (15 sec.; 640x480; MPEG-4) to learn how to use the application. Original video: http://www.youtube.com/watch?v=GlKFE9ntq1U My idea was to make a new video, erasing 3 sec. from the or

  • ABAP Application Error in Proxy scenario

    Hi All, I have a Proxy to Proxy scenario. I can see that few message are successful, whereas few are failing in ECC side. The messages are not stuck in Queue. It is giving a "ABAP" _APPLICATION ERROR. Has anyone faced this error before? Regards, Lava

  • Some PDF files and other emails do not display the whole page. Is there a way to change that?

    Some PDF files and other emails do not display the whole page. Is there a way to change that?

  • Using JButtons in a JTable

    I'm trying to find some information about how to use a JButton within a cell of a JTable. I'm able to insert the button using a custom cell renderer. Basically I create my own renderer which is triggered for JButton.class. That works well. Of course

  • Keychain/Mai/Login Issues?

    I have 'cross-posted' also under Mail, as I have no idea what the issue might be; I recently had to do an archive/install due to QT 7.1.6 totally hosing my machine. Mail does not want to work online now - or remember entered passwords. I also have tr