Using Function return in global variable vb.net
- by Cold Assassin
Can't seem to figure out how to use a function return variable in global Dims
example code:
Public Class Main
Dim Path As String = FixPath()
Dim fixwrongtxt As String = Path & "tryme.txt"
Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
FixPath()
On_load()
End Sub
Private…