vb.net help
2013-10-15, 07:57 PM,
Since I'm not that good at VB.Net, could someone make me a quick script that loads a messagebox when the program opens with yes/no options and that no closes the program and yes goes to a link using process.start ?
Share This Thread :

2013-10-16, 06:32 PM,
Why you want to use Message Box?

Create another form, make two buttons. First button "Yes" Use process.start and second one "No" use unload form.
2013-10-17, 03:06 AM,
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Me.Visible = False
Const message As String = "YOUR MESSAGE"
Const caption As String = "MESSAGE TITLE"
Dim result = MessageBox.Show(message, caption, MessageBoxButtons.YesNo, MessageBoxIcon.Question)

' If the no button was pressed ...
If result = DialogResult.No Then


ElseIf result = DialogResult.Yes Then
End If
End Sub

End Class
2013-10-17, 03:26 AM,
Thanks for the reply mate.
2013-10-20, 06:01 AM,
thats a very odd bot request. does the entire program need to close?

Related Threads
Thread Author Replies Views Last Post
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 31 12,673 2017-10-28, 04:48 PM
Last Post: waiphyoe
  .Net Expert Required insomniac 6 1,910 2016-09-08, 08:38 PM
Last Post: styx
  VB NET FORM APPLICATION QwertySon 12 2,329 2016-04-27, 08:00 PM
Last Post: Harrington
  HttpWebRequest POST Method Visual Basic . net QwertySon 5 2,096 2016-03-17, 02:59 PM
Last Post: QwertySon
  Youtube api v2 to v3 .net evolution74 7 1,252 2015-06-05, 02:41 AM
Last Post: Jonz

About Us | Contact Us | CPA Elites | Advertise | Stats

© 2013-2018 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top