Storing path of file

In my current project I ran into having to declare my string just after the Public class so that other subs could access it
VB.NET:
Public Class Form1

Dim a As String

Public Sub FindFile()

a = "C:\YourFile.ext"

End Sub

End Class
If that's not it you can store it in xml.
 
Back
Top