Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

During data exporting into Excel file, MS Word or MS Access I have some warning dialogs inside Delphi/C++Builder IDE. What can I do?

0
Posted

During data exporting into Excel file, MS Word or MS Access I have some warning dialogs inside Delphi/C++Builder IDE. What can I do?

0

If you defined a UseCurrentInstance property of export component in True, then SMExport will try to find a current running instance of MS Excel/Word/etc. Inside of code I used try-except statement for activation of current instance (if exist) and if the instance is not available I’ll create a new (in except clause). If you ran a project from Delphi IDE, you received a warning. But if you’ll run a same project from Explorer (not from Delphi IDE), application will work without any warnings. PS: as alternative you can uncheck the “Stop on exception” option (or “Debug on exception” – it depends from Delphi version) in the Debugger Options item of Tools menu. You’ll find this option on Language Exceptions page. But anyway if UseCurrentInstance = False, then you’ll receive an error message only if MS Office is not installed on computer. No other reason.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123