Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Chr(13)
- Chr(10)
- vbLf
- vbCr
- vbCrLf
- vbNewLine
- "<br>"
- Function mshta(ByVal MessageText As String, Optional ByVal Title As String, Optional ByVal PauseTimeSeconds As Integer)
- 'mshta.exe as an alternative for msgbox
- '[...] some other stuff
- Dim ConfigString As String
- Set WScriptShell = CreateObject("WScript.Shell")
- ConfigString = "mshta.exe vbscript:close(CreateObject(""WScript.Shell"")." & "Popup(""" & MessageText & """," & PauseTimeSeconds & ",""" & Title & """))"
- WScriptShell.Run ConfigString
- End Function
- mshta "Hello<magic?>World"
- Hello
- World
Add Comment
Please, Sign In to add comment