I'm having issues debugging my project as i'm getting a "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object."
It appears it relates to the following line
Private allfiles = lynxin.GetFiles("*.txt")
from the below declarations
Public Class Form1
Private numfiles As Integer
Private AllDetail() As FileDetail
Private allfiles = lynxin.GetFiles("*.txt")
Private AllDetails(allfiles.Count) As FileDetail
I'm needing these set so they can be accessed for all controls within Form1
I've read through the troubleshooting tips but cannot seem to fix the issue without moving the line back within the control its primarily used in