ballad2 ha scritto:
Private Sub Ignitionmap_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
change = 1 ' default change to map when pressing +,- or *,/
previousrow = 0
fuelmapvisible = True
If ReadFlashByte(&H72A98) <> 0 Then ' use clutch map setting to detect if maps have been unified
'
' First ask the user if the user wants to have ignition restrictions removed
'
If (MsgBox("If you press OK then Ecueditor TRE for Hayabusa Gen2 will be activated with ignition unify, using group1 maps for all gears and modes.", MsgBoxStyle.OkCancel) = MsgBoxResult.Ok) Then
'
' First make sure that only ignition group3 is used for tuning
'
WriteFlashByte(&H72A99, 1)
WriteFlashByte(&H72A9A, 1)
WriteFlashByte(&H72A9B, 1)
WriteFlashByte(&H72A9C, 1)
WriteFlashByte(&H72A9D, 1)
WriteFlashByte(&H72A9E, 1)
'
' Make clutch map to use the same ignition map as for other gears too
'
WriteFlashByte(&H72A98, 0)
Else
'
' Giving canlel as answer to question about removing ignition resrictions now means that the ignition tuning shall not be used...
'
Me.Close()
End If
End If
Che differenza c'è tra visual basic 6 e vb.net?