Cipher help | It keeps throwing errors

As soon as you try to input a key it throws an error.
import javax.swing.*;
public class Animal
    private String inputString;
    private int intOffset;
    public Animal()
        inputString = null;
        intOffset = 0;
    public static void main(String [] args)
        Animal c2 = new Animal();
        int choose = JOptionPane.showConfirmDialog(null,"If you want to Encrypet Text Click (Yes) ,or Decrypt Click (No) or Cancel to exit :");
        if (choose == JOptionPane.YES_OPTION)
            String plainText = c2.encrypt();
            JOptionPane.showMessageDialog(null,plainText);
        else if(choose == JOptionPane.NO_OPTION)
            String cipherText = c2.decrypt();
            JOptionPane.showMessageDialog(null,cipherText);
        else
            System.exit(0);
    public String encrypt()
        inputString = ((String)JOptionPane.showInputDialog("Enter PlainText") ).toLowerCase().trim();
        intOffset = Integer.parseInt(JOptionPane.showInputDialog("Enter Key") );
        String letters = "abcdefghijklmnopqrstuvwxyz";
        StringBuffer sb = new StringBuffer();
        int holder = inputString.length();
        for(int i = 0; i < holder; i++)
                String tmp = ""+inputString.charAt(i);
                int offset = letters.indexOf(tmp);
                offset += intOffset;
                if( offset > 25 ){
                    int newOffset = 0;
                    newOffset = offset % 26;
                    sb.append( letters.charAt(newOffset) );
                else
                        sb.append( letters.charAt(offset) );
            }//forloop
            return sb.toString();
    public String decrypt()
        inputString = ((String)JOptionPane.showInputDialog("Enter CipherText") ).toLowerCase().trim();
        intOffset = Integer.parseInt(JOptionPane.showInputDialog("Enter Key") );
        String letters = "abcdefghijklmnopqrstuvwxyz";
        StringBuffer sb = new StringBuffer();
        int holder = inputString.length();
        for(int i = 0; i < holder; i++)
                String tmp = ""+inputString.charAt(i);
                int offset = letters.indexOf(tmp);
                offset -= intOffset;
offset %= 26;
sb.append( letters.charAt(offset) );
        return sb.toString();
}

As soon as you try to input a key it throws an error.If you expect to get help on forums, you should consider being specific.
What error does it throw, where in the code is the error thrown...what have you tried to do to fix it...etc...

