Message box / dialog box

I'm writing a server-side web service that any client (java, vb, c#, etc....) can use.
I'm writing a method which needs to ask the client a question, and depending on the clients answer, wil detemine which part of the code gets executed.
I'm thinking of a message/dialog box with yes / no button, click yes, code does something, click no, code does something else
Is this the best way forward?
Any advice on the best way of dong this ?
Many thanks for your help

Can you provide the sequence containing that step?
Without seeing the parameters, its quite hard to give you some hints where to look....
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Display a  message in dialog box  while creating PO

    Hi Experts,
    i want to dispaly a popup message while creating PO(me21n),pop up should be trigger when we try to save two different plants in the item level while creating PO. for this purpose i have used enchancement mm06e005 and FM EXIT_SAPMM06E_016.
    i want to pass this message to standard message in me21n
    transaction and  should get the message in dialog box
    user should not able to save PO until he corrects the plants in item level.
    please help me
    thanks in advance,
    Rama.

    Hi,
    You have to check 1st this user-exit is triggering or not while saving the P.O.
    If it triggers then you can put the code what you want.  The message type should be Error type why becuase then only it won't allow further until it correct.
    Thanks
    Ganesh

  • Message Popup dialog box - "Value invalid or out of range"

    Hi
    From time to time I get an error when trying to display Message Popup dialog boxes. The error appears sporadically and always disappears when I restart TestStand. This happens for all Message Popup dialog boxex (TS standard box).
    The error is "Value invalid or out of range". I get no clues as to why this occurs.
    Any ideas?
    TestStand 2010 SP1 running on Windows 7 64bit.
    Attachments:
    Untitled.png ‏29 KB

    Can you provide the sequence containing that step?
    Without seeing the parameters, its quite hard to give you some hints where to look....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Sms send message VI Dialog box

    Whenever I get an error using the SMS Send Message.vi I get a dialog box that disables my program unless I manually answer the prompt.  Can NI (or anybody else) please
    1. Have an option to disable the dialog box
    2. Unpassword protect the VI so I can do it myself
    3. Give me some other option I missing.
    Thank you
    Robert

    Hi Robert,
    Since the Clear Errors VI is not available with a PDA application, you can use a case structure to clear errors instead.  Wire the error out of SMS Send Message to the case selector.  In the Error case place an error cluster constant (right click on error out and Create >> Constant) to pass through the remainder of your program.  For the No Error case, pass the error wire straight through. 
    Message Edited by Jennifer_R on 02-04-2008 06:54 AM
    Jennifer R.
    National Instruments
    Applications Engineer
    Attachments:
    Clear Error.JPG ‏5 KB

  • Can I supress the Outgoing Message Notification dialog box?

    I have a form that our company is using internally and my users are all getting a popup message that is telling them about the form sending an email message for them.  They can check a box to not show this again, but I have over 300 users and I'd like to supress this message for them all if possible.
    This message is causing issues because sometimes it loses focus and gets hidden behind Acrobat Reader and the user is then stuck and an admin has to end the process for them to regain use of their computer.
    So far I have not been able to track down a registry key or config file where this might be stored.  Any input is appreciated!

    Usually such information are stored in the registry.  I use Regshot to check for registry changes.

  • No display of error message log in dialog box

    Dear MM Experts,
    During enter incoming invoice (MIRO), when we click simulate after entering all necessary data, all error & warning messages are displayed in a dialog box if there is red traffic light. In our case despite red traffic light error messages are not displayed as shown in below screen shot. Only warning messages are displayed & document canu2019t be posted. Please let me know if anyone has encountered such behavior & knows the solution. We just want to see the error messages in dialog boxes so that necessary data can be entered and document can be posted.
    Additional information: 1. No GR needs to be done, 2. GR based IV is unchecked in PO, 3. No validation is active for the company code,
    Thanks & regards,
    Avinash

    Hi,
    Thanks for your response.
    Our problem is not to post a particular invoice doument, the main problem is that error log is not displayed in MIRO. For example if balance is not zero then this error should be displayed in error log dialog box, which is not happening due to which we are not able to post any invoice document as error is not known to the user. Please let me know if any suggestions.
    Additional information: We have deactivated all validations & BADis. We also tried to compare with other systems where error log is displayed properly however our ABAP consultant could not find any difference. Any Input on how to compare is also welcome.
    Thanks & best regards,
    Avinash

  • Validation and  Error Message Dialog Box

    hi,
    I created 2 items DateFrom and DateTo.....when User enter dates into these items I need validate these dates i.e DateTo should be greater than DateFrom
    if it is not so,,,,I need to Popup a Error message in Dialog Box.........
    and this Error should not terminate the Program.
    Thanks in Advanced
    regards,
    Radhika

    Radhika,
    You need to attach PPR event to the Date To column. In the event code in controller, you can validate do the validation and accordingly throw error on the page.
    Why do you need a pop up(javascript alert) for that?
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I just wondering can I ask a user in firefox web browser after they have make a decision on one particular dialog box(e.g. security message choices)?

    Hi
    Basically I am doing a research on usability of information security. I would like to assess how likely people love or hate the security message that being presented to them. so I would like to present a dialog box asking their satisfaction after they have made decision upon security message they received (from web browser). If you could advise me on this. we can have a further discussion and it might be useful for you as developer in future as well. (collaborate for articles and journals publications) Please advise.

    This issue can be caused by an extension that isn't working properly.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You have quite a few extensions installed, so this may be difficult to track down.

  • Need help in makinga message dialog box dissapear automaticly

    hi i have the following code that displays a message dialog box that tells me when a user is online.
    how do i make it disapear automaticly after say, 5 seconds.on msn messenger a similar technique is used where when a user comes online, a message box appears stating who and then dissapears after a couple of seconds..
    i need this to work so that say if a user is away from the pc for such a given time, the message box will just pile up if loads of users have appeared online during the duration that the user was away from his pc..
    here is what i have
    JOptionPane.showMessageDialog(null, "error " + e.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);

    U cant do that using a JOptionPane, use a JDialog instead.
    use dialog.setVisible(true);
    after this start a timertask which executes after 5 seconds and disposes the dialog

  • Odd Shared Variable Dialog Box message

    I came across some odd behavior in the dialog box while I was created a new shared variable.
    As I was typing in the name, I kept see a warning pop up in the dialog.  It would come and go as typed.  I figured out that whenever I typed a space, and thus it was temporarily the last letter in the SV name, the warning popped up.  Type the next letter, the warning would go away.  You can see the space ending the name right before the cursor in the top picture, and the name ending with a normal character in the bottom picture.
    Now it is logical to me that ending a shared variable name with a space would be a bad practice, and should be warned against.  But the warning never actually states that you can't end with a space.  To be more precise, it says you can't have the slash code \s in the variable name.  Now I am not actually entering slash codes, but I am entering spaces.  And they seem to work just fine in the variable name, just not if it is the last character.
    It just seems to be a mismatch between what the warning says, and what you can and can't do.
    Can you have spaces in the SV name?  By my experience you can.
    Also, this in in LV 8.6 on an XP SP3 machine.
    Message Edited by Ravens Fan on 03-05-2009 05:02 PM
    Solved!
    Go to Solution.
    Attachments:
    SV Dialog.PNG ‏48 KB

    ColeTrain wrote:
    Ben, which VI did you use to create your bogus folder? Was this a specific DSC VI or just the generic Create Folder VI? 
    The CAR for that bug was "105656".
    The desription for that CAR was "Create DB while specifying path with space on end creates illegal Windows directory".
    It supposed to create then put then put hte data files in the specified folder. It does the create but has trouble putting the data in the folder.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • JRE 1.6. 0_01 is giving issues in message dialog box size

    Hi There,
    I am displaying message dialog for one of my web application. To resize the dialog automatically, I have set getPrefferedSize() property.
    This is working fine with JRE 1.5.0_11 and all lower version, even ok with 1.4.x. But if I am viewing the applet in a browser having JRE 1.6.0, dialog box size is automatically streatched. Height of the dialog box is increased automatically more than the desktop height. I can not view top & bottom area of the dialog box on my desktop.
    Please guide me why is this issue only with JRE 1.6.0 and what should I do to eliminate & resolve it.
    Thanks.

    Really? I thought all official versions would be downloadable through webstart. I'm curious why would Sun not make them available. Now I need to explain to my higher-ups why I promised to get webstart to automatically update all our user's JRE but now failed to make good. :-(
    Regarding the printing problem: With b105 the printouts would have text that is upside, mirrored and cropped. It was a total mess. The problem is reproducible. We manually upgraded some users to b106 and the problem disappeared completely. I think Sun fixed it in 106 but now the problem is getting all our users onto JRE b106.
    Java Webstart is supposed to do this for me but now it appears to be failing me big time.

  • Using Message Built-In - Message dialog box appears twice

    Hi all,
    I'm using the message built-in to display messages in forms.
    I use the message command twice to make it appear as a dialog box.(Using it once displays it in status bar)
    Eg.
    Message('Hello World');
    Message('Hello World');
    Sometimes, the dialog box appears twice instead of once.
    Is there a way to solve this ?
    Regards,
    Sam

    With an alert, you can write up to 200 characters in the alert box. With a message, you can write up to 255 characters, and if you want the message to pop up in an alert box, you can write a double message. I use:
    Message('Hello World');
    Message(' ',no_acknowledge);

  • Dialog Box Is Open ,Click Ok message in Microsoft Word 2007

    Hi
    Problem
     I have a laptop hpdv9730us on vista home premium. I just installed Microsoft Office Pro. 2007.I get the following error when opening word docs only. I tried a reinstallation of word and Office 2007 and it did not work. 
    “The command cannot be performed because a dialog box is open. Click "OK" and then close open dialog boxes to continue. “
    I have tried everything in this microsoft Link( I pasted it here just in case) and it did not help either. Is there anything else I can try?
    Please note , My word startup folder is empty and the office12 startup folder is empty also. I can not delete anything in it since the folders are empty. Would not know what to delete if the files where there.
     http://support.microsoft.com/kb/827732
    SYMPTOMS
    If you double-click a document (for example, in Microsoft Windows Explorer) to open the document in Microsoft Office Word 2007 , you may receive the following error message:
    The command cannot be performed because a dialog box is open. Click "OK" and then close open dialog boxes to continue.
     CAUSE
    This problem may occur if you have a Word template in your Startup folder that contains an autoexec macro that opens a dialog box.
    Back to the top
    WORKAROUND
    Method 1: Open in Word
    To open the document directly in Word, follow these steps.
    Word 2007.
    1. Start Word 2007.
    2. Click the Microsoft Office Button, and then click Open.
    Method 2: Remove the Template from Your Startup Folder
    To remove a template from your startup folder, follow these steps.
    Word 2007.
    1. Exit Word 2007.
    2. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
    3. Locate one of the following folders:• C:\Documents and Settings\username\Application Data\Microsoft\Word\STARTUP
    Note In Windows Vista, locate the folder C:\Users\username\AppData\Roaming\Microsoft\Word\STARTUP
    • C:\Program Files\Microsoft Office\OFFICE12\STARTUP
    4. Double-click the Startup folder to open it.
    5. In the right Windows Explorer pane, click to select the template that you want to remove, and then press DELETE.
     Note In Windows Vista, locate the folder C:\Users\username\AppData\Roaming\Microsoft\Word\STARTUP
    • C:\Program Files\Microsoft Office\Office11\Startup folder
    4. Double-click the Startup folder to open it.
    5. In the right Windows Explorer pane, click to select the template that you want to remove, and then press the DELETE key.
    Cam someone please help??????? Thank you.

    The templates are in another folder and here is the path
    Local Disk (C)/Users/Username/AppData/Roaming/Microsoft/Templates    not the word folder.
    There are two files here Normal dotm and Email dotm I managed to delete the email dotm but the normal keeps comming back after deleting it. I tested it and the first word doc that I open is normal without the dialog message the second doc I opem gives me the dialog message by this point the normal dotm  has re-appeared after deleting it I have confirmed this by looking in the folder. If someone can tell me how to  get rid  of this file for good my problem is solved. I am sure. I do not know how???????????????

  • Strange message showed up in a dialog box. should i be worried?

    hi. i stepped away from my mac pro (OSX 10.5.8) and when i came back about 20 minutes later saw this message in a dialog box:
    This computer's local hostname "mynames'mac-pro.local" is already in use on this network. The name has been changed to "mynames-mac-pro-2.local". (my real name was where i have typed 'my name')
    To change the local hostname, open System Preferences and click Sharing, then click Edit and type the name in the Local Hostname field.
    i am the only user of my computer so i am wondering if some virus/malware has tried to install something on my computer possibly. Does anyone know why this would show up or what it is about? i don't share files and am the only user of my computer. should i need to change the hostname back to what it was originally?
    thanks in advance for your help!

    oops. after i posted the 'more like this' sidebar showed the answer to this so i'll try to fix this now. thanks.

  • Can i customize the dialog box message

    hi,
    i wnt to change dialog box message in business catalyst like BC Default Message Is
    "ERROR: Please choose relevant options before adding to cart"
    But i want
    "Please Select The Size"
    anyone have any idea please tell me
    thanks

    thanks
    mario_gudelj,

Maybe you are looking for

  • Query for Vendor Payment in SAP

    Hello All, I am a sap abap developer with little knowledge in SAP MM and SAP FI modules. As per some requirement of my company ,i have created a PO then its GR and finally IR. Now when i checked EKBE table (History per Purchasing Document) , i found

  • Help needed ASAP!  Ext. DVD-RW Drive Question

    I need help...I have a Mac Mini purchased in 2005 with just a CD-R (I didn't buy the SuperDrive model). I am wanting to connect a firewire DVD-RW drive to burn a slideshow created in iPhoto. However, I do not have iDVD on the machine, and when I try

  • Problem-OC4J Hanging

    Respected All Oracle ADF/OC4J Users, I Have Developed very large ADF (ADF BC Swing) Application i.e. One ERP Product, It Contains 300 Application Modules (Forms). I deployed this Application as EJB Session Bean on standalone OC4J which is on Fedora C

  • Can I have two versions of Final Cut Pro installed on my Mac

    It is posible to have Final Cut Pro 7 & FCP X installed on my Mac Pro.. currently I'm using FCP 7,

  • Elitebook Folio 9470m - how to create recovery USB in preinstalled Win7?

    Hi, this will be my first post here, so please be gentle I have a new, pretty HP Elitebook Folio 9470m for testing - it came with preinstalled Windows 7 OS. I wanted to check some things, play around with it and as a cautious user I wanted to create