Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Hyper Link crashes when no web browser is installed #68

Open
ClemensInBerlin opened this issue Jul 4, 2023 · 1 comment
Open

Comments

@ClemensInBerlin
Copy link

MdXaml.LinkActions.OpenCommand.Execute crashes on a Windows that has no Web Browser installed.

System.ComponentModel.Win32Exception: An error occurred trying to start process 'https://atlasti.com/de/atlas-ti-legal-center/datenschutzerklaerung-atlas-ti' with working directory 'C:\Program Files\Scientific Software\ATLASti.23'. Der angegebenen Datei ist keine Anwendung zugeordnet.
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at MdXaml.LinkActions.OpenCommand.Execute(Object parameter)

@whistyun
Copy link
Owner

whistyun commented Jul 9, 2023

MdXaml 1.21.0 has be released.
ClickAction.SafetyOpenBrowser is added.
It is show error dialog when the URL fails to open.
Dialog messages are created from exception messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants