XerTroV Posted May 30, 2022 at 10:44 PM Report Share #626087 Posted May 30, 2022 at 10:44 PM Boa noite Estou tentando abrir um hiperlink por meio de uma labellink com o seguinte comando no eventclick System.Diagnostics.Process.Start("www.google.com") porem da o seguinte erro : System.ComponentModel.Win32Exception: 'O sistema não pode encontrar o arquivo especificado.' Então tentei : Process.Start("http://website.com/profile.php?id=") Segue o mesmo erro : System.ComponentModel.Win32Exception: 'O sistema não pode encontrar o arquivo especificado.' Poderiam me ajudar a abrir pagina web pelo comando ? Obrigado. Link to comment Share on other sites More sharing options...
Solution XerTroV Posted May 31, 2022 at 02:42 AM Author Solution Report Share #626089 Posted May 31, 2022 at 02:42 AM Private Sub LinkLabel1_LinkClicked(sender As Object, e As LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked Process.Start( New ProcessStartInfo("http://www.microsoft.com") With { .UseShellExecute = True }) End Sub Resolvido, obrigado, Reginaldo Villela. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now