Hi all,

I want to change the color of the messagebox same as the color of the form.

How can we change the default color of a project in VB.net?

If any one having comments regarding this matter please post them

Thanx

Recommended Answers

All 2 Replies

How can we change the default color of a project in VB.net?

You could change in each form with Me.BackColor = <color> . I'm not sure if you could do a project template with your own color(s).

I want to change the color of the messagebox same as the color of the form.

There's no direct way to do it. Either implement your own messagebox class or read this article from MSDN.

HTH

Try making a custom dialog box. A custom dialog box is a regular modal form with buttons designated to return a dialog result.

If you need more info, I'll can try to help you.

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.