Click here to Skip to main content
15,501,342 members
Home / Discussions / C#
   

C#

 
AnswerRe: Preventing an exception from happening when converting to bool Pin
Eddy Vluggen13-Oct-22 3:29
professionalEddy Vluggen13-Oct-22 3:29 
AnswerRe: Preventing an exception from happening when converting to bool Pin
Raphael Adeniji18-Oct-22 2:15
MemberRaphael Adeniji18-Oct-22 2:15 
GeneralRe: Preventing an exception from happening when converting to bool Pin
Richard Andrew x6431-Oct-22 14:38
professionalRichard Andrew x6431-Oct-22 14:38 
QuestionDragging an item from listBox1 and droping the item into listBox2 code does not work(AllowDrop=true) Pin
Programmable Physics7-Oct-22 2:15
MemberProgrammable Physics7-Oct-22 2:15 
AnswerRe: Dragging an item from listBox1 and droping the item into listBox2 code does not work(AllowDrop=true) Pin
OriginalGriff7-Oct-22 2:49
mveOriginalGriff7-Oct-22 2:49 
QuestionBasic use of Linklabel tool in winforms gives Exception Handling Error Pin
Programmable Physics6-Oct-22 2:53
MemberProgrammable Physics6-Oct-22 2:53 
AnswerRe: Basic use of Linklabel tool in winforms gives Exception Handling Error Pin
CHill606-Oct-22 3:03
mveCHill606-Oct-22 3:03 
AnswerRe: Basic use of Linklabel tool in winforms gives Exception Handling Error Pin
Richard Deeming6-Oct-22 3:11
mveRichard Deeming6-Oct-22 3:11 
Your errors suggest you're using .NET Core or .NET 5, 6, or 7. Unlike in the .NET Framework, .NET Core and .NET do not set the UseShellExecute to true by default - you need to specify it explicitly:
C#
private void LinkedLabelClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
    dynamicLinkLabel.LinkVisited = true;
    System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
    {
        FileName = "http://www.c-sharpcorner.com",
        UseShellExecute = true,
    });
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionFree licensing solution Pin
Moses Man29-Sep-22 12:45
MemberMoses Man29-Sep-22 12:45 
AnswerRe: Free licensing solution Pin
Gerry Schmitz1-Oct-22 10:01
mveGerry Schmitz1-Oct-22 10:01 
AnswerRe: Free licensing solution Pin
Dave Kreskowiak1-Oct-22 12:48
mveDave Kreskowiak1-Oct-22 12:48 
QuestionC# Service Locator Pin
Kevin Marois28-Sep-22 8:01
professionalKevin Marois28-Sep-22 8:01 
AnswerRe: C# Service Locator Pin
Gerry Schmitz29-Sep-22 8:54
mveGerry Schmitz29-Sep-22 8:54 
GeneralRe: C# Service Locator Pin
Kevin Marois29-Sep-22 12:45
professionalKevin Marois29-Sep-22 12:45 
GeneralRe: C# Service Locator Pin
Richard Deeming29-Sep-22 22:39
mveRichard Deeming29-Sep-22 22:39 
AnswerRe: C# Service Locator Pin
lmoelleb29-Sep-22 23:40
Memberlmoelleb29-Sep-22 23:40 
AnswerRe: C# Service Locator Pin
jochance4-Nov-22 6:48
Memberjochance4-Nov-22 6:48 
QuestionSkype Personal integration with C# Pin
Member 1462363928-Sep-22 5:36
MemberMember 1462363928-Sep-22 5:36 
AnswerRe: Skype Personal integration with C# Pin
Gerry Schmitz28-Sep-22 6:26
mveGerry Schmitz28-Sep-22 6:26 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363928-Sep-22 7:10
MemberMember 1462363928-Sep-22 7:10 
GeneralRe: Skype Personal integration with C# Pin
Victor Nijegorodov28-Sep-22 21:14
MemberVictor Nijegorodov28-Sep-22 21:14 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363928-Sep-22 21:22
MemberMember 1462363928-Sep-22 21:22 
GeneralRe: Skype Personal integration with C# Pin
Mycroft Holmes29-Sep-22 14:18
professionalMycroft Holmes29-Sep-22 14:18 
GeneralRe: Skype Personal integration with C# Pin
Member 1462363929-Sep-22 20:48
MemberMember 1462363929-Sep-22 20:48 
QuestionAsync - await Pin
dataminers20-Sep-22 5:22
Memberdataminers20-Sep-22 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.