Page 1 of 1

Displaying Bug Report in an Application.

Posted: Thu Oct 05, 2017 2:05 am
by SteveG
Hi madshi,

I really like the MadExceptViewer application. It got me to wondering if there is a way that the bug report window can be displayed in an application. I'll explain what I mean.

I have set up MadExcept to email bug reports to an email address. I wrote an application that regularly downloads the email from that email account and stores the received bug reports in a database. What I would like to do is to be able to select one of the received emails and display the attached bug report in the same tabbed window that is used in MadExcept (ie. General, Call Stack, Modules, etc.).

Is there any way to display the bug report window in an application and load a bug report into it?

Thanks,

Steve

Re: Displaying Bug Report in an Application.

Posted: Thu Oct 05, 2017 7:50 am
by madshi

Code: Select all

uses ..., madExcept;

initialization
  ImportBugReport('c:\bugreport.txt').Show;
end.
8)

Re: Displaying Bug Report in an Application.

Posted: Thu Oct 05, 2017 10:39 am
by SteveG
Thanks. Is there anyway to bypass the dialog and go straight to Show Bug Report?

= Steve

Re: Displaying Bug Report in an Application.

Posted: Thu Oct 05, 2017 10:45 am
by madshi
Sure.

Code: Select all

uses ..., madExcept;

initialization
  with ImportBugReport('c:\bugreport.txt') do
  begin
    AutoShowBugReport := true;
    Show;
  end;
end.

Re: Displaying Bug Report in an Application.

Posted: Thu Oct 05, 2017 10:53 am
by SteveG
Perfect. Thank you.