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
  Need Few Instructions That Can Help me Create Video Whiteboard Animation EvaHarrison 1 346 2018-08-17, 05:53 PM
Last Post: CharlieHarper
  help with embed adult videos to my site adlof 1 518 2018-02-16, 10:22 PM
Last Post: Enabled
  Need help is possible? shikoattia 1 561 2018-01-28, 03:25 PM
Last Post: CharlieHarper
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 31 12,997 2017-10-28, 04:48 PM
Last Post: waiphyoe
  help templet error W3C vip2 0 345 2017-08-24, 10:45 PM
Last Post: vip2

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

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