VB NET FORM APPLICATION
2016-03-04, 02:32 PM,
(This post was last modified: 2016-03-04, 03:05 PM by QwertySon.)
#1
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

End Sub
End Class


How do i change the above (sender As Object, e As EventArgs) part to byval in visual studio community 2015

when i double click a button i have just made i get code above instead of this

Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click, Button2.Click

End Sub

i have recorded the screen check it out

http://www.screencast.com/t/l9k4NV7Jk
Reply
2016-03-04, 03:56 PM,
(This post was last modified: 2016-03-04, 03:59 PM by Code.)
#2
Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.
Reply
2016-03-04, 04:07 PM,
(This post was last modified: 2016-03-04, 04:10 PM by QwertySon.)
#3
(2016-03-04, 03:56 PM)Code Wrote: Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.
okay

(2016-03-04, 03:56 PM)Code Wrote: Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.

have checked i think everything is okay
Reply
2016-03-04, 04:13 PM,
(This post was last modified: 2016-03-04, 04:13 PM by Code.)
#4
(2016-03-04, 04:07 PM)QwertySon Wrote:
(2016-03-04, 03:56 PM)Code Wrote: Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.
okay

(2016-03-04, 03:56 PM)Code Wrote: Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.

have checked i think everything is okay

Zip the file and send it to me, i will take a look.
Reply
2016-03-04, 04:19 PM,
#5
(2016-03-04, 04:13 PM)Code Wrote:
(2016-03-04, 04:07 PM)QwertySon Wrote:
(2016-03-04, 03:56 PM)Code Wrote: Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.
okay

(2016-03-04, 03:56 PM)Code Wrote: Go to your button properties and click on the thunder thing(event handlers) , checkout if there is a wrong setting there.

have checked i think everything is okay

Zip the file and send it to me, i will take a look.
okay
Reply
2016-03-04, 07:27 PM,
(This post was last modified: 2016-03-04, 07:33 PM by QwertySon.)
#6
i got help from http://www.cpaelites.com/User-Code ; this is the correct code


Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WebBrowser1.Navigate("//www.youtube.com")
End Sub
End Class


but this is not working

Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WebBrowser1.Navigate("http//www.youtube.com")
End Sub
End Class

each of these codes give difference results . just incase somebody else gets an error like me with visual studio 15

https://gyazo.com/483b65a7b3c8cd905b23c4c3f499ac52
https://gyazo.com/ac08b9743cf5ba3cc1ba3ea23f1fe656
Reply
2016-03-04, 08:45 PM,
#7
Set ScriptErrorsSuppressed property to True
Latest Thanks - View all

QwertySon(2016-03-04 09:25 PM) 

Reply
2016-03-04, 09:29 PM,
(This post was last modified: 2016-03-04, 09:30 PM by QwertySon.)
#8
(2016-03-04, 08:45 PM)Diamondo Wrote: Set ScriptErrorsSuppressed property to True

haven't got that option in visual basic

i have followed instructions on this video https://www.youtube.com/watch?v=vX4kj5YyRmQ
Reply
2016-03-04, 09:59 PM,
(This post was last modified: 2016-03-04, 10:00 PM by Quobi.)
#9
(2016-03-04, 09:29 PM)QwertySon Wrote:
(2016-03-04, 08:45 PM)Diamondo Wrote: Set ScriptErrorsSuppressed property to True

haven't got that option in visual basic

i have followed instructions on this video https://www.youtube.com/watch?v=vX4kj5YyRmQ

I was talking about WebBrowser control.

Add this on form load event: WebBrowser1.ScriptErrorsSuppressed = True
Latest Thanks - View all

QwertySon(2016-03-04 10:13 PM) 

Reply
2016-03-04, 10:21 PM,
#10
(2016-03-04, 09:59 PM)Diamondo Wrote:
(2016-03-04, 09:29 PM)QwertySon Wrote:
(2016-03-04, 08:45 PM)Diamondo Wrote: Set ScriptErrorsSuppressed property to True

haven't got that option in visual basic

i have followed instructions on this video https://www.youtube.com/watch?v=vX4kj5YyRmQ

I was talking about WebBrowser control.

Add this on form load event: WebBrowser1.ScriptErrorsSuppressed = True

okay
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Aeonsofts VB.NET Theme Manager v2.1 lanzye 29 9,712 2017-06-20, 06:55 PM
Last Post: storix
  .Net Expert Required insomniac 6 1,535 2016-09-08, 08:38 PM
Last Post: styx
  HttpWebRequest POST Method Visual Basic . net QwertySon 5 1,399 2016-03-17, 02:59 PM
Last Post: QwertySon
  Youtube api v2 to v3 .net evolution74 7 937 2015-06-05, 02:41 AM
Last Post: Jonz
  form in wordpress site Big Chief 6 518 2015-02-25, 03:06 PM
Last Post: regzastyle




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

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