calling custom class from vb.net app
Posted on 2005-05-04
I have created a custom class which parses an xml document and writes a converted text file to the same directory.
I created a Convert() subroutine in the class which does the actual reading and extraction. I call the subroutine from within the New() constructor since the class is rather simple. It's my (way too inexperienced) understanding that the New() sub gets called each time an instance of the class is created from within the calling application. Is this true?
It doesn't appear to be working however. Before I write a million msgboxes for debug, I thought I would ask if the way I am approaching this is fundamentally flawed in some way. I mean is, is it okay to call the sub which actually does the work from the New() constructor?