I seem to be transitioning from VB6 to VB.Net very unevenly - got some
fancier things working OK but then trip over something that ought to
be simple in .Net:
It's the change in WinForm instantiation that I've clearly got a block
understanding. What I want to do is something very straightforward:
I have one main form (Form1) that is allowed to instantiate itself as
per the default mechanism. I'm then writing classes for some heavy
processing that will be instantiated in Form 1. What I need to do is
very simply to change Form1.text programmatically to reflect the state
of processing inside of the child classes, but can't get a reference
to Form1
I thought that something like
Public Class Processor
Dim F1 as New Form1
... etc
End Class
might do the trick, but just gives a StackOverflow exception on
compilation. I know this is something pretty basic but anyone able to
point out the errors of my ways please?
JGD