Hi microm,
Code below worked at my pc
mshta.exe vbscript:Execute("MsgBox ""tetttedghdhbcccc"", vbOkOnly, ""title""")(window.close)
and the second code working too... Possible to use that to read string from text file then view at the msg box?
> You don't need to use mshta to pop up a message box. You can do it directly in vbscript
as per @strongm explained..
> & m & and & m &
I try this from my side. Nothing come out too.. Im using windows 10. Any setting should I look for?
But when I try run using templates code, its working.
Using example below, i want my code that will open a msgbox that contain string from txt file.
Option Explicit
Dim wsh : Set wsh = CreateObject("Wscript.Shell")
'Message boxes that don't wait for a return to continue. No return values.
MsgBlank "tetttedghdhbcccc", "title"
'Functions for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.