Running a Program in 'Silent' Mode

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written a VB.NET application, and want to be able to invoke it with
parameters, to run without a user having to interact with it. I do still
want to see any status messages the program generates (dialog boxes are
suppressed in this mode, but there are still counters, etc. that display).

I am currently invoking the functions of the program from the Form_Load
procedure - then ultimately, the program is closed from here also, when in
this mode. I am guessing that since the Form_Load never finishes processing
completely, that is why the form is never displayed, and the user never sees
anything.

What do I need to change to allow the form (or some other form, if
necessary) to display on the screen? Should I be using something like the
Sub Main as the startup entry point, rather than a form?

- Thanks,

JRD
 
Back
Top