Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== confirm ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Displays a message in a simple dialog box with the OK button and the Cancel button ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strMessage** ==== Return Value ==== * [[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]] **pvbAnswer** ===== Syntax ===== ==== JavaScript ==== <code javascript> var pvbAnswer = Application.confirm(strMessage); </code>==== Visual Basic Script ==== <code vb> pvbAnswer = Application.confirm strMessage </code>==== C++ ==== <code cpp> VARIANT_BOOL pvbAnswer; HRESULT hr = Application.confirm(strMessage, &pvbAnswer); </code>===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~