The report contains a Form and that shows up to allow me to enter in my report filters. When the report is executed, I get "DragDrop registration did not succeed".
Code: Select all
static void Main(string[] args) {
StiReport report = new StiReport();
report.Load(args[0]);
if (report != null) {
StiSqlDatabase db = (StiSqlDatabase)report.Dictionary.Databases[0];
db.ConnectionString = connString;
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(db);
report.Show();
}
}