Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 15th, 2004, 09:59 AM
Registered User
 
Join Date: Mar 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Change the background color of a msgbox

Hi there...

how can i change the colour of a msgbox?

Tks
[email protected]

 
Old October 15th, 2004, 11:08 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Unless it is an optional parameter, probably you can't.

Brian
 
Old October 27th, 2004, 09:35 AM
Registered User
 
Join Date: Oct 2004
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Nobre,

You only can change the follow MessageBox attributes:

1. Title
2. Icon
3. Buttons
4. Default Button
5. Message (of course :D)

Try using MessageBox.Show instead of MsgBox, because it is VS compliant.

See you,

Roberto Lopes


Roberto Lopes
MCP VB
 
Old October 28th, 2004, 09:37 AM
Aal Aal is offline
Authorized User
 
Join Date: Oct 2004
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

a long road to make it . . .
why don't you use a form that you make just like a msgbox
you can control it as you like, if you want to make it like you want to






Similar Threads
Thread Thread Starter Forum Replies Last Post
Change background color using CSS pigtail Javascript How-To 9 April 4th, 2010 11:13 AM
change color of background meena88 C# 2005 3 December 1st, 2009 04:48 AM
change background color of inputbox vickriz Javascript How-To 3 December 1st, 2009 02:22 AM
change background color of toolbar control myth12345 VB How-To 1 January 6th, 2005 12:25 AM
change background color of cell based on value vurtman ASP.NET 1.0 and 1.1 Basics 4 February 26th, 2004 03:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.