944,044 Members | Top Members by Rank

Ad:
Oct 29th, 2007
0

msgbox that includes "yes to all" and "no to all"

Expand Post »
Hi Guys,

I am a newbie and need some help. Is it possible to extend the message box functions to include buton "Yes to all and "no to all" in vb6

Kind regards
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Pareshja is offline Offline
10 posts
since Oct 2007
Oct 29th, 2007
0

Re: msgbox that includes "yes to all" and "no to all"

Hi,

Create a Custom MessageBox of Your own.:
1. Add a new for say frmMsg
2. Add a LabelControl To Display Message.
3. Make Controls WordWrap = True
4. Add 5 Command Buttons
5. Name them :Yes, No, Cancel, YesToAll, NoToAll
6. Add a Public Variable in a Module. and Populate it with Some Number in each CommandClick say ... 1,2,3,4,5
7. In Calling Form use this Code:

[code=vb]
frmMsg.Label1.Caption ="Want To Delete..?"
frmMsg.Show 1
[code]

And check for the Public Variable for which button is clicked..

REgards
Veena
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006
Oct 29th, 2007
0

Re: msgbox that includes "yes to all" and "no to all"

Cool thanks Veena. Your a star

Kind regards
Paresh
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Pareshja is offline Offline
10 posts
since Oct 2007
Oct 30th, 2007
0

Re: msgbox that includes "yes to all" and "no to all"

Need more help. How do I stop the application so that it can wait for the answer from the frmMsg and only when I selected a button should it carry on execution of the program.

Regards
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Pareshja is offline Offline
10 posts
since Oct 2007
Oct 30th, 2007
0

Re: msgbox that includes "yes to all" and "no to all"

when you call the form add vbmodal

frmmsg.show vbmodal
Reputation Points: 10
Solved Threads: 16
Posting Whiz in Training
plusplus is offline Offline
207 posts
since Jul 2007
Oct 30th, 2007
0

Re: msgbox that includes "yes to all" and "no to all"

Cool, thanks. Works perfect
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Pareshja is offline Offline
10 posts
since Oct 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Tips on Converting a DAO syntax to ADO
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Marquee or Scrolling Text message in Statusbar using VB6





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC