Simple problem writing ' # n/a "in a txt file.

Hello

I would like to write the string: # n/a, in a text file so that when I open the text file whith Excel, these points do not appear on the ground. Whith the VI I joined, these points # n/a are considered to be 0 on the ground of excel. Whereas if I write directly in excel # n/a (without use of Labview), it works fine. I only noticed that through my program "# n/a ' apperas on the left of the cell in excel, so that when entered directly that it is centered. I guess I use the wrong format or something like that, but I can't find the solution.

Anyhelp would be great,

XP & 8.5

Kind regards

Marc

I would use the Select function and a function of Format string in singles.

Tags: NI Software

Similar Questions

  • Remove the string from txt file

    I have a .txt file (see table) I use the spreadsheet for the array function to retrieve the data I need. I am trying to extract over time of Inspection and the number doubles alongside that separately, but I have a problem with the delimiter. The .txt file will still not of this size, but the 1st and the last line will be the same


  • Can BlackBerry 10 I create new simple text (TXT) file on 10 BB?

    Hello - I am using simple *. TXT files in the DropBox folder to create notes and sync with the computer in Linux (via DropBox).

    I can't find any method to create a new file to plain text (on sd card, dropbox,... file system folder). I can create document in the Docs To Go, but the document is saved as.doc (document ms).

    Edit and resave existing plain text (*.txt) files are pretty simple 'Docs To Go"(no problem).

    A tip?

    I don't see a way to do it. But I searched the text editor in BlackBerry World and got a lot of possibilities. Some look pretty good.

  • Satellite P10-304: the problem writing and erasing CD - RW discs

    Some need help pls. I own a Toshiba satellite P10-304 with a combo player SD-R2412 installed. When I try to burn a new CD - RW, it does ok, but wouldn't allow no other written on the same CD in another session. The written CD - RW is then recognized as a CD-ROM. In addition, it is not possible to erase the cd - rw usinig this player. When I take the cd written for my laptop office of deletion, as it's done with success and my toshiba can then burn again. Any ideas on what to do?

    Additional information: laptop computer came bundled with "drag n dro cd" but I had to install Roxio and even tried the cd writing software provided with windows XP are done everything to nothing. I checked the 'advanced system info-error log' and the report there is 'the device, \Device\CdRom0, has a bad block'; I don't know what that means.

    Cheers.

    Nthunderbolt

    Hello

    In my opinion, it's probably caused by software. In my opinion, you should remove all burning software and verify all burning functions with windows option. After deleting some software, it can happen that, in the registry editor it is a lot of waste that will not be removed completely.

    In any case, delete all the burning software, and you can also try to remove the device from Device Manager DVD. Restart the laptop and DVD should be detected and installed correctly. Try using the option of engraving of Windows and if there is still problem writing once again please.

  • Problem with registration of data in the txt file

    Hello

    I have 2009 Labview, Labview real-time 2009 and cRIO 3.3.0. I also NEITHER cRIO-9024 more cRIO-9112 chassis and modules.

    I would like to save the data measured modules in the txt files, but I want to do in a period of time to time desire. For example, I want to save data of measurements of 60 seconds and repeat every one hour. I of the project (in the file attachment vi) and normally it works fine but I noticed that the recording of the data is not correct. I mean it seams to save what was in the memory before. That's the problem with Windows XP I have check with another computer with Vista and it seems to be ok. It seems that on XP the buffer (refnum?)  is not clear and it retains the previous values.

    Can someone explain to me why it happened and how I can obey Windows XP? Or maybe there are techniques to clear the memory buffer/refnum for rescue?

    Thanks for any help.

    Kind regards

    Kamil


  • I run windows xp on HP Pavilion 750, in the past, I have not had a problem writing to the pictures from my computer to a disc

    I run windows xp on HP Pavilion 750, in the past, I have not had a problem writing to the photos from my computer on disc.

    It now written up so I get a message cannot keep any body can help please.

    original title: problem writing Photos...

    I'm sorry, but I don't have a solution for you.  You can check the Device Manager (start > run > devmgmt.msc > OK) to see if there are warnings next to your CD burner.  If there is a caution icon, double-click the entry and see what it says under "device status".

    I don't know how you use picture & Fax Viewer to burn a CD.  The usual method, except if you have 3rd party CD burning software, is to use Windows Explorer.  This is what Windows XP Help & Support has to say on this topic:

    To copy files and folders to a CD

    1. Insert a blank, writable CD into the CD burner.
    2. Open my computer.
    3. Click the files or folders to copy to the CD. To select multiple files, hold down the CTRL key while you click the files you want. Then, under file and folder tasks, click copy this file, copy this folder, or copy the selected items.

      If the files are located in my pictures, under management of images, click copy to CD or copy all items to a CDand go to step 5.

    4. In the dialog box copy items , click the CD player record, and then click copy.
    5. In my computer, double-click the CD burner. Windows displays a temporary area where the files are held before they are copied to the CD. Verify that the files and folders you want to copy to the CD appear under files ready to be written on the CD.
    6. Under CD writing tasks, click write these files to CD. Windows displays the Assistant burn a CD. Follow the instructions in the wizard.

    Notes

    • To open my computer, click Startand then click my computer.
    • Do not copy more files to the CD that it will hold. Standard CD hold up to 650 megabytes (MB). Large capacity CD contain up to 850 MB.
    • Don't forget that you have enough disk space on your hard disk to store the temporary files that are created during the CD writing process. For a standard CD, Windows reserves up to 700 MB of available disk space. For a high-capacity CD, Windows reserves up to 1 gigabyte (GB) of the available free space.
    • After you copy files or folders to the CD, it is useful to view the CD to verify that the files are copied.
  • simple problem

    Hey,.

    This should be a simple problem, but I still can't get it to work.

    I have a class. I have attached a bit of the code.

    SerializableAttribute public class HttpRequestDispatcher extends Thread
    {
    private String url;
    private string method
    private NetworkingMainScreen screen;
        
        
    public HttpRequestDispatcher()
    {
    This.URL = URL;
    This.Method = Method;
    This.screen = screen;
    }
    public void run()

    I'm trying to pass the value of the url to this class in the main class to help-

    Private Sub getURL()
    {
    HttpRequestDispatcher dispatcher = new HttpRequestDispatcher (urlField.getText (), "GET", this);
    Dispatcher.Start (); urlField.getText (), "GET", this
    }

    This gives an error and it takes the HttpRequestDispatcher class doesn't have the parameters of acceptany. But how to solve the problem

    Thank you very much

    public HttpRequestDispatcher (String url, String method, screen NetworkingMainScreen)
    {
    This.URL = URL;
    This.Method = Method;
    This.screen = screen;
    }

    Follow these steps, u did not use formal arguments in the constructor

  • I am looking for a SIMPLE way to add my robots.txt file

    I read up on this subject. But I wasn't able to do it again.

    I found this:

    1. re: file robots.txt for sites of the Muse

    Vinayak_GuptaEmployee Hosts

    You can follow the guidelines of Google to create a robots.txt file and place it in the root of your remote site.

    https://support.Google.com/webmasters/answer/156449?hl=en

    Thank you

    Vinayak

    ----------------

    Once you create a robots.txt like this:

    user-agent: ia_archive

    Disallow: /.

    (1) where do you put 'head labels? Do you need them?

    I would insert it in muse that looks like this

    < head >

    user-agent: ia_archive

    Disallow: /.

    < / head >

    or just put it anywhere inside the 'head' tag

    (2) put the robots.txt file in a folder?

    I've heard this, but it just doesn't seem right.

    (3) OK you have the

    -Properties Page

    -Metadata

    -HTML < head >

    Can I copy and paste my right robot.txt info in there? I don't think I can and make it work. According to the info I found (that I posted above), the robots.txt 'file' you 'place at the root of your remote site.

    (4) where is the 'root of my remote sit?

    How can I find that?

    I read other people having problems with this.

    I thank very you much for any help.

    Tim

    I need Terry White to make a video on it LOL

    Maybe I'll ask.

    I thought about it.

    However, with the help of Godaddy, the file was not placed between theand, so I'm still a little nervous.

    It is recommended to:

    ///////////////////////////////////

    1.  re: file robots.txt for sites of the Muse

      

       Vinayak_Gupta   , April 19, 2014 01:54 (in response to chuckstefen)

    You can follow the guidelines of Google to create a robots.txt file and place it in the root of your remote site.

    https://support.Google.com/webmasters/answer/156449?hl=en

    Thank you

    Vinayak

    /////////////////////////////////////

    Place the robots.txt file to the root "of your remote site.

    and that (Godaddy) is not between the

    I checked the robot file that I created here

    New syntax Robots.txt Checker: a validator for robots.txt files

    and other than me not to capitalize

    the 'u' in the user-agent, it seems to work. When my site is analyzed, she does not miss a robots.txt file

    user-agent: ia_archive

    Disallow: /.

    Problem solved, unless I find an easy way to place the robots.txt file placed between the head tags (and better).

    I'll keep my ears open, but don't worry too much on this subject.

    Step 1) write the code of robots that you want to

    Step 2) save the file as a txt

    Step 3) contact your Web hosting provider / upload in the root of the Web site in a single file

    Step 4) check with a robot's checker that I listed above

    What was shake me:

    -where to put

    -the difference between files and folders, it seemed I would be to load a file for some reason any.

    -I was expecting something like the list of the news LOL

  • Problem writing in cache file

    I get the error message "there was a problem writing to the cache file... beacause of an error of dick." The cache will now be replaced?

    What does that mean?

    I hit ok and it goes away. Fortunaely stay of my labels.

    "There was a problem writing to the cache file... beacause of an error of dick." The cache will now be replaced?

    I think the exact words for the points you leave is the path of your user account and end with "stamp"?

    If so this is caused by the preference you set for ' export automatically hides files when possible.

    And it's not nice to say, but I'm glad that you have this problem because I started to think I was the only one in the world who had seen this message

    If you go to the bridge preferences Cache section and uncheck this option, you will probably not see this message again. There is no cache files written in your records, but I saw no advantage in the fact of the bridge still needed a lot of time to read this cache file

  • Tri - very simple problem, but I can't get it

    Hi, I have a little problem with a sort column.
    I think it's for you, a very simple problem, but for the moment, I can't find the solution.

    My topic:
    SCHLUESSEL
    -----------------
    15
    16
    17
    1501
    1502
    150101
    150103
    150202
    15010100
    15010301
    15020215
    ...

    Correct order is:

    15
    1501
    150101
    15010100

    150103
    15010301

    1502
    150202
    15020215

    16
    17

    have you tried

    order by to_char(SCHLUESSEL)
    

    Ravi Kumar

  • PHP includes - Simple Txt file

    I've been playing with using PHP includes / need to fill the content of a page. It would be very useful for all the pages where the content changes often, or eternal sources since I could download the txt files with the same name in a folder and replace existing ones.

    In my tests of this problem is that the text gets spread in the content area a single huge block with no paragraph separations. The original txt file has several separate paragraphs, but it's not the output in design mode or the browser. I checked my CSS as well as for the main content area and are all that I put my padding and styles of police, margins.

    Does anyone know if there is anything else I should do to solve this problem by using CSS or PHP?

    Thank you.

    Try surrounding the call include with a div and give the div of this class.
    Without seeing the page, it is difficult to say, but I suspect the

    class is
    "cancellation" with the first

    tag in the include file.

    destind4film wrote:
    > ok, well the include file is just a txt. But the CSS I am
    > trying to apply is called in the tags p surrounding php
    > statement... If that makes sense...
    >
    > In any case... include does not apply CSS style that he
    > should. This is evident by looking at the page in design mode or in
    > the browser...
    >
    > what is clarify?

  • Problem with txt file

    In a txt file, we have the length set to 1200 with a sealant in the last spaces 525. The file is break the line at 1025 and enveloping the 775 final line below. Why and how to correct us?

    Turn off Word Wrap, then come back at the beginning of the second row (where 775 tanks start) and press BACKSPACE to bring it up to the same line.

  • Create a simple txt file of extendscript.

    Run.txt file not created in drive c.?

    var myFile = new File("/C/run.txt");

    var content = "ABCDEF";

    myFile.write (content);

    Maybe

    var myFile=new File("C:\\run.txt");
    

    ?

    Also, make sure that the preference of the AE "Allow scripts to write files and access network" is enabled.

  • Problems with downloading to a TXT file

    I have a procedure that when called creates a .txt file, which is used as a download to another application.
    If I run my procedure, the txt file is created, but when I look at the file, it contains the required records, but also information on the page.
    See below.

    My code is
    create or replace PROCEDURE mer_fuel_coupon_download_1 IS
      --
    
    CURSOR c_fuel_coupon IS
      
    SELECT A.VIN,
        A.FIRST_BFG,
        F.DRIVER_POSITION,
        A.BFG_NO,
        C.MAKES MAKE,
        D.MODEL,
        A.FRG_NO,
        E.COLOUR,
        A.MANUFACTURED_DATE MANUFACTURED,
        A.DEREG_ON,
        A.OTHER_VRN NON_BFG_REG_NO,
        B.VALID_FROM,
        B.VALID_UNTIL,
        'Not Held Anymore' UNREG_FROM,
        'Not Held Anymore' UNREG_TO,
        G.FUEL_TYPE,
        A.CC,
        A.FUEL_RATION,
        H.PERSONAL_NO,
        I.RANK,
        H.FIRST_NAME,
        H.SURNAME,
        'Not Held Anymore' HEAD_OF_FAMILY,
        J.UIN,
        TO_DATE(H.DATE_OF_BIRTH,'DD-MON-YY') DATE_OF_BIRTH,
        J.UNIT_NAME,
        K.BFPO,
       -- A.ITEM_ID
        ROWNUM
      FROM MER_IMPORTED_ITEMS A,
           MER_VEHICLE_OWNERSHIPS B, 
           MER_MAKES C, 
           MER_MODELS D,
           MER_COLOURS E,
           MER_DRIVER_POSITION F,
           MER_FUEL_TYPE G,
           MER_PERSONS H,
           MER_RANKS I,
           MER_UNITS J,
           MER_BFPO K
      WHERE H.PERSONAL_ID(+) = B.PERSONAL_ID 
      AND B.ITEM_ID(+) = A.ITEM_ID
      AND C.MAKE_ID(+) = A.MAKE_ID
      AND D.MODEL_ID(+) = A.MODEL_ID
      AND E.COLOUR_ID(+) = A.COLOUR_ID
      AND F.DRIVER_POSITION_ID(+) = A.DRIVER_POSITION_ID 
      AND G.FUEL_TYPE_ID(+) = A.FUEL_TYPE_ID
      AND I.RANK_ID(+) = H.RANK_ID
      AND J.UNIT_ID(+) = H.UNIT_ID
      AND K.BFPO_ID(+) = J.BFPO_ID
      AND A.BFG_NO IS NOT NULL
      AND (A.DEREG_ON IS NULL
      OR A.DEREG_ON    > (SYSDATE - 1826));
    
      --
      --
      line_of_data VARCHAR2(5000);
      --
      dir_prob         EXCEPTION;
      file_write_done  EXCEPTION;
        --
      record_ct        NUMBER(6) :=0;
      output_file      VARCHAR2(12) := 'FUEL.TXT';
      target_file      utl_file.File_Type;
      --
      success_ct       NUMBER(6) :=0;
      fail_ct          NUMBER(6) :=0;
    
    BEGIN
    -- Set MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set name fo file
    htp.p('Content-Disposition: attachment; filename="FUEL.TXT"');
    -- Close the HTTP header
    owa_util.http_header_close;
    --
      --
    BEGIN
    FOR r_fuel IN c_fuel_coupon
        LOOP
         BEGIN
    line_of_data := r_FUEL.VIN||','
    ||TO_CHAR(r_FUEL.FIRST_BFG,'DD/MON/YY')||','
    ||r_FUEL.DRIVER_POSITION||','
    ||r_FUEL.BFG_NO||','
    ||r_FUEL.MAKE||','
    ||r_FUEL.MODEL||','
    ||r_FUEL.FRG_NO||','
    ||r_FUEL.COLOUR||','
    ||TO_CHAR(r_FUEL.MANUFACTURED,'DD/MON/YY')||','
    ||TO_CHAR(r_FUEL.DEREG_ON,'DD/MON/YY')||','
    ||r_FUEL.NON_BFG_REG_NO||','
    ||TO_CHAR(r_FUEL.VALID_FROM,'DD/MON/YY')||','
    ||TO_CHAR(r_FUEL.VALID_UNTIL,'DD/MON/YY')||','
    ||r_FUEL.UNREG_FROM||','
    ||r_FUEL.UNREG_TO||','
    ||r_FUEL.FUEL_TYPE||','
    ||r_FUEL.CC||','
    ||r_FUEL.FUEL_RATION||','
    ||r_FUEL.PERSONAL_NO||','
    ||r_FUEL.RANK||','
    ||r_FUEL.FIRST_NAME||','
    ||r_FUEL.SURNAME||','
    ||r_FUEL.HEAD_OF_FAMILY||','
    ||r_FUEL.UIN||','
    ||TO_CHAR(r_FUEL.DATE_OF_BIRTH,'DD/MON/YY')||','
    ||r_FUEL.UNIT_NAME||','
    ||r_FUEL.BFPO||','
    --||r_FUEL.ITEM_ID||','
    ||r_FUEL.ROWNUM||','
    || CHR(13)||CHR(10);
    
    --
    htp.prn(line_of_data);
    
    
    success_ct := success_ct + 1;
    
    EXCEPTION
    WHEN no_data_found THEN
              RAISE file_write_done;
            --
            WHEN others THEN
              fail_ct := fail_ct + 1;
     END;
        END LOOP;
    
    
    END;
    END;
    At the end of the txt file, I see information like this
    <head>
    <title>Fuel Coupon Download</title>
    <link rel="stylesheet" href="/i/themes/theme_20/theme_3_1.css" type="text/css" />
    <link rel="stylesheet" href="/i/bfg_css/j6.css" type="text/css" />
    <script type="text/javascript" src="/i/bfg_javascript/jquery/jquery-1.3.2.js"></script>
    <link rel="stylesheet" href="/i/bfg_javascript/jquery/jqueryui/themes/redmond/jquery-ui-1.7.2.custom.css" type="text/css" />
    <script type="text/javascript" src="/i/bfg_javascript/jquery/jqueryui/jquery-ui-1.7.2.custom.js"></script>
    <script type="text/javascript" src="/i/bfg_javascript/j6_javascript.js"></script>
    <!--[if IE]><link rel="stylesheet" href="/i/themes/theme_20/ie.css" type="text/css" /><![endif]-->
    <style>
    * {font-size: 10pt;font-family: Tahoma,Arial,Helvetica,Geneva,sans-serif};
    </style>
    
    <script src="/i/javascript/apex_ns_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_get_3_1.js" type="text/javascript"></script>
    <script src="/i/javascript/apex_builder.js" type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    /*Global JS Variables*/
    var htmldb_Img_Dir = "/i/";
    //-->
    </script>
    <link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_3_1.css" type="text/css" /><![endif]-->
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body ><form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm">
      <input type="hidden" name="p_flow_id" value="111" id="pFlowId" />  <input type="hidden" name="p_flow_step_id" value="388" id="pFlowStepId" />  <input type="hidden" name="p_instance" value="1780009464230900" id="pInstance" />  <input type="hidden" name="p_page_submission_id" value="18077377520018" id="pPageSubmissionId" />  <input type="hidden" name="p_request" value="" id="pRequest" /><div id="t20PageHeader">
    <table border="0" cellpadding="0" cellspacing="0" summary="">
    <tr>
    <td id="t20Logo" valign="top"><span style="font-family:Arial; color:#FFFFFF; font-size:18px; white-space:nowrap; font-weight:bold;">Vehicle Licensing Office Application</span><br /></td>
    <td id="t20HeaderMiddle"  valign="top" width="100%"><br /></td>
    <td id="t20NavBar" valign="top"><br /></td>
    </tr>
    </table>
    </div>
    <div id="t20BreadCrumbsLeft"></div>
    <table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageBody"  width="100%" height="70%">
    <td width="100%" valign="top" height="100%" id="t20ContentBody">
    <div id="t20Messages"></div>
    <div id="t20ContentMiddle"></div>
    </td>
    <td valign="top" width="200" id="t20ContentRight"><br /></td>
    </tr>
    </table><table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageFooter" width="100%">
    <tr>
    <td id="t20Left" valign="top"><span id="t20UserPrompt">ADMIN</span><br /></td>
    <td id="t20Center" valign="top"></td>
    <td id="t20Right" valign="top"><span id="t20Customize"></span><br /></td>
    </tr>
    </table>
    <br class="t20Break"/>
    <input type="hidden" name="p_md5_checksum" value=""  /></form> 
    <script type="text/javascript">
    <!-- 
    
    //-->
    </script><!-- Code generated for user with developer privileges.  -->
    <script type="text/javascript">
    function popupInfo()
    {
      w = open("f?p=4000:34:1780009464230900:PAGE:NO:34:F4000_P34_SESSION,F4000_P34_FLOW,F4000_P34_PAGE:1780009464230900,111,388","winLov","Scrollbars=1,resizable=1,width=700,height=450");
      if (w.opener == null)
         w.opener = self;
         w.focus();
    }
    </script><table cellpadding="0" border="0" cellspacing="0" summary="Developer Toolbar" align="center"><tbody><tr><td><a class="htmldbToolbar" href="f?p=4500:1000:1780009464230900" style="border-left:1px solid black;" title="Application Express Home">Home</a></td><td><a class="htmldbToolbar" title="Application 111" href="f?p=4000:1:1780009464230900::NO:1,4150,RP:FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388" style="border-left:1px solid #000000;border-right:1px solid #000000;">Application 111</a></td><td><a class="htmldbToolbar" title="Edit Page 388" href="f?p=4000:4150:1780009464230900::NO:1,4150:FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388">Edit Page 388</a></td><td><a class="htmldbToolbar" href="f?p=4000:336:1780009464230900::::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388" style="border-left:1px solid black;" title="Create">Create</a></td><td><a class="htmldbToolbar" href="javascript:popupInfo()" style="border-left:1px solid black;" title="Session">Session</a></td><td><a class="htmldbToolbar" href="f?p=4000:14:1780009464230900::::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW,F4000_P4150_GOTO_PAGE,F4000_P1_PAGE:111,388,111,388,388" style="border-left:1px solid black;" title="Activity">Activity</a></td><td><a class="htmldbToolbar" title="Debug" style="border-left:1px solid black;" href="f?p=111:388:1780009464230900::YES">Debug</a></td><td id="hideEdit" style="display:none;"><a class="htmldbToolbar" title="Hide Edit Links" href="javascript:quickLinks('HIDE');"  style="border-right:1px solid #000000;border-left:1px solid black;">Hide Edit Links</a></td><td id="showEdit"><a class="htmldbToolbar" title="Show Edit Links" href="javascript:quickLinks('SHOW');"  style="border-right:1px solid #000000;border-left:1px solid #000000;">Show Edit Links</a></td></tr></tbody></table>
    <script type="text/javascript">
       if(GetCookie('ORA_WWV_QUICK_EDIT') != null){
           if(GetCookie('ORA_WWV_QUICK_EDIT') == 'SHOW')
               quickLinks('SHOW');
       }
    </script>
    </body>
    </html>
    Can someone tell me why it is marking this information on my txt file

    See you soon

    Gus

    Hello

    before the call to the exception handler

    apex_application.g_unrecoverable_error := true;
    

    Kind regards
    Jari

  • (Adding) writing in a txt file

    Hello

    I have the code which is the example used on the site of adobe for adding text in an existing txt file but I tried and tried and it doesn't work!

    I was wondering if I have the right code or if anyone has a code that works!

    Thank you

    Dave

    Assuming that you have a * field * named "MyField" (set the type and name as
    There's place), try the following in your authoring environment - it
    should be messages in your message window that will help with debugging
    --
    global myFile

    on mouseUp me
    If objectP (myFile) then myFile = 0
    tText = the text in the field "myField".
    myFile = new (xtra "fileio")
    openFile (myfile, the moviepath & "test.txt", 0)
    put "openFile(): ', status (myFile)
    setPosition (myfile, getLength (myFile))
    put "setPosition(): ', status (myFile)
    writeString (myFile, tText)
    put "writeString(): ', status (myFile)
    alert "Status:"& error (myFile, status (myFile)).
    closeFile(f) (myfile)
    myFile = 0
    end

Maybe you are looking for

  • How to clear the web activity

    OK im trying to erase or delete web on the family safety activity, because I have a lot of things and I don't know how can somebody please thatnk you...

  • Port program COM in Visual C++ on Windows XP

    I have a Dell optiplex 745 running Windows XP and I'm trying to communicate with a device connected via RS232 on a DB9.  I have Visual C++ 6.0, and I want to write and set baud rate.  Can what functions I use?

  • laptop is not put into hibernation after "standby mode"

    Reference Dell dear community, I have an Insipron 17R core i5 zm2410, NVIDIA Geforce 525 m, win8 64bits and I am facing a problem with hibernation mode / sleep. About 2 weeks ago my laptop went mode hibernation after beeing in mode 'sleep' for 2 hour

  • Nothing will ever beat Windows XP!

    How I envy for XP again!   Good old XP, the program that was almost perfect until they started it spoil.  Ability of great quest, rarely caused problems, etc. Now, I'm having all sorts of problems with Windows 7 - such as problems of recognition driv

  • Please Help - Adobe Plan problem

    So I'm in high school and I need a plan of adobe. I saw there is a student and like many, I understand that I can get it as long as my school is taken in charge or something? I live in Toronto and I head the TCDSB, someone know how I can get the 60%