Ciao ragazzi ho un problema
ho una classe in vb che devo tradurre in vb.net ma non ci riesco, riuscite a darmi una mano?
questa è la classe vb.
VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
Persistable = 0 'NotPersistable
DataBindingBehavior = 0 'vbNone
DataSourceBehavior = 0 'vbNone
MTSTransactionMode = 0 'NotAnMTSObject
END
Attribute VB_Name = "SerialCheck"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Public Function GetDllVersion() As Integer
GetDllVersion = 1
End Function
Public Function GetSerialOK(Wnd As Long, Serial As String, User As String, Company As String) As Integer
If (Serial = "1234") Then
GetSerialOK = 1
Else
GetSerialOK = 0
End If
End Function
Grazie anticipate
Ciao