Displaying Bug Report in an Application.

delphi package - automated exception handling
Post Reply
SteveG
Posts: 15
Joined: Sat Sep 23, 2017 12:53 am

Displaying Bug Report in an Application.

Post 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
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Displaying Bug Report in an Application.

Post by madshi »

Code: Select all

uses ..., madExcept;

initialization
  ImportBugReport('c:\bugreport.txt').Show;
end.
8)
SteveG
Posts: 15
Joined: Sat Sep 23, 2017 12:53 am

Re: Displaying Bug Report in an Application.

Post by SteveG »

Thanks. Is there anyway to bypass the dialog and go straight to Show Bug Report?

= Steve
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Displaying Bug Report in an Application.

Post by madshi »

Sure.

Code: Select all

uses ..., madExcept;

initialization
  with ImportBugReport('c:\bugreport.txt') do
  begin
    AutoShowBugReport := true;
    Show;
  end;
end.
SteveG
Posts: 15
Joined: Sat Sep 23, 2017 12:53 am

Re: Displaying Bug Report in an Application.

Post by SteveG »

Perfect. Thank you.
Post Reply