Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 15th, 2004, 09:59 AM
Registered User
 
Join Date: Mar 2004
Location: Porto, , Portugal.
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
nobreferreira@sapo.pt

Reply With Quote
  #2 (permalink)  
Old October 15th, 2004, 11:08 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

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

Brian
Reply With Quote
  #3 (permalink)  
Old October 27th, 2004, 09:35 AM
Registered User
 
Join Date: Oct 2004
Location: Toronto, ON, Canada.
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
Reply With Quote
  #4 (permalink)  
Old October 28th, 2004, 09:37 AM
Aal Aal is offline
Authorized User
 
Join Date: Oct 2004
Location: , , .
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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 03:48 AM
change background color of inputbox vickriz Javascript How-To 3 December 1st, 2009 01:22 AM
change background color of toolbar control myth12345 VB How-To 1 January 5th, 2005 11:25 PM
change background color of cell based on value vurtman ASP.NET 1.0 and 1.1 Basics 4 February 26th, 2004 02:52 PM



All times are GMT -4. The time now is 01:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.