我無法制作Msgbox模式。每次我添加',+ vbSystemModal'到最後,它只是打破我的腳本說 - 無效的過程調用或參數:'Msgbox'如何在VBS中創建Modal Msgbox
我正在使用類似於下面的代碼(但更長,與更多的電話和東西)
MsgBox "Hello " & objUser.givenName & ", Please note that your password Expires in " & daysLeft & " day(s)" & " at " & whenPasswordExpires & chr(13) & chr(13) & "You have less than one day left! It is advised that you update your password immediately to avoid network issues." & chr(13) & chr(13) & "Please press CTRL-ALT-DEL and select the 'Change a password' option before your password expires!", "PASSWORD EXPIRATION WARNING!", +vbSystemModal
它調用daysleft和用戶名打破它嗎?我怎樣才能解決這個問題,使之成爲模態信息?
在此先感謝。
編輯:如上所述,使用「,+ vbSystemModal」只是打破腳本。
可能的重複[創建VBScript留在頂部並阻止其他窗口](http://stackoverflow.com/questions/11394432/create-vbscript-messagebox-that-stays-on-top-and-blocks-其他窗口) – Lankymart
請發佈完整的電話,你犯了這個錯誤,到目前爲止,你剛剛發佈的字符串減去'MsgBox' ?? – Lankymart