Strange error during report laoding
Posted: Fri Jul 01, 2022 11:58 am
I made wrapper for StimulSoft to use it in non .NET languages. With clarion it works well, with no issues but when I try it in WINDEV it gives me an error.
Code looks like this
static public void LoadReport(string fileName)
{
try
{
report.Load(fileName);
}
catch (Exception exception1)
{
Exception exception = exception1;
if (SupressError == 0)
{
MessageBox.Show(string.Concat("Error LoadingReport=", exception.Message));
}
}
}
and error in MessageBos is "Error LaodingReport=TypeConverter cannog convert from System.String"
What may causing this error?
Thanks in advanse,
Dikan
Code looks like this
static public void LoadReport(string fileName)
{
try
{
report.Load(fileName);
}
catch (Exception exception1)
{
Exception exception = exception1;
if (SupressError == 0)
{
MessageBox.Show(string.Concat("Error LoadingReport=", exception.Message));
}
}
}
and error in MessageBos is "Error LaodingReport=TypeConverter cannog convert from System.String"
What may causing this error?
Thanks in advanse,
Dikan