Problem with opening docs with Reader 9

I upgraded from 6 to 9 two days ago and
now having problems opening pps files attached to e-mails.  What should I do?

Nelliebellie1978 wrote:
now having problems opening pps files
.PPS files are Powerpoint files, not Reader files. Open them in Powerpoint or the Powerpoint viewer.
If you don't have either, you can get the free viewer at http://office.microsoft.com/en-us/downloads/CD010798701033.aspx

Similar Messages

  • Having problem with reading list in safari

    i am having problem with reading list in safari some time it work sometimes gets hang....

    Might be a cache issue ...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • I am facing a Problem with reading images from database

    Hi everybody..
    any help will be most appreciated, I am facing problem with reading images from database. I am pasting my code... 
                    string connect = "datasource = localhost; port = 3306; username = root; password = ;"; 
                    MySqlConnection conn = new MySqlConnection(connect); // creating connecting string
                    MySqlCommand sda = new MySqlCommand(@"select * from management.add_products ", conn); //creating query
                    MySqlDataReader reader; 
                    try
                        conn.Open(); // Opening Connection
                        reader = sda.ExecuteReader(); // Executing my Query..
                        while (reader.Read())
                            byte[] imgg = (byte[])(reader["Picture"]);
                            if (imgg == null)
                                pc1.Image = null;
                            else
                                MemoryStream mstream = new MemoryStream(imgg);
                                pc1.Image = System.Drawing.Image.FromStream(mstream);
    It says Parameter not Valid... i am reading all the images from database

    I agree with Viorel. You are getting the error because the format of the data is incorrect probably because the data was modify. It may not be the reading of the database the is incorrect, but the application that wrote the data into the database. You need
    to compare the imgg array data with the data before it was written to the database to see if the data matches.  I usually start by comparing the number of bytes which is easier to check then compare the actual to isolate which function is changing the
    byte count.
    An image is binary data.  The standard VS methods for reading and writing data (usually stream classes) default to ASCII encoding which will corrupt binary data.  The solution usually is to use UTF8 encoding instead of the default ascii encoding. 
    Ascii encoding with stream often aligns the data and adds extra null bytes to the end of the data which can produce these type errors.
    jdweng

  • Problem with READ Statement in the field routine of the Transformation

    Hi,
    I have problem with read statement with binary search in the field routine of the transformation.
    read statement is working well when i was checked in the debugging mode, it's not working properly for the bulk load in the background. below are the steps i have implemented in my requirement.
    1. I selected the record from the lookuo DSO into one internal table for all entried in source_packeage.
    2.i have read same internal table in the field routine for each source_package entry and i am setting the flag for that field .
    Code in the start routine
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
         and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp <> 3.
    delete it_zcam where end_dt initial.
    sort it_zcam by surce accno.
    endif.
    field routine code:
    read table it_zcam with key source = source_package-source
                                                 accno  = source_package-accno
                                                 binary search
                                                 transportin no fields.
    if sy-subrc = 0.
    RESULT  = 'Y'.
    else.
    RESULT = 'N'.
    endif.
    this piece of code exist in the other model there its working fine.when comes to my code it's not working properly, but when i debug the transformation it's working fine for those accno.
    the problem is when i do full load the code is not working properly and populating the wrong value in the RESULT field.
    this field i am using in the report filter.
    please let me know if anybody has the soluton or reason for this strage behaviour.
    thanks,
    Rahim.

    i suppose the below is not the actual code. active table of dso would be /bic/azcam_o1100...
    1. is the key of zcam_o11 source and accno ?
    2. you need to get the sortout of if endif (see code below)
    select source accno end_dt acctp from zcam_o11
    into table it_zcam
    for all entries in source_package
    where source = source_package-source
    and accno = source_package-accno.
    if sy-subrc = 0.
    delete it_zcam where acctp 3.
    delete it_zcam where end_dt initial.
    endif.
    sort it_zcam by surce accno.
    field routine code:
    read table it_zcam with key source = source_package-source
    accno = source_package-accno
    binary search
    transportin no fields.
    if sy-subrc = 0.
    RESULT = 'Y'.
    else.
    RESULT = 'N'.
    endif.

  • Problem with reading config file

    Hello,
    I have problem with reading config file from the same dir as class is. Situation is:
    I have servlet which working with DB, and in confing file (config.pirms) are all info about connection (drivers, users, passw, etc.). Everything work fine if I hardcoded like:
    configFileName = "C:\\config.pirms";I need to avoid such hardcoding, I tryied to use:
    configFileName = Pirms.class.getClassLoader().getResourceAsStream ("/prj/config.pirms").toString();but it isn't work.
    My config file is in the same directory as Pirms.class (C:\apache-tomcat-5.5.17\webapps\ROOT\WEB-INF\classes\prj)
    Also I tryied BundledResources, it isn't work fo me also.
    Can anybody help me to solve this problem? with any examples or other stuff?
    Thanks in advance.
    Andrew

    Thanks, but I am getting error that "non-static method getServletConfig() cannot be referenced from a static context"
    Maybe is it possibility to use <init-param> into web.xml file like:
    <init-param>
      <param-name>configFile</param-name>
      <param-value>/prj/config.pirms</param-value>
    </init-param>If yes can anybody explain how to do that?
    I need to have that file for:
    FileReader readFile = new FileReader(configFile);Thanks in advance.

  • Problem with Reader file when we try to save a pdf version of filled in file.

    We currently create fillable forms in Acrobat XI and enable them for fill-in with Acrobat Reader.  Our end users are able to key information and save it to the enabled pdf file with Reader, but they want to create a protected version of the form so nothing can be modified once they have approved it.  They have been creating "locked" pdf versions of the completed form using CutePdf software.  The PDF files they are creating open fine with Acrobat Pro XI or our free FoxIT reader, but when we try to open the files they created with CutePDF with Acrobat Reader, they are quite distorted.  According to users, this worked with older versions of Acrobat Reader.  Please let us know if you have any suggestions (other than switching from Acrobat Reader to the free FoxIT reader.
    Thanks for the help!!
    Ken K. - 2191

    Can't endorse FoxIt or CutePDF, since I don't use either of them, and Adobe doesn't like us endorsing thrid party products in their forums anyway. On top of that I know several people who had really bad adware experiences with FoxIt, so I'd say stay away from it.
    Most likely neither of these software developers has updated THIER software to work with Acrobat/Reader XI and the problem lies with them, since PDF is an Adobe format and they must follow the lead from here, not vice-versa.

  • Booklet printing problems with Reader XI (version 11.0.06)

    I created an 80 page 5.5" x 8.5" booklet using Word 2011 running under OSX 10.9.2 on a new 27" iMac.  I then "printed" it to a PDF file.  I then opened the PDF file in Reader XI and attempted to print it out using the "booklet" option as described at
    http://helpx.adobe.com/acrobat/kb/print-booklets-acrobat-reader.html#main1_Reader_and_Acro bat_X .
    I planned to manually duplex the booklet booklet since my HP Color Laserjet CP1518ni printer does not have automatic duplexing.  The first sign that something was wrong came when I selected "Back side only" from the Booklet Subset pop-up menu.  The numbers in the Sheets from boxes showed "Sheets from 1 to 10" when I obviously needed 20 sheets to print the booklet.  Repeated attempts to manually change it to "Sheets from 1 to 20" failed.  Each time I changed "10" to "20", it would flip back to "10" when I clicked the "Print" button.
    I set the Booklet Subset to print only the even pages and checked the "Reverse" box as I have done to successfuly print thousands of manually duplexed pages before.
    The printer only printed ten sheets.  The first sheet (what should be the booklet's centerfold) had page 40 on the left side as it should, but 42 on the right (it should have been 41).  The last of the ten sheets printed had page 4 on the left side (instead of the expected  2) and 78 on the right side (instead of the expected  79).  Even though these were obviously messed up, I went on to print the front side of these sheets, selecting "normal".  It printed Page 1 on the right side as expected, but printed page 79 (instead of the correct page 80) on the left.
    Folding the ten sheets into a booklet revealed the really bizarre nature of the printing snafu. Page 1 was, as expected, on the front.  Turning the first page open revealed pages 4 and 5.  Turning the second page revealed Pabes 8 (left) and 9 (right).  This pattern continued, printing two pages, then skipping two pages, right into the centerfold pages 40 (left) and 42 (right).  The first page turn after the centerfold revealed pages 43 (left) and 46 (right).  The next revealed 47 (left) and 50 (right).
    I am at a complete loss of how to determine where the printing process went afoul.  Printing the PDF file normally (one page per sheet one-sided) resulted in all pages being printed normally. 
    The really frustrating part of this entire experience is that I could find no place to report this "bug" to Adobe.  If anyone can help me solve this printing dilemma, or put me in touch with someone at Adobe who could help, it would be greatly appreciated.
    The booklet is due at the printer's tomorrow and the inability to print a proof is a real pain.  Hope the printer can print this file as a booklet.  I would be happy to send this file (125 Mb) to anyone who might help.

    I arrived here looking for a solution!  And while reading your post the penny dropped that I didn't have a serious problem.  I have a booklet of 112 pages and all I needed to do was re-order the pages as printed so that 1 is followed by a sheet with 2 on the under-face but same side and so on.  The pages had printed back to front and needed flipping.  But then I have a duplex printer and maybe that makes a difference.  Is it to do with your manual duplexing and the order that the second pass is presented to the printer.  As my duplex sheets effectively needed flipping over each one I'm wondering if you can solve your problem with a little experimentation and re-ordering before your second pass.

  • Problem with Reader 9.3

    Reader 9.3 does not respond or responds very slowly. I tried updating it - no change. I tried downloading it and I get the following message. Error 1316 network error occurred while attempting to read from file C:/users\chuck\AppData\Local\Adobe\Reader9.3\Setupfiles\AdbeRdr930_en_US.msi
    I can use reader to open stuff saved on my computer, but it responds slowly or sometimes not at all.

    I have the same problem.
    The problem seems to be that the install application does not extract the file it is trying to read.
    During the install, a directory "Setup Files" is created, i.e.:
    C:\Documents and Settings\Administrator\Local Settings\Application Data\Adobe\Reader 9.3\Setup Files
    Then the install application extracts installation setup files in this directory. Unfortunately, the file "AdbeRdr930_en_US.msi" is not one of them. So later in the install process; when it looks for the file, it gives "Error 1316" because it can't find it.
    However, the problem seems to be that the file never was there in the first place.
    I have tried this several times now, and opened a file manager (windows explorer) to view this (temporary) directory.
    The only files I see there are:
    File name
    File size
    abcpy.ini
    2 kb
    AcroRead.msi
    3,880 kb
    Data1.cab
    107,103 kb
    Setup.exe
    338 kb
    setup.ini
    1 kb
    If you cancel the install (give-up) after error; then this directory folder and all the above files are erased.
    This is clearly an issue with the install program: "AdbeRdr930_en_US.exe" ... which probably should be renamed, because the (second) setup dialog box is clearly titled "Adobe Reader 9.3.2 - Setup" (not, 9.3.0).  In spite of this, the properties for the install file say version is 2.0.0.41.  Seems a bit confusing. 
    Anyway, the main issue is that it can't find the "AdbeRdr930_en_US.msi" file because it does not exist in the "Setup Files" directory because, presumably, the installer was unable to extract it in the first place.
    The "Error 1316" appears after the "Validating install" phase of installation and during the "Publishing product information" phase when the green progress bar appears to be at 100%.  Frustrating, so close, but yet so far away from success.
    Oh, and don't run the "Windows Installer Cleanup Utility" ... this is (was) to resolve problems with Microsoft Office installations, but even there Microsoft has retracted this since it is found to actually cause damage to Microsoft Office.  See:
    [Wikipedia] Windows Installer CleanUp Utility
    [Microsoft] How do I uninstall Office, if I cannot uninstall it from Control Panel?
    Hope somebody out there can fix this issue.  With luck, someone on the development team is watching this thread...
    ~~

  • Problems with Reader 9.1

    I had upgraded to Reader 9.1 from Reader 8.1, now I can not open any PDF files. I get this message"This file does not have a program associated with it for performing this action. Create an association in the Set Associations Control Panel.
    So where is this Set Association Control Panel?
    This mesage pops up on all my programs - firefox, and most program icons on my desktop.
    Why can't I go back to Reader 8.1?

    We had a somewhat similar case here last week, also on Vista.  Since I do not have Vista (and I do not know anybody with Vista), I couldn't help to find how to set the file associations.
    Are you saying that Reader 7.1 automatically upgraded to 9.1?  I cannot imagine how this could happen...
    Do you think that going back to Reader 7.x would solve your problem?  You can download Reader 7.1 here ftp://ftp.adobe.com/pub/adobe/reader/win/7x/7.1.0/enu/AdbeRdr710_en_US.exe, and updates
    7.1.1 ftp://ftp.adobe.com/pub/adobe/reader/win/7x/7.1.1/misc/AdbeRdrUpd711_all_incr.msp
    7.1.2 ftp://ftp.adobe.com/pub/adobe/reader/win/7x/7.1.2/misc/AdbeRdrUpd712_all_incr.msp
    7.1.3 ftp://ftp.adobe.com/pub/adobe/reader/win/7x/7.1.3/misc/AdbeRdrUpd713_all_incr.msp
    P.S. I was unable to resolve last week's similar case; I ended up recommending an alternative PDF viewer.

  • Problems with reading XML files with ISO-8859-1 encoding

    Hi!
    I try to read a RSS file. The script below works with XML files with UTF-8 encoding but not ISO-8859-1. How to fix so it work with booth?
    Here's the code:
    import java.io.File;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import java.net.*;
    * @author gustav
    public class RSSDocument {
        /** Creates a new instance of RSSDocument */
        public RSSDocument(String inurl) {
            String url = new String(inurl);
            try{
                DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
                Document doc = builder.parse(url);
                NodeList nodes = doc.getElementsByTagName("item");
                for (int i = 0; i < nodes.getLength(); i++) {
                    Element element = (Element) nodes.item(i);
                    NodeList title = element.getElementsByTagName("title");
                    Element line = (Element) title.item(0);
                    System.out.println("Title: " + getCharacterDataFromElement(line));
                    NodeList des = element.getElementsByTagName("description");
                    line = (Element) des.item(0);
                    System.out.println("Des: " + getCharacterDataFromElement(line));
            } catch (Exception e) {
                e.printStackTrace();
        public String getCharacterDataFromElement(Element e) {
            Node child = e.getFirstChild();
            if (child instanceof CharacterData) {
                CharacterData cd = (CharacterData) child;
                return cd.getData();
            return "?";
    }And here's the error message:
    org.xml.sax.SAXParseException: Teckenkonverteringsfel: "Malformed UTF-8 char -- is an XML encoding declaration missing?" (radnumret kan vara f�r l�gt).
        at org.apache.crimson.parser.InputEntity.fatal(InputEntity.java:1100)
        at org.apache.crimson.parser.InputEntity.fillbuf(InputEntity.java:1072)
        at org.apache.crimson.parser.InputEntity.isXmlDeclOrTextDeclPrefix(InputEntity.java:914)
        at org.apache.crimson.parser.Parser2.maybeXmlDecl(Parser2.java:1183)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:653)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
        at getrss.RSSDocument.<init>(RSSDocument.java:25)
        at getrss.Main.main(Main.java:25)

    I read files from the web, but there is a XML tag
    with the encoding attribute in the RSS file.If you are quite sure that you have an encoding attribute set to ISO-8859-1 then I expect that your RSS file has non-ISO-8859-1 character though I thought all bytes -128 to 127 were valid ISO-8859-1 characters!
    Many years ago I had a problem with an XML file with invalid characters. I wrote a simple filter (using FilterInputStream) that made sure that all the byes it processed were ASCII. My problem turned out to be characters with value zero which the Microsoft XML parser failed to process. It put the parser in an infinite loop!
    In the filter, as each byte is read you could write out the Hex value. That way you should be able to find the offending character(s).

  • Problem with Reader

    Help.
    I have 2 docs, created by Adobe Presenter, and I can only read one of them. The other just clocks while displaying "Adobe Presenter". But this is not the case for everyone. It works for some, not for  others.
    What is the variable? Missing software, a setting in the presenter doc when built? Setting by laptop?
    Help??
    Appreciate all responses.
    Laurie

    This is the Adobe Reader forum.
    If you have a problem with Presenter, try the forum at http://forums.adobe.com/community/adobeconnect/connectpro_presenter or contact Adobe Customer Support.

  • Problem with reading mp4 files with QT 7.4.1 or mpeg Streamclip

    Hi,
    I used to convert some .flv files into .mp4 files with iSquint and then into .dv files with mpeg Streamclip in order to re-work and compile these files on a DVD using iMovie and iDVD.
    However I cannot do it anymore since I upgraded to QT 7.4.1. iSquint uses the mpeg-4 video codec to convert the file. Therefore I cannot open them with QT 7.4.1 anymore and I cannot convert them into .dv files with mpeg Streamclip anymore since Streamclip is uses a QT plug-in.
    I have tried to solve the problem using Perian but this plug-in does not work with my version of Mac (Panther 10.3.9). I also tried to downgrade to an older QT using Pacifist but it nearly crashed my whole computer (fortunately I could fix that by reinstalling QT 7.4.1).
    Has someone a solution to my problem?
    Thank you in advance.
    Steve

    Not all the following will apply to Panther (10.3.x) so look carefully on the sites mentioned for the correct versions:
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, QT 7.3 or 7.4 and OS 10.4.11. (If you are running Leopard, ensure that all plug-ins have been updated for OS 10.5)
    Assuming you already run Tiger versions OS 10.4.9 or above (this has not yet been verified with Leopard) and have Quicktime 7.2 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 10 for Mac from http://forms.real.com/real/player/blackjack.html?platform2=Mac%20OS%20X&product= RealPlayer%2010&proc=g3&lang=&show_list=0&src=macjack
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs.
    Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2 and then the latest version obtained from here: http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash and installed.
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.)
    In earlier versions than QT 7.1.3 in Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    You should also ensure, if you are running Tiger 10.4.11 or Leopard, that you have downloaded and installed the correct version for your Mac of Security Update 2007-009.1.1, which also deals with the Quicktime/Flash issues you may have experienced, such as the '?'. What happened was that both Quicktime as well as Adobe FlashPlayer tried to play the Flash video at the same time. This no longer happens. (N.B. Security Update 2007-009 1.1 requires both a restart and a permission repair.)
    If you get problems with viewing video on a website try moving this file to your Desktop:
    Hard drive/Library/Internet Plug-Ins/QuickTime Plugin.webplugin
    and then restarting Safari. If all now works, you can trash that file.
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them) to enable Java.
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz, and that you have selected 'Built in Audio'.
    Important: Now repair permissions and restart.
    You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.

  • Problem with read() mehtod!Help please...

    Hi guys..please help me with this simple stuff...these small program will display the the character count in a word...example: a=4,b=6.....here's my code...
    mport java.io.*;
    public class BufferedReaderTest {
    public static void main(String args[]) throws Exception {
    char[] capital = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J','K', 'L', 'M', 'N',
    'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'};
    FileReader fr = new FileReader("watu.txt");
    BufferedReader buffer = new BufferedReader(fr);
    String inString;
    while ((inString = buffer.readLine()) !=null) {
    String upperCase = inString.toUpperCase();
    System.out.println(upperCase);
    int nextChar;
    char ch;
    int count=0;
    for (int i = 0; i < 26; i++)
    while ( (nextChar = inString.read() ) != -1 ) ***problem with this line**
    ch = (char) nextChar;
    if( ch== capital)
    count++;
    System.out.print(" " + capital[i]);
    System.out.println(" " + count);
    fr.close();

    Hi guys..please help me with this simple
    stuff...these small program will display the the
    character count in a word...example:
    For future postings please:
    - use code tags (see: http://forum.java.sun.com/help.jspa?sec=formatting)
    - always provide the compiler (and/or runtime) errors.
    Your problem is this:inString.read(). String has no method called read().
    To loop through a String and check it's contents line by line you could use a for-statement and String's charAt(int) method.
    Here's how to use the for-statement:
    http://java.sun.com/docs/books/tutorial/java/nutsandbolts/for.html
    Good luck.

  • ALV GRID Problem with reading contents

    Hi there! I'm quite new with ABAP and I have some problems with the syntax of it. Maybe I should first describe my aim and then I'll show you my code.
    1. I read contents from two database tables, called 'zbc_dan_registry' and 'zbc_dan_category'.
    'zbc_dan_registry' has 2 columns: name, value.
    zbc_dan_category' has 1 column: category.
    Now I want to have an ALV Grid, that displays the contents of 'zbc_dan_registry' and one additional column with dropdown fields, where the user can select a category for each row. This is, what my code already does.
    Now I want to save the contents of the whole table in a new table 'zbc_dan_registrz' (you see: 'registrz', not 'registry'!) with 3 columns:
    name, category, value.
    My problem is, how can I read the contents of the ALV Grid, with the user selected category for each row, and save them in an internal table? I've tried to adapt the code of "BCALV_EDIT_04", but I don't get it running.
    Some detailled help would be great, you know, I'm really working hard to understand ABAP, but it's really hard for me. Thanks for your support and help!!
    Here's my code so far:
    *& Report  ZBC400_DAN_TESTNO4
    REPORT  ZBC400_DAN_TESTNO4.
    DATA: lt_registrz TYPE TABLE OF zbc_dan_regstrz WITH HEADER LINE,
          lt_category TYPE TABLE OF zbc_dan_category WITH HEADER LINE,
          ls_category TYPE zbc_dan_category, "Struktur Kategorie
          ok_code LIKE sy-ucomm,
          container_r TYPE REF TO cl_gui_custom_container,
          grid_r TYPE REF TO cl_gui_alv_grid,
          gc_custom_control_name TYPE scrfname VALUE 'CONTAINER_REG',
          fieldcat_r TYPE lvc_t_fcat,
          layout_r TYPE lvc_s_layo,
          lt_ddval TYPE lvc_t_drop,
          ls_ddval TYPE lvc_s_drop,
          c TYPE i.
    CLASS lcl_event_receiver DEFINITION DEFERRED.
      DATA g_verifier TYPE REF TO lcl_event_receiver.
      DATA: BEGIN OF gt_outtab OCCURS 0.
        INCLUDE STRUCTURE zbc_dan_regstrz.
        DATA: celltab TYPE lvc_t_styl.
      DATA: END OF gt_outtab.
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
      TYPES: BEGIN OF lt_registrz_key.         "Struktur mit den Schlüsseln der Tabelle 'Registry'
        TYPES:  name TYPE zbc_dan_name,
                value TYPE zbc_dan_value,
                category TYPE zbc_dan_cat.
      TYPES: END OF lt_registrz_key.
      TYPES:  ls_registrz_keys TYPE STANDARD TABLE OF lt_registrz_key,
              ls_registrz_table TYPE STANDARD TABLE OF zbc_dan_regstrz.
      METHODS: get_inserted_rows EXPORTING inserted_rows TYPE ls_registrz_keys.
      METHODS: refresh_delta_tables.
      METHODS: handle_data_changed FOR EVENT data_changed OF cl_gui_alv_grid IMPORTING er_data_changed.
    *  METHODS: get_inserted_rows EXPORTING inserted_rows TYPE registrz_keys.
    *  METHODS: refresh_delta_tables.
      PRIVATE SECTION.
      DATA: inserted_rows TYPE ls_registrz_keys.
      DATA: error_in_data TYPE c.
      METHODS: get_cell_values IMPORTING row_id TYPE int4 pr_data_changed TYPE REF TO cl_alv_changed_data_protocol EXPORTING key TYPE lt_registrz_key.
    ENDCLASS.
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_data_changed.
        DATA: ls_good TYPE lvc_s_modi,
              ls_new TYPE lvc_s_moce.
        error_in_data = space.
        IF error_in_data = 'X'.
          CALL METHOD er_data_changed->display_protocol.
        ENDIF.
      ENDMETHOD.
      METHOD get_cell_values.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'NAME'
            IMPORTING e_value = key-name.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'VALUE'
            IMPORTING e_value = key-value.
        CALL METHOD pr_data_changed->get_cell_value
          EXPORTING i_row_id = row_id i_fieldname = 'CATEGORY'
            IMPORTING e_value = key-category.
      ENDMETHOD.
      METHOD get_inserted_rows.
        inserted_rows = me->inserted_rows.
      ENDMETHOD.
      METHOD refresh_delta_tables.
        clear me->inserted_rows[].
      ENDMETHOD.
    ENDCLASS.
    START-OF-SELECTION.
        SELECT client name value
          INTO CORRESPONDING FIELDS OF TABLE lt_registrz FROM zbc_dan_regstry.
        SELECT category INTO CORRESPONDING FIELDS OF TABLE lt_category FROM zbc_dan_category.
    CALL SCREEN 0100.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'BACK'.
          SET SCREEN 0.
          MESSAGE ID 'BC400' TYPE 'S' NUMBER '057'.
        WHEN 'SAVE'.
          PERFORM save_data.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.
    MODULE clear_ok_code OUTPUT.
      CLEAR ok_code.
    ENDMODULE.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'DYNPRO100'.
      SET TITLEBAR 'D0100'.
    ENDMODULE.
    MODULE display_alv OUTPUT.
      PERFORM display_alv.
    ENDMODULE.
    FORM display_alv.
    IF grid_r IS INITIAL.
    *----Creating custom container instance
      CREATE OBJECT container_r
      EXPORTING
        container_name = gc_custom_control_name
      EXCEPTIONS
        cntl_error = 1
        cntl_system_error = 2
        create_error = 3
        lifetime_error = 4
        lifetime_dynpro_dynpro_link = 5
        others = 6.
        IF sy-subrc <> 0.
    *--Exception handling
        ENDIF.
    *----Creating ALV Grid instance
        CREATE OBJECT grid_r
        EXPORTING
          i_parent = container_r
        EXCEPTIONS
          error_cntl_create = 1
          error_cntl_init = 2
          error_cntl_link = 3
          error_dp_create = 4
          others = 5.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
          CREATE OBJECT g_verifier.
          SET HANDLER g_verifier->handle_data_changed FOR grid_r.
    *----Preparing field catalog.
          PERFORM prepare_field_catalog CHANGING fieldcat_r.
    *----Preparing layout structure
          PERFORM prepare_layout CHANGING layout_r.
    *----Here will be additional preparations
    *--e.g. initial sorting criteria, initial filtering criteria, excluding
    *--functions
          CALL METHOD grid_r->set_table_for_first_display
          EXPORTING
    * I_BUFFER_ACTIVE =
    * I_CONSISTENCY_CHECK =
    * I_STRUCTURE_NAME =
    * IS_VARIANT =
    * I_SAVE =
    * I_DEFAULT = 'X'
            is_layout = layout_r
    * IS_PRINT =
    * IT_SPECIAL_GROUPS =
    * IT_TOOLBAR_EXCLUDING =
    * IT_HYPERLINK =
          CHANGING
            it_outtab = lt_registrz[]
            it_fieldcatalog = fieldcat_r
    * IT_SORT =
    * IT_FILTER =
          EXCEPTIONS
            invalid_parameter_combination = 1
            program_error = 2
            too_many_lines = 3
            OTHERS = 4.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
          ELSE.
            CALL METHOD grid_r->refresh_table_display
    * EXPORTING
    * IS_STABLE =
    * I_SOFT_REFRESH =
          EXCEPTIONS
            finished = 1
            OTHERS = 2.
          IF sy-subrc <> 0.
    *--Exception handling
          ENDIF.
        ENDIF.
        CALL METHOD grid_r->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_enter.
        CALL METHOD grid_r->register_edit_event
          EXPORTING
            i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    ENDFORM.
    FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
      EXPORTING
        i_structure_name = 'ZBC_DAN_REGSTR2'
      CHANGING
        ct_fieldcat = pt_fieldcat[]
      EXCEPTIONS
        inconsistent_interface = 1
        program_error = 2
        OTHERS = 3.
      IF sy-subrc <> 0.
    *--Exception handling
      ENDIF.
      LOOP AT pt_fieldcat INTO ls_fcat.
        CASE ls_fcat-fieldname.
          WHEN 'NAME'.
            ls_fcat-coltext = 'Name'.
            ls_fcat-outputlen = '40'.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'VALUE'.
            ls_fcat-coltext = 'Wert'.
            ls_fcat-outputlen = '30'.
            MODIFY pt_fieldcat FROM ls_fcat.
          WHEN 'CATEGORY'.
              LOOP AT lt_category into ls_category.
                ls_ddval-handle = 1.
                ls_ddval-value = ls_category-category.
    *            ls_ddval-style = cl_gui_alv_grid=>mc_style_enabled.
                APPEND ls_ddval TO lt_ddval.
             ENDLOOP.
             CALL METHOD grid_r->set_drop_down_table
                EXPORTING it_drop_down = lt_ddval.
            ls_fcat-edit = 'X'.
            ls_fcat-drdn_hndl = '1'.
            ls_fcat-coltext = 'Kategorie'.
            MODIFY pt_fieldcat FROM ls_fcat.
        ENDCASE.
      ENDLOOP.
    ENDFORM.
    FORM prepare_layout CHANGING ps_layout TYPE lvc_s_layo.
      ps_layout-zebra = 'X'.
      ps_layout-grid_title = 'Kategorie zur Registry hinzufügen'.
      ps_layout-smalltitle = 'X'.
    ENDFORM.
    FORM save_data.
      DATA: ls_ins_keys TYPE g_verifier->ls_registrz_keys,
            ls_ins_key TYPE g_verifier->lt_registrz_key,
            ls_registrz TYPE zbc_dan_regstrz,
            ls_outtab LIKE LINE OF gt_outtab,
            lt_instab TYPE TABLE OF zbc_dan_regstrz.
      CALL METHOD g_verifier->get_inserted_rows IMPORTING inserted_rows = ls_ins_keys.
      LOOP AT ls_ins_keys INTO ls_ins_key.
        READ TABLE gt_outtab INTO ls_outtab
        WITH KEY  name = ls_ins_key-name
                  value = ls_ins_key-value
                  category = ls_ins_key-category.
        IF sy-subrc = 0.
          MOVE-CORRESPONDING ls_outtab TO ls_registrz.
          APPEND ls_registrz TO lt_instab.
        ENDIF.
      ENDLOOP.
      INSERT zbc_dan_regstrz FROM TABLE lt_instab.
      CALL METHOD g_verifier->refresh_delta_tables.
      ENDFORM.

    Hi Hans,
    You raised the Question in the Webdynpro ABAP forum. Here its very diffcult to get the answer from this forum. Please close it here and raise the same question in ABAP General Forum there you will get faster and so many anwsers.
    Please close the question here.
    Warm Regards,
    Vijay

  • Font problem with Reader 9.3

    We have a problem with unusual font displayed for a PDF file created on a Mac with Microsoft
    Office.  It displays properly on Windows with Adobe Reader 9.3 and on Linux (Fedora 12 and
    Red Hat Enterprise Linux 5.4) with kpdf and evince.  However, on both Fedora 12
    and RHEL 5.4 with Reader 9.3, the fonts used are different from what is expected.
    Is there a known issue with fonts in Reader 9.3?

    We have a problem with unusual font displayed for a PDF file created on a Mac with Microsoft
    Office.  It displays properly on Windows with Adobe Reader 9.3 and on Linux (Fedora 12 and
    Red Hat Enterprise Linux 5.4) with kpdf and evince.  However, on both Fedora 12
    and RHEL 5.4 with Reader 9.3, the fonts used are different from what is expected.
    Is there a known issue with fonts in Reader 9.3?

  • Problem with reading PNG metadata due to unicode strings

    Being new to the XMP SDK I have problems trying to dump the XMP data from a .png file because the data contains UTF-8 data.
    I have searched the forum for answers, but the answers I found do not help.
    The answer I found was to replace std::string with std::wstring. but that causes problems with the compile - btw, I am using MSVC 2010 C++ Express
    and XMP SDK-CC201306
    Changing the std:: line to:
    #define TXMP_STRING_TYPE std::wstring
    and all string definitions in my code to wstring, gives me a bunch of compile errors, such as:
    f:\pkg\c++\xmp-toolkit-sdk-cc201306\public\include\client-glue/TXMPMeta.incl_cpp(74): error C2664: 'std::basic_string<_Elem,_Traits,_Ax> &std::basic_string<_Elem,_Traits,_Ax>::assign(const _Elem *,unsigned int)' : cannot convert parameter 1 from 'XMP_StringPtr' to 'const wchar_t *'
    1>          with
    1>          [
    1>              _Elem=wchar_t,
    1>              _Traits=std::char_traits<wchar_t>,
    1>              _Ax=std::allocator<wchar_t>
    1>          ]
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>          f:\pkg\c++\xmp-toolkit-sdk-cc201306\public\include\client-glue/TXMPMeta.incl_cpp(72) : while compiling class template member function 'void TXMPMeta<tStringObj>::SetClientString(void *,XMP_StringPtr,XMP_StringLen)'
    1>          with
    1>          [
    1>              tStringObj=std::wstring
    1>          ]
    1>          f:\pkg\c++\XMP-Toolkit-SDK-cc201306\public\include\XMP.incl_cpp(55) : see reference to class template instantiation 'TXMPMeta<tStringObj>' being compiled
    1>          with
    1>          [
    1>              tStringObj=std::wstring
    1>          ]
    Any help or pointers will be most welcome.
    TIA,
    DayWalker

    OK, I now understand the point you were driving at.
    To check out this idea, I have modified the code in the routine which dumps the output from the callback to a file as follows:
    (Though if you were to dump the file using the std:: stream - .i.e. using the utility as supplied, you should see the same problem - it is not at all dependent on my using the wxWidgets toolkit)
    XMP_Status DumpXMPToFile(void * WXUNUSED(refCon), XMP_StringPtr buffer, XMP_StringLen bufferSize )
        XMP_Status status = 0;
        wxString wsT;
        try
        wxString wsText( buffer, wxConvUTF8 );
        if( g_wfDumpFile.IsOpened() )
          wsT.Printf( _T("<%s> size(%d)"), wsText, bufferSize );
          g_wfDumpFile.SeekEnd();
          g_wfDumpFile.Write( wsT, wsT.Length() );
        else
          return -1;
        catch(XMP_Error & e)
    The output for the one line in question:
    <Iptc4xmpCore:CiAdrExtadr> size(24)< = "> size(4)<Leo-Saurer-Straße> size(15)<> size(1)<C3> size(2)<> size(1)<9F> size(2)<>> size(1)<e> size(1)<"> size(1)<
    > size(1)<   > size(3)<   > size(3)<   > size(3)
    The hex contents of the buffer I get in the callback is
    0x003908D0  4c 65 6f 2d 53 61 75 72 65 72 2d 53 74 72 61 c3 9f 65 00 cd cd cd cd  Leo-Saurer-Straße.ÍÍÍÍ
    0x003908E7  cd cd cd cd cd cd cd cd cd fd fd fd fd ab ab ab ab ab ab ab ab ee fe  ÍÍÍÍÍÍÍÍÍýýýý««««««««îþ
    As you can see, my conversion routines takes all the buffer contains and converts it to the appropriate UTF-8 string, even though the count passed to me is short and represents only the count up to the first non-ASCII character and all of the subsequent strings  - interpreted as hex values by the caller of the call back would not give me the correct characters, athough they are passed to me for display.
    The two fragments of one byte length are the ones I could not find in the actual output.
    The call stack at that point:
    >
    wxMeta.exe!DumpXMPToFile(void * __formal, const char * buffer, unsigned long bufferSize)  Line 110
    C++
    wxMeta.exe!TextOutputProcWrapper(void * refCon, const char * buffer, unsigned long bufferSize)  Line 60 + 0x18 bytes
    C++
    wxMeta.exe!DumpClearString(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & value, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 409 + 0x1c bytes
    C++
    wxMeta.exe!DumpPropertyTree(const XMP_Node * currNode, int indent, unsigned int itemIndex, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 161 + 0x14 bytes
    C++
    wxMeta.exe!DumpPropertyTree(const XMP_Node * currNode, int indent, unsigned int itemIndex, long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 222 + 0x1f bytes
    C++
    wxMeta.exe!XMPMeta::DumpObject(long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 1100 + 0x23 bytes
    C++
    wxMeta.exe!WXMPMeta_DumpObject_1(__XMPMeta__ * xmpObjRef, long (void *, const char *, unsigned long)* outProc, void * refCon, WXMP_Result * wResult)  Line 968
    C++
    wxMeta.exe!TXMPMeta<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::DumpObject(long (void *, const char *, unsigned long)* outProc, void * refCon)  Line 833 + 0x21 bytes
    C++
    wxMeta.exe!MyFrame::DisplayMetaData(wxString & wsrFilePathAndName)  Line 484
    C++
    Hoping this will help resolve the issue :-)

Maybe you are looking for