Explore BrainMass

Explore BrainMass

    Process Action Code

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Within the zip folder you'll find a line in the "Process Action" section of code (Look near the very bottom)
    the line reads something like:

    MSGBOX(strDisplayResult)

    this needs to be changed to:

    1) before displaying the results, add a question at the end of the string (strDisplayResult) that reads "Do you wish to quit?"

    2) Put a title on the messagebox

    3) Add Yes/No Buttons to the messagebox, and make "No" the default button. (Might take a little experimenting. I'll give you a hint: Yes is default button 1, so No would be...)

    4) Okay, now display the result string and retrieve the button pushed by the user.
    (btn = Msgbox( {whatever goes inside} )

    5) If the user pressed "Yes", then End the program,
    If btn = {yes button} then
    End
    Endif

    That should do it! Zip it up with the same folder name

    Thank you

    © BrainMass Inc. brainmass.com March 4, 2021, 6:10 pm ad1c9bdddf
    https://brainmass.com/computer-science/algorithms/process-action-code-32812

    Attachments

    Solution Summary

    The process action codes are determined.

    $2.49

    ADVERTISEMENT