jvcoach23
Well-known member
Im trying to create a public class within my form1. Im going to be using it (my goal anyway) inside this class so that I can call this class from a thread.start. Anyway.. when I try to tell my dataset where to get the data from, it give me an error of declaration expected. If I use the same syntax outside of this class, just with my form class it works fine. What am I not understanding and how do I fix it.
thanks
Code:
Public Class TestingClass
Dim ds as new DataSet
ds = dlPerfmon.spServer(company, server)
End Class
thanks