hi

how do i give a name to a dialog box? when i put MessageBox.Text it gives me an error n i cant run the program.. what shd i do?

thanks!

If you are talking about the standard messagebox:
MessageBox.Show(text, caption)
Text is a string that appears in the main part of the box, caption is what appears in the Title Bar.

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.