K
KitKat
Why am I getting this:
An error occurred creating the form. See Exception.InnerException for
details. The error is: Could not find any resources appropriate for the
specified culture or the neutral culture. Make sure
"Rvideo.frmRvideo.resources" was correctly embedded or linked into assembly
"Rvideo" at compile time, or that all the satellite assemblies required are
loadable and fully signed.
Imports System.Reflection
Public Class ApplicationControls
Public Shared Function FindControl(ByVal owner As Form, ByVal name As
String) As Control
Dim propInfo As PropertyInfo = _
owner.GetType().GetProperty(name, BindingFlags.IgnoreCase Or _
BindingFlags.Instance Or BindingFlags.NonPublic Or BindingFlags.Public)
If Not propInfo Is Nothing Then
Dim value As Object = propInfo.GetValue(owner, Nothing)
If TypeOf value Is Control Then
Return value
End If
End If
Return Nothing
End Function
End Class
An error occurred creating the form. See Exception.InnerException for
details. The error is: Could not find any resources appropriate for the
specified culture or the neutral culture. Make sure
"Rvideo.frmRvideo.resources" was correctly embedded or linked into assembly
"Rvideo" at compile time, or that all the satellite assemblies required are
loadable and fully signed.
Imports System.Reflection
Public Class ApplicationControls
Public Shared Function FindControl(ByVal owner As Form, ByVal name As
String) As Control
Dim propInfo As PropertyInfo = _
owner.GetType().GetProperty(name, BindingFlags.IgnoreCase Or _
BindingFlags.Instance Or BindingFlags.NonPublic Or BindingFlags.Public)
If Not propInfo Is Nothing Then
Dim value As Object = propInfo.GetValue(owner, Nothing)
If TypeOf value Is Control Then
Return value
End If
End If
Return Nothing
End Function
End Class