
Please help this noob.

Thanks in advance.

Moderator: Community Moderator
Lol this is an easy one, you must be new, i am somewhat advanced (but even i need help at times..) at it so if you need a teacher.. yea..Eternal wrote:What i want to make is when i open the application created in VB, a message box appears having two buttons "OK" and "Cancel". When the OK button is pressed, a particular link is opened in the web browser. Also in the message box, the link which will be opened should not be seen.![]()
Please help this noob.![]()
Thanks in advance.
Code: Select all
Dim MyFirstMessageBox As String
MyFirstMessageBox = MessageBox.Show("CHANGE THIS TEXT TO WHATERVER YOU WANT!", "NAME OF PROGRAM", MessageBoxButtons.OKCancel)
If MyFirstMessageBox = vbOK Then
Dim webAddress As String = "http://chattchitto.com" 'CHANGE THIS TO YOUR URL
Process.Start(webAddress)
Else
End If
Thanks bro, exactly what i needed. And yup, m new to this programming and stuff. Just trying to learn the basic atm. Thanks again.MASTALOL wrote:Lol this is an easy one, you must be new, i am somewhat advanced (but even i need help at times..) at it so if you need a teacher.. yea..
Ok here is the code..
Code: Select all
Dim MyFirstMessageBox As String MyFirstMessageBox = MessageBox.Show("CHANGE THIS TEXT TO WHATERVER YOU WANT!", "NAME OF PROGRAM", MessageBoxButtons.OKCancel) If MyFirstMessageBox = vbOK Then Dim webAddress As String = "http://chattchitto.com" 'CHANGE THIS TO YOUR URL Process.Start(webAddress) Else End If