I am trying to code with "option strict" = on
this code is working with "option strict" = off
So what did i miss to make it possible for option strict?
![[Image: 5XJ7c.png]](https://i.imgur.com/5XJ7c.png)
Error message:
this code is working with "option strict" = off
So what did i miss to make it possible for option strict?
![[Image: 5XJ7c.png]](https://i.imgur.com/5XJ7c.png)
Error message:
Code
Error 1 Overload resolution failed because no accessible 'New' can be called with these arguments:
'Public Sub New(start As System.Threading.ParameterizedThreadStart)': Option Strict On does not allow narrowing in implicit type conversions between method 'Private Sub mysub(ms As Integer)' and delegate 'Delegate Sub ParameterizedThreadStart(obj As Object)'.
'Public Sub New(start As System.Threading.ThreadStart)': Method 'Private Sub mysub(ms As Integer)' does not have a signature compatible with delegate 'Delegate Sub ThreadStart()'. C:\Users\***\AppData\Local\Temporary Projects\WindowsApplication1\Form1.vb 5 13 WindowsApplication1


