Errors, Warnings, Messages

Hi,

When I bring up the Error List window, I get the options to display Errors, Warnings, and Messages. I know what errors and warnings are (as I have had several). But, I have never seen a Message. What constitutes a message?

[300 byte] By [JamesA.Gayhart] at [2007-12-29]
# 1

Hi,

If you change your destktop screen resolution you will get a MESSAGE like

"Do you want to keep these settings Yes | No" with a countdown timer appearing, is one example.

Regards,

S_DS

Spidermans_DarkSide at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2
Yeah, I have seen message boxes like that, but they don't show in the Error List window in Visual Studio.
JamesA.Gayhart at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3
James A. Gayhart wrote:

Hi,

When I bring up the Error List window, I get the options to display Errors, Warnings, and Messages. I know what errors and warnings are (as I have had several ). But, I have never seen a Message. What constitutes a message?

I quote again; "I have never seen a Message", you didn't say a Visual Studio message ( presuming that others exist other than error messages or warning message).

What about a program generated message?

You can CATCH system error messages and display your own instead if you want too.

Try

'Do some code.

Catch ex As Exception

MsgBox(ex.ToString) 'or

MsgBox(" There was an error!!")

End Try

Regards,

S_DS

Spidermans_DarkSide at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 4

Try adding the following to your code:

'TODO: This message will show up as a task

That will display a task on the task list.

Hope this helps,

MSFTAbelValadez at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 5

Hi,

Yeah, I am aware of that, and I use that feature frequently. But, as you mentioned, it shows up in the Task List window under Comments. I am trying to find out what appears as a Message in the Error List Window.

JamesA.Gayhart at 2007-9-4 > top of Msdn Tech,Visual Basic,Visual Basic IDE...