hexagon logo

i need a work around for the "Cancel" Button.

I have been searching for a possible solution to my problem and not had a whole lot of luck. For starters I have 7107 silver advantage CMM with 2014.1 PC DMIS. My problem is that i need a way to ask for an operator input of "YES" or "NO" without the operator having the ability to use the "Cancel" button that is in the input pop up screen. I need a definitive way to get a YES or NO answer without the operator being able to hit cancel and stop the program instead of answering. Any suggestions would be greatly appreciated
.
Parents
  • Here is a small applet that simply offers a YES NO dialog box. Optionally you can add the question to dialog through a command line parameter or use a file that is located in the same folder.



    This is a standalone program that can be launched from another program to get a response of yes or no.

    Example:

    yesno.exe Do you want to print?

    This will give you a YES NO dialog box with Do you want to Print" in the instruction window.

    After the operator selects one of the choices, a text file called yesno.txt is created with the answer on the first line. Other lines include the question and the date and time of the response.

    You may also use a file instead of the command line parameter to ask the question. The file is named yesno.ask. Place the question to be asked on the first line only. It will be read in when the yesno.exe is launched.

    When used in PCDMIS, use the external command function and select to have PCDMIS wait for the called program to close.

    https://dl.dropboxusercontent.com/u/40148759/ForumLinks/Permanent/yesno/yesno.zip

    the yesno.exe file can be placed anywhere you want such as the folder where your parts are stored or if you organize your parts into their own folders, you could put it into each folder. There is no install required.
Reply
  • Here is a small applet that simply offers a YES NO dialog box. Optionally you can add the question to dialog through a command line parameter or use a file that is located in the same folder.



    This is a standalone program that can be launched from another program to get a response of yes or no.

    Example:

    yesno.exe Do you want to print?

    This will give you a YES NO dialog box with Do you want to Print" in the instruction window.

    After the operator selects one of the choices, a text file called yesno.txt is created with the answer on the first line. Other lines include the question and the date and time of the response.

    You may also use a file instead of the command line parameter to ask the question. The file is named yesno.ask. Place the question to be asked on the first line only. It will be read in when the yesno.exe is launched.

    When used in PCDMIS, use the external command function and select to have PCDMIS wait for the called program to close.

    https://dl.dropboxusercontent.com/u/40148759/ForumLinks/Permanent/yesno/yesno.zip

    the yesno.exe file can be placed anywhere you want such as the folder where your parts are stored or if you organize your parts into their own folders, you could put it into each folder. There is no install required.
Children
No Data