Is there a way to choose where the default bug report is saved to? Right now we just have "MyBugReport.txt" specified as the name and it appears to be saving it by default in a Windows VirtualStore type directory. Is there a way to just have it save in the user's documents folder?
Thanks,
Rhett Price
IndySoft
Where to Save Bug Report
Re: Where to Save Bug Report
Hi Rhett!
By default it's stored into your own folder if there's no path. You can use the following paths, if you prefer:
%userappdata%\bugReport.mbr
%commonappdata%\bugReport.mbr
%localappdata%\bugReport.mbr
%desktop%\bugReport.mbr
Or you can define the full path at runtime, e.g. in a unit initialization section, by doing this:
Using the mbr file extension allows association with the madExcept bug report viewer tool, but txt extension is fine, too.
By default it's stored into your own folder if there's no path. You can use the following paths, if you prefer:
%userappdata%\bugReport.mbr
%commonappdata%\bugReport.mbr
%localappdata%\bugReport.mbr
%desktop%\bugReport.mbr
Or you can define the full path at runtime, e.g. in a unit initialization section, by doing this:
Code: Select all
uses ..., madExcept;
initialization
MESettings().BugReportFile := 'C:\Whatever\bugReport.mbr';
end.
Re: Where to Save Bug Report
Awesome! Very helpful thanks!