diff --git a/src/Windows Activation Client/Form1.vb b/src/Windows Activation Client/Form1.vb index 522a1ca..1515dd9 100644 --- a/src/Windows Activation Client/Form1.vb +++ b/src/Windows Activation Client/Form1.vb @@ -46,11 +46,19 @@ End Sub Private Sub HelpActivationLinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles HelpActivationLinkLabel.LinkClicked - Process.Start("https://support.microsoft.com/en-us/help/15083/windows-how-to-activate") + Try + Process.Start("https://support.microsoft.com/en-us/help/15083/windows-how-to-activate") + Catch + Return + End Try End Sub Private Sub PrivacyLinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles PrivacyLinkLabel.LinkClicked - Process.Start("https://privacy.microsoft.com/en-us/privacystatement") + Try + Process.Start("https://privacy.microsoft.com/en-us/privacystatement") + Catch + Return + End Try End Sub Private Sub CancelBtn_Click(sender As Object, e As EventArgs) Handles CancelBtn.Click diff --git a/src/Windows Activation Client/Form2.vb b/src/Windows Activation Client/Form2.vb index 2f765b6..601cdf7 100644 --- a/src/Windows Activation Client/Form2.vb +++ b/src/Windows Activation Client/Form2.vb @@ -4,15 +4,27 @@ End Sub Private Sub ProductKeyHelpLinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles ProductKeyHelpLinkLabel.LinkClicked - Process.Start("https://support.microsoft.com/en-us/help/10749/windows-10-find-product-key") + Try + Process.Start("https://support.microsoft.com/en-us/help/10749/windows-10-find-product-key") + Catch + Return + End Try End Sub Private Sub HelpActivationLinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles HelpActivationLinkLabel.LinkClicked - Process.Start("https://support.microsoft.com/en-us/help/15083/windows-how-to-activate") + Try + Process.Start("https://support.microsoft.com/en-us/help/15083/windows-how-to-activate") + Catch + Return + End Try End Sub Private Sub PrivacyLinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles PrivacyLinkLabel.LinkClicked - Process.Start("https://privacy.microsoft.com/en-us/privacystatement") + Try + Process.Start("https://privacy.microsoft.com/en-us/privacystatement") + Catch + Return + End Try End Sub Private Sub NextBtn_Click(sender As Object, e As EventArgs) Handles NextBtn.Click diff --git a/src/Windows Activation Client/Success.vb b/src/Windows Activation Client/Success.vb index c301068..60c21e3 100644 --- a/src/Windows Activation Client/Success.vb +++ b/src/Windows Activation Client/Success.vb @@ -4,7 +4,11 @@ End Sub Private Sub BenefitsLinkLabel_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles BenefitsLinkLabel.LinkClicked - Process.Start("https://support.microsoft.com/en-us/help/15087/windows-genuine") + Try + Process.Start("https://support.microsoft.com/en-us/help/15087/windows-genuine") + Catch + Return + End Try End Sub Private Sub CloseBtn_Click(sender As Object, e As EventArgs) Handles CloseBtn.Click