hi my problem is that there is no msgbox"Hi this is my first" coding but my programme showing above message box on form loading event. Please help

Recommended Answers

All 2 Replies

Just to clarify, you want to show a messagebox when the form first loads correct?

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        MessageBox.Show("Hello World" _
                        , "Messagebox Caption Here" _
                        , MessageBoxButtons.OK _
                        , MessageBoxIcon.Information)
    End Sub

End Class

hmm i think he meant that his program shows the messagebox even there is no code for in the load event.

just post your code here and see if we find it ;)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.