How to hide the Forms window for unattended execution

Stimulsoft Reports.NET discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

How to hide the Forms window for unattended execution

Post by fuhrj »

I have a series of reports that I want to kick off via a script and save to PDF format.

The reports all have forms that ask the user for the date range of the report.

I have created an exe that loads the report and then modifies the date to the DataSources[0].Parameters collection like such:

...DataSources[0].Parameter["@startDate"].value = '5/1/2013'

The problem is that when I call report.Render(false), it still presents the Form window. Since this will be ran via Scheduled Task, I need to skip the presentation of the Form window as it hangs up the process.

Can this be done?
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Re: How to hide the Forms window for unattended execution

Post by fuhrj »

Found this article which solved my issue

http://forum.stimulsoft.com/viewtopic.p ... orm#p23880
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to hide the Forms window for unattended execution

Post by HighAley »

Hello.

Great!
Do not hesitate to contact us future if you have any questions else.

Thank you.
Post Reply