Problem in using of some code in QA11 Tocde

hi all,
     I want to debeg one function module at the time of using QA11 Tcode. I am using Function Module that is FIELD_EXIT_QPLOS
( This is Field Exit). I am putting dynamic break point and i am trying to run QA11 T code but it is not going to bebugging mode.
Please advice.
Thanx & Regards
Rami Reddy

Hi Rami,
                Field-exit method of enhancement does not support debugging.
Regards,
Kumaar.s

Similar Messages

  • Problem in using JOIN in code

    Hello ,
    there is one problem while using this select query :
    SELECT  a~vbeln vkorg audat auart a~netwr werks mwsbp INTO
                                           TABLE int_vbak
                                           FROM vbak AS a JOIN vbap AS b
                                           ON a~vbeln = b~vbeln
                                           FOR ALL ENTRIES IN int_auart
                                           WHERE auart EQ int_auart-low
                                           AND   vkorg IN s_vkorg
                                           AND   audat IN s_audat
                                           AND   werks IN s_werks
                                           AND   abgru EQ ' '.
    In VBAP table i have 10 records for particular vbeln but i am getting 9 only what could be the problem
    i have come across a scenerio when my vbeln and netwr are same at tht time it misses one record .
    Please help me to solve this issue so that i could get all the 10 records .
    Thanks Aryan

    Dear Aryan,
    SELECT  avbeln vkorg audat auart anetwr werks mwsbp INTO
                                           TABLE int_vbak
                                           FROM vbak AS a JOIN vbap AS b
                                           ON avbeln = bvbeln
                                           FOR ALL ENTRIES IN int_auart
                                           WHERE auart EQ int_auart-low
                                           AND   vkorg IN s_vkorg
                                           AND   audat IN s_audat
                                           AND   werks IN s_werks
                                           AND   abgru EQ ' '.
    In your code jsut check entries in for all entries table and values in the fields which you have used in your where condition.
    Hope this will help you to resolve your problem.
    Regards,
    Vijay

  • Problem in using tax code

    hi Gurus,
    m facing very different problem from yesterday. The day b4 all tax codes were working finely bur nw they are showing error in calculation.
    e.g.
    if i m using tax code with 14%BED, 2%ECess, 1%SEcess, 4%VAT.
    But when entering in PO conditions, user delete the BED condition and uses manula excise condition value.
    Say v r ordering 100 pcs of 50 each.
    So total amt will be 5000
    Manual excise 14%   =  700
    ECess 2%                =    14
    SEcess                    =    07
    VAT                          = 228.84    
    which is showing correctly in condition tab.
    But when v assign tax code with same combination i.e. 14,2,1,4 n whn clik on taxes its showing
    BED deduct             = 70 i.e. 10% of manual excise which v entered.
    Ecess                     = 1.40 i.e. 2 % of above value (70)
    SEcess                   = 7 which is correct
    VAT                        =  203.14 which is from above addition.
    M facing this problem fron yesterday only. I compared pricing procedure also, n didnt find any change made. Also no one has made the changes. V r using TAXINJ. Also when I enter BED = 100% in tax code then some tax codes work finely. But some didnt. What may be the problem?
    Regards

    Hi
    My guess is if you are using customised Tx code with the deductible Tax code for the 3 taxes then there is no question of it calculaiting wrong percentage during PO, only thing you need to select the right Condition types.
    IF you are maintaing conditions in FV11 for the vendor pleae do check if it is picking some thing else othere than what you have entered i. e 14% then it is certain that the corresponding vendor is picking som other record instead of the current what  you have created. Pleae try to create conditions Plant specific  with vendor/material combination and also check for the validity of the condition also.
    Best regards

  • I'm having problems activating dreamweaver on new pc using original activation code

    I have a copy of StudioMX 2004 and was having problems activating Dreamweaver on my new pc using the original code. It says there is a network error but there isn't. When I try to activate by phone the number they give is for Lloyds bank insurance. I did a live chat with Support and they gave me a new code which worked and activated Dreamweaver but I didn't think to activate Fireworks at the same time. When I have tried using either the old code or the new I get the same error message and same Lloyds bank phone number. I have tried live chat but they refuse to help saying they don't support Dreamweaver 2004 ..any one any ideas?

    Hi gb147,
    The version of Dreamweaver that you have does not support any of the latest web standards. While I advise you to follow Ken's instructions, I also want you to download a trial version of the latest Creative Cloud application https://creative.adobe.com/products/download/dreamweaver and give it a run. The page also has some excellent resources to help you get started.
    Thanks,
    Preran

  • Is there a way to address email (i.e. a word or some code) that would place that email in a specified inbox folder?  not using internal rule, rather the beginning of this sort happening as it comes in?

    is there a way to address email (i.e. a word or some code) that would place that email in a specified inbox folder?  not using internal rule, rather the beginning of this sort happening as it comes in?
    In other words
    I tell a friend if he is emailing me on a particular subject, is there something he can do at his end ([email protected]/research)
    like adding the word research at the end of my eamil address that would tell my inbox to place that in the inbox/research folder?
    If I have to use a rule on my end, then do I tell him to just place the word research in the subjct line and then I write a rule to place anything with the word research in the subject line in my inbox/research folder?
    will the subject line be required to only have the one word research to work, or will the rule look for any presense of that word in the subject line?
    thanks
    eric

    iCloud email supports 'plus' addressing. http://en.wikipedia.org/wiki/Email_address#Address_tags
    So your friend could just add '+research' to the username part of your email address, and you setup a rule at icloud.com to put all emails sent to that address into a particular folder.
    For example:
    [email protected]
    There's no way to do it without rules on the server though.

  • Problem in event handling using oo abap code

    Hi,
    My requirement is i need to disply 3 blocks in ALV format.I have done that.Now my problem is if i double click on aufnr of the first block, it should call the transaction code. I have written the code in oo abap but i have used function modules for ALV.Now my doubt is 'How to write an event  once the user double click on the particular field of the first block, it should call the tcode " using object oriented code.
    How to populate the heading for each block using oo abap code.
    Thanks & Regards
    Anus

    hi.....
    Use Double_click event handler method of class cl_gui_alv_grid of first block....
    if not solved .
    Send me Your program lines ...........
    Best Regards
    Prabhakar

  • I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4) A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?

    I have problems when using the camera on my iPhone 4S (the same for my daughter with a iPhone4)
    A veil around the blurred photo, a development impossible and completely unable to read the bar code or QR code. What to do?

    Sounds kind of stupid, but check to make sure that your iphone case cover is not blocking the edge of the camera lens.  I had a silicone case on my 3S and when it got older, it started tot slip and the edges of my pictures were blurred.

  • Pls. need help..i'm using firefox 3.6.10 in windows xp it always crushes while playing farmville please help me to resolve my problem i already disabled some of my adds on but now i cannot totally open any games in face book.

    i'm using firefox 3.6.10 in windows xp it always crushes while playing farmville please help me to resolve my problem i already disabled some of my adds on and i re-install firefox, now i cannot totally open any games in face book. it says you must upgrade your flash player but it is updated. i tried to open it in google chrome and in other browser there was no problem. what should i do? please help me. thanks in advance. GOD BLESS!

    Looks like a problem with the MyWeb Search bar.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Hi, folks can some body help me¡  How  I can  use  de second  code  to  the  Itunes card  to  use  the  Itunes card.... My  number is vanished, how  i can submit  my  Itunes card?

    Hi, folks can some body help me¡  How  I can  use  de second  code  to  the  Itunes card  to  use  the  Itunes card.... My  number is vanished, how  i can submit  my  Itunes card?

    iTunes Store: Invalid, inactive, or illegible codes
    http://support.apple.com/kb/TS1292

  • Some Problems in Using Region Containers

    Hi,
    I have some problems in using region container which looks like bugs to me :
    1- I added 2 Item Regions to one group in app def and dragged some items into them.Then, I decided to have a region container and arrange these 2 item regions horizontally. I added a Region Container and drag the 2 Item Regions into it. in this case, all the fields in these Item Regions disappeared and I did not have control over them.
    2- If I first create a Region Container and then put a region item in it and then drag some attributes into region item everything will be fine but if I change my mind and decide not to have region container and drag region item from region container into regions, again all fields in the region item will disappear.
    3- I created a region container and added 2 region items to it and dragged some items into them. I set the layout style to horizontal and set the width of region container to 100% but I realized that regardless of width value I set, the page arrangement was always the same. I investigate the jspx file and found out that the width of region container was not set. I added width="$JHS.current.regionContainer.width" to "<afh:tableLayout" section in horizontalRegionContainer.vm and it then worked fine. I believe that this part is forgotten to be in the vm file.
    Best Regards,
    Navid

    Navid,
    regarding 1 and 2: This only happens when you add items to an item group and start to drag and drop the item region BEFORE you click the Apply button. If you click the Apply
    button before you move item groups around, it works fine.
    3: yes, this is a bug, we will add fix in next release. Thanks for reporting.
    Steven Davelaar,
    JHeadstart team.

  • Orange mail software problem when using distribution lists : some lists cannot be used for writing e-mails. The problem does not exist when using Internet Explo

    When writing an e-mail directly on the Orange e-mail service (not on Thunderbird) I am facing the following problem : some distribution lists cannot be used to complete the adressees. The same lists can be used without difficulty if I use Internet Explorer instead of Firefox. The Orange hotline told me that probably my Firefox version was not updated. Unfortunately I checked that, and apparently the automatic updating works. I have also updated the plug ins, without any result.

    Please could you specify which webpage you mean ?
    The process with Orange is the following :
    - 1. click on "Write an e-mail" on the mail webpage
    - 2. click on "To" to reach the Contacts which opens a new window
    - 3. click on "Distribution lists"
    - 4. click on the selected list then click on "add". The list appears ot the box corresponding to the addresses .
    UNTIL THEN EVERYTHING WORKS WELL
    - 5. click on the button "validate", which closes the window previously opened and normally
    - 6. reloads the initial page with the complete list on the line "To". Instead of that I get the last e-mail address I previously used .
    Question : at which step of this process should I try your suggestions ? I tried when the initial page was reloaded with the wrong address, but it did not work to get back the rignt distribution list;
    Note that the whole process functions with OTHER Distribution lists. The only difference is that the problematic one has a larger number of adresses (62) however inferior to the maximum indicated by Orange (100).
    I also remind that there is no problem when using Internet Explorer instead of Firefox.
    Thanks for your help !

  • Mountain Lion Redeem problem - Cant use redeem code after recovery

    Hi,
    I have a macbookpro mid 2012 md 101, i got the redeem code for mountain lion on purchase of my macbookpro last year. yesterday i tried to reinstall mountain lion from recovery. howvever, it failed i don't know why. and it went on the internet download and instead of downloading Mountain Lion again it downloaded and install Lion.
    i tried to use my redeem code which i got last year but it seems not working anymore.
    Please help me out - how do i get back my mountain lion.
    Thnak you.

    Redemption codes may only be used once.
    Open the Mac App Store, click the Purchases pane, if your purchases do not apear sign into your account through the Store pulldown menu in the MAS menubar. You should see the Mt Lion installer among your purchases, download and install. After that use Software Update to make sure you have the most recent version of Mt Lion.

  • Problem with ESM on some computers

    We have been having a problem with ESM on some older computers. The
    computers all seem to be older computers running WinXP SP2 (Dell
    OptiPlex SX260). The computers have the Novell client, either 4.91 SP4
    or SP5, and either have the Microsoft client for Microsoft Networks
    turned off (unchecked) or uninstalled. The computer will be running
    fine, we'll install ESM on them and then when the computer comes up
    after that it won't login properly. It will accept the login, but then
    says access denied but keeps going. All drive mappings fail with a 470
    error code and the login script ends with an 8885 error. I look in the
    Novell client and it says that the user is authenticated to the tree and
    connected to the servers but can't access anything on them. I can try
    logging in as many times as I want and it won't map the drives. If I
    try to get to the NSS volumes using UNC paths, it won't work. I can try
    a UNC path with the IP address instead of the name and still the same story.
    We've found two ways around the problem and neither are acceptable:
    1. Remove ESM
    2. Go into the network control panel and uncheck the Senforce ESS
    Filter Engine. After that, I can try to login and it goes right
    through. I don't even have to logout, just right-click on the red N and
    choose login. Everything maps just fine.
    The firewall is set to all open so it isn't blocking the ports. Or at
    least it isn't set to block them.
    I say we've had the problems on the SX260's. We've only tried this on
    SX260's and a small number of newer Dell desktops and laptops (Optiplex
    740, 745, 755, Latitude D620, D630). Only the SX260's are having the
    problem. They also, however, are the ones with the Microsoft client for
    Microsoft Networks either turned off or uninstalled.
    We're about to open another SR with Novell support but it is difficult
    for us to leave a computer in a non-working state so we can work with
    support on it.
    Any ideas?

    Originally Posted by Sean Eckton
    We have been having a problem with ESM on some older computers. The
    computers all seem to be older computers running WinXP SP2 (Dell
    OptiPlex SX260). The computers have the Novell client, either 4.91 SP4
    or SP5, and either have the Microsoft client for Microsoft Networks
    turned off (unchecked) or uninstalled. The computer will be running
    fine, we'll install ESM on them and then when the computer comes up
    after that it won't login properly. It will accept the login, but then
    says access denied but keeps going. All drive mappings fail with a 470
    error code and the login script ends with an 8885 error. I look in the
    Novell client and it says that the user is authenticated to the tree and
    connected to the servers but can't access anything on them. I can try
    logging in as many times as I want and it won't map the drives. If I
    try to get to the NSS volumes using UNC paths, it won't work. I can try
    a UNC path with the IP address instead of the name and still the same story.
    We've found two ways around the problem and neither are acceptable:
    1. Remove ESM
    2. Go into the network control panel and uncheck the Senforce ESS
    Filter Engine. After that, I can try to login and it goes right
    through. I don't even have to logout, just right-click on the red N and
    choose login. Everything maps just fine.
    The firewall is set to all open so it isn't blocking the ports. Or at
    least it isn't set to block them.
    I say we've had the problems on the SX260's. We've only tried this on
    SX260's and a small number of newer Dell desktops and laptops (Optiplex
    740, 745, 755, Latitude D620, D630). Only the SX260's are having the
    problem. They also, however, are the ones with the Microsoft client for
    Microsoft Networks either turned off or uninstalled.
    We're about to open another SR with Novell support but it is difficult
    for us to leave a computer in a non-working state so we can work with
    support on it.
    Any ideas?
    Sean,
    I have seen login issue with the Novell client and zesm if a firewall is enabled.
    Is it possible to do the following:
    Right click the ZESM client and go to About
    Click Diagnostics, Logging and select all
    Once you have logging enabled on the client please duplicate the issue.
    Please post or attach the log so we can see it.
    You will find the log in c:\documents and settings\all users\application data\senforce\logs

  • Problem with using JMF audio over a network

    Hiya, I'm using IBM JMF code but I'm having problems trying to get it transmit data from the MediaTransmitter to the MediaPlayerFrame.
    I'm kinda new to JMF so I assume I'm missing something basis for why this doesn't work.
    Any help would be greatly appreciated.
    MediaPlayerFrame
    import javax.media.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    * An instance of the MediaPlayerFrame may be used to display any media
    * recognized * by JMF.  This is intended to be a very simple GUI example,
    * displaying all possible controls for the given media type.
    public class MediaPlayerFrame extends JFrame {
         * The frame title.
        private static final String FRAME_TITLE = "developerWorks JMF Tutorial " +
            "Media Player";
         * The panel title of the main control panel.
        private static final String CONTROL_PANEL_TITLE = "Control Panel";
        // location and size variables for the frame.
        private static final int LOC_X = 100;
        private static final int LOC_Y = 100;
        private static final int HEIGHT = 500;
        private static final int WIDTH = 500;
         private final static long serialVersionUID = 1;
         * The current player.
        private Player player = null;
         * The tabbed pane for displaying controls.
        private JTabbedPane tabPane = null;
         * Create an instance of the media frame.  No data will be displayed in the
         * frame until a player is set.
        public MediaPlayerFrame() {         
            super(FRAME_TITLE);
            System.out.println("MediaPlayerFrame");
            setLocation(LOC_X, LOC_Y);
            setSize(WIDTH, HEIGHT);
            tabPane = new JTabbedPane();
            getContentPane().add(tabPane);
            /* adds a window listener so that the player may be cleaned up before
               the frame actually closes.
            addWindowListener(new WindowAdapter() {
                                   * Invoked when the frame is being closed.
                                  public void windowClosing(WindowEvent e) {
                                      closeCurrentPlayer(); 
                                      /* Closing this frame will cause the entire
                                         application to exit.  When running this
                                         example as its own application, this is
                                         fine - but in general, a closing frame
                                         would not close the entire application. 
                                         If this behavior is not desired, comment
                                         out the following line:
                                      System.exit(0);
         * Creates the main panel.  This panel will contain the following if they
         * exist:
         * - The visual component: where any visual data is displayed, i.e. a
         * movie uses this control to display the video.
         * - The gain component:   where the gain/volume may be changed.  This
         * is often * contained in the control panel component (below.)
         * - The control panel component: time and some extra info regarding
         * the media.
        private JPanel createMainPanel() {
            System.out.println("createMainPanel");
            JPanel mainPanel = new JPanel();
            GridBagLayout gbl = new GridBagLayout();
            GridBagConstraints gbc = new GridBagConstraints();
            mainPanel.setLayout(gbl);
            boolean visualComponentExists = false;
            // if the visual component exists, add it to the newly created panel.
            if (player.getVisualComponent() != null) {
                visualComponentExists = true;
                gbc.gridx = 0;
                gbc.gridy = 0;
                gbc.weightx = 1;
                gbc.weighty = 1;
                gbc.fill = GridBagConstraints.BOTH;
                mainPanel.add(player.getVisualComponent(), gbc);
            // if the gain control component exists, add it to the new panel.
            if ((player.getGainControl() != null) &&
                (player.getGainControl().getControlComponent() != null)) {
                gbc.gridx = 1;
                gbc.gridy = 0;
                gbc.weightx = 0;
                gbc.weighty = 1;
                gbc.gridheight = 2;
                gbc.fill = GridBagConstraints.VERTICAL;
                mainPanel.add(player.getGainControl().getControlComponent(), gbc);
            // Add the control panel component if it exists (it should exists in
            // all cases.)
            if (player.getControlPanelComponent() != null) {
                gbc.gridx = 0;
                gbc.gridy = 1;
                gbc.weightx = 1;
                gbc.gridheight = 1;
                if (visualComponentExists) {
                    gbc.fill = GridBagConstraints.HORIZONTAL;
                    gbc.weighty = 0;
                } else {
                    gbc.fill = GridBagConstraints.BOTH;
                    gbc.weighty = 1;
                mainPanel.add(player.getControlPanelComponent(), gbc);
            return mainPanel;
         * Sets the media locator.  Setting this to a new value effectively
         * discards any Player which may have already existed.
         * @param locator the new MediaLocator object.
         * @throws IOException indicates an IO error in opening the media.
         * @throws NoPlayerException indicates no player was found for the
         * media type.
         * @throws CannotRealizeException indicates an error in realizing the
         * media file or stream.
        public void setMediaLocator(MediaLocator locator) throws IOException,
            NoPlayerException, CannotRealizeException {
              System.out.println("setMediaLocator: " +locator);
            // create a new player with the new locator.  This will effectively
            // stop and discard any current player.
            setPlayer(Manager.createRealizedPlayer(locator));       
         * Sets the player reference.  Setting this to a new value will discard
         * any Player which already exists.  It will also refresh the contents
         * of the pane with the components for the new player.  A null value will
         * stop the discard the current player and clear the contents of the
         * frame.
        public void setPlayer(Player newPlayer) {      
            System.out.println("setPlayer");
            // close the current player
            closeCurrentPlayer();          
            player = newPlayer;
            // refresh the tabbed pane.
            tabPane.removeAll();
            if (player == null) return;
            // add the new main panel
            tabPane.add(CONTROL_PANEL_TITLE, createMainPanel());
            // add any other controls which may exist in the player.  These
            // controls should already contain a name which is used in the
            // tabbed pane.
            Control[] controls = player.getControls();
            for (int i = 0; i < controls.length; i++) {
                if (controls.getControlComponent() != null) {
    tabPane.add(controls[i].getControlComponent());
    * Stops and closes the current player if one exists.
    private void closeCurrentPlayer() {
    if (player != null) {
    player.stop();
    player.close();
    * Prints a usage message to System.out for how to use this class
    * through the command line.
    public static void printUsage() {
    System.out.println("Usage: java MediaPlayerFrame mediaLocator");
    * Allows the user to run the class through the command line.
    * Only one argument is allowed, which is the media locator.
    public static void main(String[] args) {
    try {
    if (args.length == 1) {
    MediaPlayerFrame mpf = new MediaPlayerFrame();
    /* The following line creates a media locator using the String
    passed in through the command line. This version should
    be used when receiving media streamed over a network.
    mpf.setMediaLocator(new MediaLocator(args[0]));
    /* the following line may be used to create and set the media
    locator from a simple file name. This works fine when
    playing local media. To play media streamed over a
    network, you should use the previous setMediaLocator()
    line and comment this one out.
    //mpf.setMediaLocator(new MediaLocator(
    // new File(args[0]).toURL()));
    mpf.setVisible(true);
    } else {
    printUsage();
    } catch (Throwable t) {
    t.printStackTrace();
    MediaTransmitter
    import javax.media.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import java.io.IOException;
    import java.io.File;
    * Creates a new media transmitter.  The media transmitter may be used to
    * transmit a data source over a network.
    public class MediaTransmitter {
         * Output locator - this is the broadcast address for the media.
        private MediaLocator mediaLocator = null;
         * The data sink object used to broadcast the results from the processor
         * to the network.
        private DataSink dataSink = null;
         * The processor used to read the media from a local file, and produce an
         * output stream which will be handed to the data sink object for
         * broadcast.
        private Processor mediaProcessor = null;
         * The track formats used for all data sources in this transmitter.  It is
         * assumed that this transmitter will always be associated with the same
         * RTP stream format, so this is made static.
        private static final Format[] FORMATS = new Format[] {
            new AudioFormat(AudioFormat.MPEG_RTP)};
         * The content descriptor for this transmitter.  It is assumed that this
         * transmitter always handles the same type of RTP content, so this is
         * made static.
        private static final ContentDescriptor CONTENT_DESCRIPTOR =
            new ContentDescriptor(ContentDescriptor.RAW_RTP);
         * Creates a new transmitter with the given outbound locator.
        public MediaTransmitter(MediaLocator locator) {
            mediaLocator = locator;
         * Starts transmitting the media.
        public void startTransmitting() throws IOException {
            // start the processor
            mediaProcessor.start();
            // open and start the data sink
            dataSink.open();
            dataSink.start();
         * Stops transmitting the media.
        public void stopTransmitting() throws IOException {
            // stop and close the data sink
            dataSink.stop();
            dataSink.close();
            // stop and close the processor
            mediaProcessor.stop();
            mediaProcessor.close();
         * Sets the data source.  This is where the transmitter will get the media
         * to transmit.
        public void setDataSource(DataSource ds) throws IOException,
            NoProcessorException, CannotRealizeException, NoDataSinkException {
            /* Create the realized processor.  By calling the
               createRealizedProcessor() method on the manager, we are guaranteed
               that the processor is both configured and realized already. 
               For this reason, this method will block until both of these
               conditions are true.  In general, the processor is responsible
               for reading the file from a file and converting it to
               an RTP stream.
            mediaProcessor = Manager.createRealizedProcessor(
                new ProcessorModel(ds, FORMATS, CONTENT_DESCRIPTOR));
            /* Create the data sink.  The data sink is used to do the actual work
               of broadcasting the RTP data over a network.
            dataSink = Manager.createDataSink(mediaProcessor.getDataOutput(),
                                              mediaLocator);
         * Prints a usage message to System.out for how to use this class
         * through the command line.
        public static void printUsage() {
            System.out.println("Usage: java MediaTransmitter mediaLocator " +
                               "mediaFile");
            System.out.println("  example: java MediaTransmitter " +
                "rtp://192.168.1.72:49150/audio mysong.mp3");
            System.out.println("  example: java MediaTransmitter " +
                "rtp://192.168.1.255:49150/audio mysong.mp3");
         * Allows the user to run the class through the command line.
         * Only two arguments are allowed; these are the output media
         * locator and the mp3 audio file which will be broadcast
         * in the order.
        public static void main(String[] args) {
            try {
                if (args.length == 2) {
                    MediaLocator locator = new MediaLocator(args[0]);
                    MediaTransmitter transmitter = new MediaTransmitter(locator);
                    System.out.println("-> Created media locator: '" +
                                       locator + "'");
                    /* Creates and uses a file reference for the audio file,
                       if a url or any other reference is desired, then this
                       line needs to change.
                    File mediaFile = new File(args[1]);
                    DataSource source = Manager.createDataSource(
                        new MediaLocator(mediaFile.toURL()));
                    System.out.println("-> Created data source: '" +
                                       mediaFile.getAbsolutePath() + "'");
                    // set the data source.
                    transmitter.setDataSource(source);
                    System.out.println("-> Set the data source on the transmitter");
                    // start transmitting the file over the network.
                    transmitter.startTransmitting();
                    System.out.println("-> Transmitting...");
                    System.out.println("   Press the Enter key to exit");
                    // wait for the user to press Enter to proceed and exit.
                    System.in.read();
                    System.out.println("-> Exiting");
                    transmitter.stopTransmitting();
                } else {
                    printUsage();
            } catch (Throwable t) {
                t.printStackTrace();
            System.exit(0);

    Okay, here's the it copied out.
    Media Transmitter
    C:\John\Masters Project\Java\jmf1\MediaPlayer>java MediaTransmitter rtp://127.0.
    0.1:2000/audio it-came-upon.mp3
    -> Created media locator: 'rtp://127.0.0.1:2000/audio'
    -> Created data source: 'C:\John\Masters Project\Java\jmf1\MediaPlayer\it-came-u
    pon.mp3'
    streams is [Lcom.sun.media.multiplexer.RawBufferMux$RawBufferSourceStream;@1decd
    ec : 1
    sink: setOutputLocator rtp://127.0.0.1:2000/audio
    -> Set the data source on the transmitter
    -> Transmitting...
       Press the Enter key to exit
    MediaPlayerFrame
    C:\John\Masters Project\Java\jmf1\MediaPlayer>java MediaPlayerFrame rtp://127.0.
    0.1:2000/audio
    MediaPlayerFrame
    setMediaLocator: rtp://127.0.0.1:2000/audioAs I said, it just kinda stops there, what it should be doing is opening the MediaPlayer.
    "MediaPlayerFrame" and "setMediaLocator: rtp://127.0.0.1:2000/audio" are just print outs I used to track here the code is getting to.

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

Maybe you are looking for