Display Confirmation Box

Author Topic
dilip kumar
Member

Joined: 13 Feb 2008
Country: India
Posts: 2

Posted: 13 Feb 2008 14:34:29

Hi there,

i am new to this forum.My requirement is before its inserting the row into the database table it has to ask the user Do You Really want to insert the Record with YES and NO options if the user selects YES then only its has to insert otherwise not.(but i know how to use the Confirm dialog its displaying OK and CANCEL options but i don't want that)

Any help will be greatly appreciated.

Thank you
Jitesh
.Net Consulting

Edited by - Dilipv on 13 Feb 2008 14:377

Hi there,

i am new to this forum.My requirement is before its inserting the row into the database table it has to ask the user Do You Really want to insert the Record with YES and NO options if the user selects YES then only its has to insert otherwise not.(but i know how to use the Confirm dialog its displaying OK and CANCEL options but i don't want that)

Any help will be greatly appreciated.

Thank you
Jitesh
.Net Consulting

Edited by - Dilipv on 13 Feb 2008 14:377
Georgi Kralev
Member

Joined: 19 Oct 2007
Homepage: link
Country: Bulgaria
Posts: 11

Posted: 25 Feb 2008 11:06:12

Hi Kumar,

If MessageBox.Show does not suit your needs you can create your custom dialog form.

The following article demonstrates how to create your user defined dialog:
www.java2s.com/Tutorial/VB/0260__GUI/UserdefinedDialog.htm

You can also check the following article (it is for C# but the same approach could be used for VB.NET)www.akadia.com/services/dotnet_inherited_forms.html

I hope that you will find this information useful.

Regards,

Georgi Kralev

Homepage: gdkralev.googlepages.com

Hi Kumar,

If MessageBox.Show does not suit your needs you can create your custom dialog form.

The following article demonstrates how to create your user defined dialog:
www.java2s.com/Tutorial/VB/0260__GUI/UserdefinedDialog.htm

You can also check the following article (it is for C# but the same approach could be used for VB.NET)www.akadia.com/services/dotnet_inherited_forms.html

I hope that you will find this information useful.

Regards,

Georgi Kralev

Homepage: gdkralev.googlepages.com
Follow us on twitter Subscribe to our RSS feed
Activate your free membership today | Login | Currency