Hi all,
I am a VB6 developer, so please excuse the simplicity of this question.
I have set my application to start with sub main(). so that it loads a form.
in .net this is not happening. The form appears and closes again. I do not understand how to get around this???
I know garbage collection destroys all classes not in use. The problem is this class is waiting for use.
Have I made this any clearer? Please help.
the VB6 equivalent would be:
Sub Main
'stuff before
load frmsystray
'stuff after
end sub
thanks in advance for any help offered.
I am a VB6 developer, so please excuse the simplicity of this question.
I have set my application to start with sub main(). so that it loads a form.
in .net this is not happening. The form appears and closes again. I do not understand how to get around this???
I know garbage collection destroys all classes not in use. The problem is this class is waiting for use.
Have I made this any clearer? Please help.
the VB6 equivalent would be:
Sub Main
'stuff before
load frmsystray
'stuff after
end sub
thanks in advance for any help offered.