• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 55
  • Last Modified:

Warning Sign in the middle of a message box

Hi All,

I am trying to create a message box in vbscript. I need to put a warning sign, but it only appears on the top. Could someone please help?

Here is the code.

intAnswer = _
    Msgbox("This is a Test." & vbCrLf & vbCrLf & "Testing will begin in 1 minute." & vbCrLf & vbCrLf & " I need warning sign at this line before the text. " & vbCrLf & vbCrLf & "Select Yes to Start or No to Exit.", _
        vbYesNo + VbExclamation, "Help Me")

2 Solutions
Simply put, it's not possible.
You'll have to use a custom form.
Ryan ChongCommented:
alternatively, try put "This is a Test." & vbCrLf & vbCrLf & "Testing will begin in 1 minute" as the message box's Caption ?

else, we need to create a custom form or component to customize the message output.
Vicki05Author Commented:
Thanks for the suggestions. I actually moved my warning text on top. This solved my issue.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now