I would like to create a VBScript file that opens a msgbox that has the options "Yes or No" and maybe a question mark icon. I would like yes to open a specified path to a file, and no to end the program. I want the dialogue box to say: Would you like to eject the CD drive?... I have this code (cd eject) so don't need it. But I do need to figure out the code to create the message box ad to open the vbs script upon Yes. Any help would be greatly appreciated. Thanks!
Related Questions in VBSCRIPT
- use vbScript to detect whether the laptop is connecting the power supply
- Error Code 800A03EC in VBS when pasting formula into Excel
- Why is the WMI win32_Process commandline property is giving null for only some processes of non-admin users?
- Group By value to store as a Variable
- 0014 W3602 : Error 0 on line 19, column 1: : will trying to get value from table
- error "800A004C" with too long path with recursive folder serarch
- timer is not working for message box in vb script
- Comparing numeric values not as expected (VBScript)
- Received Script that is a possible virus. What does it do?
- Excel VBA Macro after M365 migration "Runtime error '380': A script engine for the specified language can not be created"
- Can I skip PDF form fields from being filled in an FDF?
- run VBScripts in DosBox-X
- Can I run a program and interfere with its interface using VBS? Possibly with sendkey/click?
- Varchar(max) causing other other accesses of the record set to return null
- Fixing roman numerals with regex and VBScript
Related Questions in MSGBOX
- problem invoking msgbox after closing one document in python. object has no attribute 'getCurrentController'
- Messagebox (OK/Cancel) appears twice on Cancel
- Blocking cell editing after using msgbox
- Find empty cells and print their names in MsgBox
- Excel VBA, MsgBox Yes or No, but must be "Si" or "No"
- PowerShell : How to run a script by double clicking on it ? (without 'Run with Powershell')
- Use MsgBox in Inno Setup to ask questions before Installation
- VBA - MsgBox in Modeless UserForm, how to get the UserForm Object from its Handle retrieved with the API function GetActiveWindow?
- I am a beginner with vbscript and this msgbox popup many times as it reads the string mutilple times. Can we do something so it only throw one msg
- Closing a MsgBox after a certain amount of time in VB.NET?
- VBA - Msgbox inside a Loop
- Excel VBA Scheduled message pop up box reminder
- Prevent a MsgBox from a different VBA script from popping up
- How to add an icon to the title of messagebox in VB.NET 2010
- How to call the MsgBox Function
Related Questions in CD-DRIVE
- trying to read dvd/cd drives and populate combo box in c#
- IJolietDiscMaster::AddData Compatability with 64 Bit Operating System
- Python: Opening/Closing CD drive swiftly
- Win32_LogicalDisk Access Property Always Unknown in PowerShell
- ioctl to detect a disc in upside direction
- Visual Basic "msgbox" and GoTo command
- How to check if CD drive is open or closed in linux?
- CD-Drive removing using Java API
- Problems with Batch to EXE running off CD
- How do I open a folder from CD drive using VB.NET?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I would suggest looking at the MsgBox function here. Also, information on the Run function. Both have examples showing what you're asking for.