Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 14th, 2005, 8:38 PM   #1
dereko04011
Newbie
 
Join Date: Jan 2005
Posts: 9
Rep Power: 0 dereko04011 is on a distinguished road
Manipulate VB MsgBox buttons

How can I "manipulate" the MsgBox buttons in VB or VBS? I think it's possible, I may have done it before. I have done searches on Google and have found nothing yet.

Heres what I mean:
What I want to do is something like (this is an example: )
MsgBox "Hello!", Hi, "Hello"
So for the Button to click normally say "Ok", "Yes", "No", "Cancel, "Ignore" or "Retry", it should say "Hi".

Hope I explained enough (I have Windows XP Home SP2 Edition, so my VBS version is Up-to-date!)



Thanks,
Derek
dereko04011 is offline   Reply With Quote
Old Jan 15th, 2005, 8:24 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I don't believe you can do it with the standard Windows message boxes - the value telling them which buttons to show is an integer. Fortunately, it's not hard to make your own in VB.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC