Yea I actually figured it out now, I should've just used ByVal when passing the class. Thanks for your help.
Forum Rules