D
dm1608
Hi --
I have a VB6 application that I plan on rewriting in C#.NET. The program
today basically connects to a SQL Server and parses varies system stats from
our mainframes and rolls the data up for up/downtime statistics, etc.
Since the current program today requires me to click various buttons and
tabs to load/review the information being parses and saved, I would like to
implement this applications as both a Windows Forms and Console application.
My thought was that I can run the Windows Form application like normal and
manually click buttons and stuff to perform the desired function. However,
I would also like the ability to run the .EXE via a scheduler, if needed, to
automated this process as well.
Can anybody provide me some points on how I can have both features in the
same application?
In addition, how can I check whether I'm running in console mode vs windows
mode in order to execute the correct events automatically?
Thanks for any help.
I have a VB6 application that I plan on rewriting in C#.NET. The program
today basically connects to a SQL Server and parses varies system stats from
our mainframes and rolls the data up for up/downtime statistics, etc.
Since the current program today requires me to click various buttons and
tabs to load/review the information being parses and saved, I would like to
implement this applications as both a Windows Forms and Console application.
My thought was that I can run the Windows Form application like normal and
manually click buttons and stuff to perform the desired function. However,
I would also like the ability to run the .EXE via a scheduler, if needed, to
automated this process as well.
Can anybody provide me some points on how I can have both features in the
same application?
In addition, how can I check whether I'm running in console mode vs windows
mode in order to execute the correct events automatically?
Thanks for any help.