Similar Messages

  • 12.1 Migration problem - datebetween() function keeps throwing error

    Hello!  We just got done migrating our 11.5 code over to 12.1 and experienced this issue after running the application.
    Apparently, in the BLS transaction (mainly in the "Conditional Action Block"), we have a datebetween function to determine which path the program should execute.  This worked fine in 11.5 but it keeps throwing this error
    Unable to execute datebetween function, some internal exception occured. [null]
    I even cleared the original datebetween function, copied and pasted the function straight from the SAP Help Documentation and I still get the same error.  It worked fine in 11.5
    Any help would be greatly appreciated.
    Thank you!

    I actually figured out what the problem was:
    if you use the datebetween() function with any invalid datetimes (such as "TimeUnavailable", "---" etc), it will throw this error.  Unlike 11.5, the paths and the datatypes (I realized from this) are extremely sensitive. 
    Also, (just to add), when inserting values into an XML container, make sure the source document is <DocName>.Output.  Apparantly, 11.5 was allowing the source document to be similar to that of a repeater (<DocName>.Output{/Rowsets/Rowset/Row}).  This too will throw another exemption error.
    Thank you guys for your help!

  • 2011 15 in Mac Book Pro. Can't access help. Keep getting error message computer not connected to internet. But compute is connected to internet.

    When I try to access help in my 2011 MacBook Pro I get an error message that I'm not connected to the internet. But I know I am connected to the internet because I'm getting email and surfing the web at the same time. Any ideas?

    Firewall of some type blocking whatever port the help system uses?
    Router setting?

  • Help i keep getting error 7 (windows error 14001) when opening itunes

    also it say itunes helper not installed correctly. I tried everything from uninstalling everything from itunes to reintalling any other suggestions?

    also it say itunes helper not installed correctly.
    I'd like to have a closer look at that error message please.
    Generate the error message again. While the error message box is open, hold down the Alt key and hit the PrtSc key. Paste the screenshot into an image file (using a program like Paint), and save the file.
    Start a reply here and click the wee camera icon at the top of the reply window. Click "Choose file", browse to the image file, select the file and click "Open". Now click "Insert file" to insert the screenshot into the reply.

  • HT3275 I need help.  Keep getting error message he backup disk image "/Volumes/Data/MacBook Pro.sparsebundle" is already in use.

    I keep recieving he following error he backup disk image “/Volumes/Data/ MacBook Pro.sparsebundle” is already in use.  for time machine backup.  Any suggestions

    It is standard for Lion and Mountain Lion.
    Reboot the TC to fix it.
    If you actually run Lion then you can install 5.6 utility and just go to the disk page and click disconnect all users.. this is usually enough to fix it.. on the previous backup TM hasn't dismounted the sparsebundle correctly and so cannot mount it again.
    See C12. http://pondini.org/TM/Troubleshooting.html

  • Please help! Keep getting error message "an internal error occurred"

    Hello,
    I'm trying to install Adobe Reader 10.1 on my macbook, but after (what looks like a successful download of Reader), when I try to open up a pdf I get the message "an internal error occurred." From here I am forced to click "OK" and then I just get a blank screen.
    I've tried to unistall and reinstall all Adobe files several times, but always get the same error message.
    Here's what I'm working with:
    Mac OS X - Version 10.5.8
    Intel Core 2 Duo
    Safari - Version 5.0.6
    I'm not super-tech savvy, I just need to download this program to be able to use an online training module for school.
    Thanks.

    Hello,
    I have had the same problem and ended up spending about 4 working hours resolving it, although I have a master degree in computer science.
    The problem is caused by an incompatibility between Adobe Acrobat Reader 6.0/7.0 and Adobe Acrobat Reader 10. It is very strange that this error was not discovered during Adobes in-house quality control. I expect such tests should have been performed prior to making new releases, in order to spare problems for users. Also, I would expect better error management in a software product of this calibre. If a missing file ends up causing a crash, one might wonder if there are also security critical flaws in the software related to e.g. parsing PDF documents.
    Problem description:
    After agreeing to the license Adobe Acrobat says "An internal error occurred" and crashes. No further information given.
    The system log reads ([…].com.adobe.Reader[220]) Exited abnormally: Interrupt
    Executing the binary directly from the terminal with -O flag gives no data on standard output. Other crash log reveals no interesting information.
    Solution:
    After some investigation, found crash is caused when /Users/[username]/Library/Application Support/Adobe/Fonts/AdobeFnt06.lst is accessed.
    Hence due to incompatibility between Adobe Acrobat Reader 6.0/7.0 and Adobe Acrobat Reader 10.
    The installer/uninstaller should probably have removed the file.
    I could delete the above file since I no longer use v6.0/7.0, and the problem was then resolved.
    Prior to this I had also deleted some of the com.adobe.* preferences from
    /Users/[username]/Library/Preferences
    /Library/Preferences
    etc.
    although I am not sure if this was necessary.
    Hope this helps.
    /Martin

  • Bmpanel keeps throwing errors when run

    After finally managing to compile bmpanel, I keep getting the following error, every second. As in, it repeats every single second.
    ***** Imlib2 Developer Warning ***** :
    This program is calling the Imlib call:
    imlib_blend_image_onto_image();
    With the parameter:
    source_image
    being NULL. Please fix your program.
    I have a feeling that this is because I'm not using xcompmgr because my chipset does not support composite rendering...?
    Is there a way I can disable composite support if this is the case, or can I simply close the terminal and ignore the messages and not worry about some buffer filling up and crashing my system?
    Also, two other issues:
    * Where do I put themes? I can't see any info on this anywhere; yaourt deletes a package's source files when it's done compiling them automatically (a very B A D idea, IMHO) so if they're in there, I've no idea.
    * Why is the panel offset by its own height from the bottom of my screen?
    -dav7

    dav7 wrote:
    After finally managing to compile bmpanel, I keep getting the following error, every second. As in, it repeats every single second.
    ***** Imlib2 Developer Warning ***** :
    This program is calling the Imlib call:
    imlib_blend_image_onto_image();
    With the parameter:
    source_image
    being NULL. Please fix your program.
    I have a feeling that this is because I'm not using xcompmgr because my chipset does not support composite rendering...?
    Is there a way I can disable composite support if this is the case, or can I simply close the terminal and ignore the messages and not worry about some buffer filling up and crashing my system?
    Also, two other issues:
    * Where do I put themes? I can't see any info on this anywhere; yaourt deletes a package's source files when it's done compiling them automatically (a very B A D idea, IMHO) so if they're in there, I've no idea.
    * Why is the panel offset by its own height from the bottom of my screen?
    -dav7
    There's no config files för bmpanel, all configuration is done in the theme-files. If you want to disable composite:
    use_composite 0

  • Need help badly- Keep getting error: connection refused.

    I'm developing an online multiplayer game, and everytime I try to use the multiplayer capabilities I get this kind of error. I have created a mini-connection class just to test if my program is working right, and apparently not. I have not included disconnection object in the following classes, since they are unneccessary since I cannot connect in the first place. First I ran my Servertest.class, which runs up to "Waiting for Connection", then waits, then I ran my ClientTest.class, which always gives me the error at teh bottom of the page.
    Please tell me what is wrong with the following-
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.*;
    import java.net.*;
    public class Servertest {
    private ObjectInputStream input;
    private ObjectOutputStream output;
    private ServerSocket server;
    private Socket connection;
    public void Servertest() {
    public void runServer() {
    try {
    server = new ServerSocket( 12347, 100 );
    System.out.print( "Waiting for connection\n" );
    connection = server.accept();
    System.out.print( "Connected to: " + connection.getInetAddress().getHostName() );
    output = new ObjectOutputStream( connection.getOutputStream() );
    output.flush();
    input = new ObjectInputStream( connection.getInputStream() );
    System.out.print( "\nGot I/O Streams\n" );
    catch ( IOException ioException ) {
    ioException.printStackTrace();
    public static void main( String args[] ) {
    Servertest application = new Servertest();
    application.runServer();
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.io.*;
    import java.net.*;
    public class ClientTest {
    private ObjectInputStream input;
    private ObjectOutputStream output;
    private Socket client;
    public void ClientTest() {
    public void runClient() {
    System.out.println( "Attempting Connection" );
    try {
    client = new Socket( InetAddress.getLocalHost(), 12348 );
    System.out.println( "Connected to: " + client.getInetAddress().getHostName() );
    output = new ObjectOutputStream( client.getOutputStream() );
    output.flush();
    catch (EOFException eofException) {
    System.err.print( "Client Terminated Connection!" );
    catch (IOException ioException) {
    ioException.printStackTrace();
    public static void main( String args[] ) {
    ClientTest application = new ClientTest();
    application.runClient();
    When I run Server Test it shows: Waiting for Connection.
    When I run Client Test is show the following:-
    Attempting Connection
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:452)
    at java.net.Socket.connect(Socket.java:402)
    at java.net.Socket.<init>(Socket.java:309)
    at java.net.Socket.<init>(Socket.java:153)
    at ClientTest.runClient(ClientTest.java:26)
    at ClientTest.main(ClientTest.java:41)
    Any help would be greatly appreciated!

    Your server listens on port 12347. Your client tries to connect to a different port. No server is listening on the other port, so the connection is refused. Solution: make client connect to port 12347.

  • When trying to print to PDF from a sales program we use it keeps throwing errors

    When several people try to print to PDF from MAS90, it will save it and create a file as it normally does. However, it does not open in Acrobat 9 Pro as it normally does, and displays the famous error "Acrobat could not open 'xxxx.pdf' because it is either not a supported..."  Yet when you manually open the file from the file system, it opens just fine.
    So to rehash what I just said, when I print to pdf, it asks me where to save, the notification said the printing completed, adobe opens and displays error. If you click on the file, then the file opens just fine.
    However several other people do not have this error while trying to print to file from mas90. Does anyone out there have any idea what could possibly be causing this error to be displayed?

    Hi ftd12300,
    Are you saving the PDFs you're creating to a network drive or are they being saved locally? 
    Do you have this problem when creating PDFs from other applications such as Notepad?
    -David

  • Need help installing keep getting error message when i install program

    i download the beta version on my android epic phone by sprint and when i go to install the program it shows a screen installing then an error message pops up almost immediately and say that application was not installed how do i fix this i have tried to re-download it and install it again but it gives the same error message every time now i have also allowed outside markets apps to download on my phone and i still get this error message or what do i need to do to get it installed on my phone?

    Firefox might not be able to run on your mobile . See [https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements System requirements for Android mobile] and [https://wiki.mozilla.org/Mobile/Platforms/Android#Known_Issues Known issues for mobiles]

  • Cant add account manager from myverizon  keeps throwing error message

    did everything but go into the store. Im 9 months pregnant on bed rest and my verizon gives me an error when i try to add account manager. Called  922 0204  and customer service says its now verizon policy that you cant add anyone to your account until after 30 days   ive added and removed people before on the same day Talked to supervisor he said its a my verizon problem and that the ppl that are supposed to work on it arent in right now So shouldnt they have a way to bypass this??  what is up with this new rule?? Anyone else getting this same error??

       I originally had wireless service with Alltell and I was very concerned when Verizon purchased Alltell ( I had numerous bad experiences with Verizon customer service when I had their FIOS cable service).  For years now that Verizon took over for Alltell I have not had any issues and I believe it was because I did not have to contact customer service.   Now in December I purchased three new phones and my daugther wanted to change her work number to one of the numbers I had on my service.  You would have thought we were trying to pattern a new cure for cancer.  We had to spend hours on the phone with customer service trying to accoumplish a very easy task and each time my daugther tried to deal with these people they all complained because she was not an account manager. 
    For the last wo weeks I have tried to add my daughter thru the website.  Each time I got an error message stating that I needed to call 611 to get this corrected.   Tonight we called 611  and I got the same run around with customer service for the last 45 minutes, but they told me that I had to wait 60 days since we had purchased  new phones.   They also told me that we could go to a Verizon store location and this could be accomplished at the store.  I have already spent more time with customer service than any live person should and I certainly do not want to have to make another trip to a Verizon store.  It is utterly amazing how Verizon can take such simple tasks and turn them into a Federal case.  This waste hours of your time and also the time spent by their employees,  and you don't get anything accomplished.  They must be getting so many complaints that now there is no place on their website where you can write a complaint.         

  • TS3694 HELP. i keep getting error 3194 when trying to restore my iphone 4s

    any body know how to fix this problem??

    I seemed to have figured it out...... I hard reset my Iphone and rebooted my computer and it seemed to work. It also seemed there was a music file that was not being recognized, I just erased it and everything worked fine after that.... very strange but I am so glad I figured it out.....

  • PL/SQL throwing errors! trying to alter dates

    the following code keeps throwing errors, I was wondering if it is due to me getting confused when to use ":" before a variable and also ":=" when setting values?
    Can anyone see what I am doing wrong?
    Here is the code, at the moment it is throwing an error on line 44
    ORA-06550: line 44, column 1:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    CODE.....
    DECLARE
         QNStart DATE;
         QNFinish DATE;
         Q1Start DATE;
         Q1Finish DATE;
         Q2Start DATE;
         Q2Finish DATE;
         Q3Start DATE;
         Q3Finish DATE;
         Q4Start DATE;
         Q4Finish DATE;
         Q5Start DATE;
         Q5Finish DATE;
         QNT NUMBER;
         Q1T NUMBER;
         Q2T NUMBER;
         Q3T NUMBER;
         Q4T NUMBER;
         QNR NUMBER;
         Q1R NUMBER;
         Q2R NUMBER;
         Q3R NUMBER;
         Q4R NUMBER;
    BEGIN
         case current_date
              when current_date between to_date('01-JAN', 'DD-Mon') AND to_date('31-MAR', 'DD-Mon') then
                        QNStart := to_date('01-JAN', 'DD-Mon');
                        QNFinish := to_date('31-MAR', 'DD-Mon');
              when current_date between to_date('01-APR', 'DD-Mon') AND to_date('30-JUN', 'DD-Mon') then
                        QNStart := to_date('01-APR', 'DD-Mon');
                        QNFinish := to_date('30-JUN', 'DD-Mon');
              when current_date between to_date('01-JUL', 'DD-Mon') AND to_date('30-SEP', 'DD-Mon') then
                        QNStart := to_date('01-JUL', 'DD-Mon');
                        QNFinish := to_date('30-SEP', 'DD-Mon');
              when current_date between to_date('01-OCT', 'DD-Mon') AND to_date('31-DEC', 'DD-Mon') then
                        QNStart := to_date('01-OCT', 'DD-Mon');
                        QNFinish := to_date('31-DEC', 'DD-Mon');
         End Case
    :Q1Start := ADD_MONTHS(:QNStart,-3);
    :Q1Finish := ADD_MONTHS(:QNFinish,-3);
    :Q2Start := ADD_MONTHS(:QNStart,-6);
    :Q2Finish := ADD_MONTHS(:QNFinish,-6);
    :Q3Start := ADD_MONTHS(:QNStart,-3);
    :Q3Finish := ADD_MONTHS(:QNFinish,-3);
    :Q4Start := ADD_MONTHS(:QNStart,-4);
    :Q4Finish := ADD_MONTHS(:QNFinish,-4);
    :Q5Start := ADD_MONTHS(:QNStart,-5);
    :Q5Finish := ADD_MONTHS(:QNFinish,-5);
    select COUNT(COUNT(*)) INTO :Q1T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q1Start AND :Q1Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q2Start AND :Q2Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q3Start AND :Q3Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4T from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :Q4Start AND :Q4Finish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNT from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
    WHERE f.DATE_ENTERED BETWEEN :QNStart AND :QNFinish
    AND a.ACTION_SCORE = 'Y'
    AND f.INPUT_TYPE = a.ACTION_NAME
    GROUP BY f.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q1R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q2R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q2Start AND Q2Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q3R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q3Start AND Q3Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :Q4R from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN Q4Start AND Q4Finish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q5Start AND Q5Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    select COUNT(COUNT(*)) INTO :QNR from FF_ACTIONS a
    WHERE a.DATE_ENTERED BETWEEN QNStart AND QNFinish
    AND a.COMPANY_NAME IN
         (select f.COMPANY_NAME from FF_ACTIONS f, FF_ACTION_TYPE_LOV a
         WHERE f.DATE_ENTERED BETWEEN Q1Start AND Q1Finish
         AND a.ACTION_SCORE = 'Y'
         AND f.INPUT_TYPE = a.ACTION_NAME
         GROUP BY f.COMPANY_NAME)
    GROUP BY a.COMPANY_NAME;
    EXECUTE
    Cheers
    Simon

    Dave had given you already some good advice.
    Your code is not only too complicated, but you have also probably a bug in it. You have for instance a QNstart as to_date('01.01, 'dd.mm') and a corresponding QNfinish as to_date('31.03', 'dd.mm'). As this means, it is the time portion at 00:01, you are missing the complete last day of this interval. So you better do:
    declare
      l_QNstart      date;
      l_Q1start      date;
      l_Q1finish     date;
      l_q1t          number
    begin
      l_QNstart := trunc(sysdate, 'Q');
      l_Q1start := add_months(l_QNstart, -3);
      l_Q1finish := l_QNstart;
      -- your condition is now
      select count(count(*))
      into   l_q1t
      from   ff_actions f, ff_action_type_lov a
      where  f.date_entered >= l_Q1start and f.date_entered < l_Q1finish
      and    a.action_score = 'y'
      and    f.input_type = a.action_name
      group by f.company_name;
    end;
    /Message was edited by:
    Leo Mannhart
    btw: what is the difference between Q1Start / Q3 Start and Q1Finish / Q3Finish resp.?

  • To throw error message on line item

    Hi Experts,
      I am using the user exit MV45AFZZ_MOVE_FIELD_TO_VBAP of sale order and it is getting triggered when we press 'ENTER' after filling the line item details of a sale order.
      In my requirement i have to check some conditions on the line items and have to throw error message on that particular item sothat the user can delete that item and can proceed with the remaining.
      But i am not able to throw error message on the particular item.
      Please help me to throw error message on the particular tabstrip corresponds to the item. 
    Thanks in Advance,
    Shaju

    You can try this fm
                    CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL'
                         EXPORTING
                              textline1    = text-902
                              textline2    = text-903
                              title        = text-901
                              start_column = 25
                              start_row    = 6
                              defaultpos   = 'C'
                         IMPORTING
                              answer       = cancel_rc.
                    CASE cancel_rc.
                      WHEN 'A'.
                      WHEN 'C'.
                        LEAVE PROGRAM.
                      WHEN OTHERS.
                    ENDCASE.
    Based upon user inputs you can handle conditions (CANCEL_RC) accordingly.

  • I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 profession​al. The create new report VI opens Excel but throws error (-21471672​62- from automation open VI) when I try to open MS word. please help...

    I am using report generation toolkit 1.1 with Labview 7.0 and Office 2003 professional. The create new report VI opens Excel but throws error (-2147167262- from automation open VI) when I try to open MS word. please help...

    Hi Leo22,
    Does this error occur if you use any of the example programs that come shipped with LabVIEW? I would try opening one of the examples that write data to Word and see if those give you an error. Also, have you tried just putting down a New Report.VI and change the report type to Word? If this simple vi (that's all you need to open Word) breaks, I would check to see if there are any instances of Word still open. Check the task manager to see if any word processes are still open. There should not be a problem accessing Word 2003 from LabVIEW 7.0. If neither of these solutions work, please give some more detail about your application and we can research further. Thanks!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

Maybe you are looking for

  • IPod Touch is not recognized in intunes

    Using Vista SP3 and fresh uninstall/install of iTunes.  iPod Touch shows up in Device Manager as "Apple iPod" with "Digital Camera" driver from Microsoft.  If I change it to "Apple Mobile Device Driver", I get error 37 - cannot start device

  • Idoc structure after upgrading

    Hi, I would like to know whether the standard idoc segment structure changes after upgrade. We are upgrading from 4.7 to ECC 6.0 . Will any idoc, errors due to upgrade (because of structure changes or something like that). Anything needs to be taken

  • Performance issue after allowed ICMP in traffic rule

    Hi All, Today I am facing new problem in NAC environment. as per the cisco documents, I allowed all mentioned ports, fragments and ICMP to the DCs. but after enable the ICMP desktop pc is hanging on  "applying computer settings" stage. If I disable I

  • Scale won't reset to 100 percent in print window

    How do I get the scale to change and remain at the selected setting in the print window? On one of our User accounts it is stuck at 300%. I can change it for one printing but when the print window is opened again the scale reverts to 300%. On all oth

  • How to create and register custom views for Bulk Export

    In the FAQ of "Understanding Bulk Export" chapter, it says "You can define your own view object for export. However, before you can use your view object for export, you must register and enable it as an export object in the Setup and Maintenance, Man