Displaying Bug Report in an Application.

delphi package - automated exception handling

Displaying Bug Report in an Application.

Postby SteveG » Thu Oct 05, 2017 2:05 am

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
SteveG
 
Posts: 10
Joined: Sat Sep 23, 2017 12:53 am

Re: Displaying Bug Report in an Application.

Postby madshi » Thu Oct 05, 2017 7:50 am

Code: Select all
uses ..., madExcept;

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

8)
madshi
Site Admin
 
Posts: 9431
Joined: Sun Mar 21, 2004 5:25 pm

Re: Displaying Bug Report in an Application.

Postby SteveG » Thu Oct 05, 2017 10:39 am

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

= Steve
SteveG
 
Posts: 10
Joined: Sat Sep 23, 2017 12:53 am

Re: Displaying Bug Report in an Application.

Postby madshi » Thu Oct 05, 2017 10:45 am

Sure.

Code: Select all
uses ..., madExcept;

initialization
  with ImportBugReport('c:\bugreport.txt') do
  begin
    AutoShowBugReport := true;
    Show;
  end;
end.
madshi
Site Admin
 
Posts: 9431
Joined: Sun Mar 21, 2004 5:25 pm

Re: Displaying Bug Report in an Application.

Postby SteveG » Thu Oct 05, 2017 10:53 am

Perfect. Thank you.
SteveG
 
Posts: 10
Joined: Sat Sep 23, 2017 12:53 am


Return to madExcept

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron