I am using MsgBox to display warnings msg, it is a simple way to display any simple msg instead of MessagDialog class .
Dim result as integer
result = MsgBox(“messages” ,48, “Title”)
MsgBox str(result)
unfortunately this way display a second msg showing a number “1”.
Any example about this subject ?

Naturally, since that’s what this line does:

MsgBox str(result)

Delete it if you don’t want the second Msgbox.

What do you want to know?

MsgBox is a method that returns 0 or 1
So you show a message , then you show the result.
If you dont want to see the “1”, dont do the second MsgBox…

Ok, Jeff.