Question : How to close Win Form without User Interaction

Hi

I have a windows Form which display reports using Crystal Report Object & then export the reports in .pdf format & save it.
This application need to run every day. I scheduled the .exe through Windows Schedular but my problem is everyday it runs & open up a new form & then the form stays there. How can I close the Form without any user as there is no one to click the 'X' button in the form.

Please suggest.

Regards,

Answer : How to close Win Form without User Interaction

What you really should do is create a windows service (which also will start up with windows on a power failure). Then export the report using only the reportobject (ie: without placing it on a form). I have just done the same thing , only using SSRS. Works great. If you are keen for more help on this approach .. please let me know.

Random Solutions  
 
programming4us programming4us