Hello, I have this code:
Imports System.IO
Imports Newtonsoft.Json.Linq
Public Class Form1
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Dim channel As JObject = JObject.Parse(File.ReadAllText("C:\stats.json"))
Dim points = channel.GetValue("points").ToString()
Label1.Text = points
End Sub
And I have a button, which, in the case, I want every time it is pressed, add +30 to points
.
How to do this? Thanks in advance.