1
I need to record a decimal Dword record in Visual Basic Express 2013.
How the code was written:
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
Dim Dec As Decimal
Dim Numero = 22I
My.Computer.Registry.SetValue("HKEY_CURRENT_USER\Software\MinhaChaveCriada",
"DECIMAL" & Dec, Numero, Microsoft.Win32.RegistryValueKind.DWord)
End Sub
When write to the record it is adding a 0 "ZERO" in front of the creation text that would be "DECIMAL" only and not DECIMAL0 it always puts that zero.
The only reason I don’t kiss you is 'cause you’re a man' .
– Perroni
This is how it is for those who are working with the records. Private Sub Button5_click(Sender As Object, and As Eventargs) Handles Button5.Click Dim Numero = 22I My.Computer.Registry.Setvalue("HKEY_CURENT_USER Software Menvecriad", "DECIMAL", Numero, Microsoft.Win32.RegistryValueKind.Dword) End Sub
– Perroni