Click here to Skip to main content
15,886,637 members

Comments by Jo_vb.net (Top 135 by date)

Jo_vb.net 20hrs ago View    
In combination with an arrow it is a control character.
Jo_vb.net 4 days ago View    
Great + thanks.

Adjusted it and that works:

private void DG_Hyperlink_Click(object sender, RoutedEventArgs e)
{

Hyperlink link = (Hyperlink)e.OriginalSource;
Process? process = Process.Start(new ProcessStartInfo(link.NavigateUri.AbsoluteUri)
{
UseShellExecute = true
});

process!.WaitForExit();
}
Jo_vb.net 4 days ago View    
Unfortunately with
compiler.StartInfo.UseShellExecute = true;
the same error happens as before.
Jo_vb.net 4 days ago View    
Tried

using (Process compiler = new Process())
{
compiler.StartInfo.FileName = "explorer.exe";

compiler.StartInfo.Arguments = link.NavigateUri.AbsoluteUri;
compiler.StartInfo.UseShellExecute = false;
compiler.StartInfo.RedirectStandardOutput = true;
//Console.WriteLine(compiler.StandardOutput.ReadToEnd());

compiler.WaitForExit();

Shows error:// "No process is associated with this object."


Found this solution (not default browser but it works)

Process.Start("explorer.exe", link.NavigateUri.AbsoluteUri);

Thanks for your help.
Jo_vb.net 13-Apr-24 12:07pm View    
Are you still with us?
Or are you going the way given at the other website?