[Implement] Start URL in Browser

[Implement] Start URL in Browser

 


public string ExecuteURL(string address)
{
    string result = "success";
    try
    {
        System.Diagnostics.ProcessStartInfo startInfo =
            new System.Diagnostics.ProcessStartInfo("IExplore.exe");
        startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
        startInfo.Arguments = address;
        System.Diagnostics.Process.Start(startInfo);
    }
    catch (Exception ex)
    {
        result = "error, " + ex.Message;
    }
}