Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6833651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:00:18+00:00 2026-05-26T23:00:18+00:00

In my solution I have WinForms application called JCommander and JCommanderSetupProject. In JCommander Resources

  • 0

In my solution I have WinForms application called JCommander and JCommanderSetupProject.
In JCommander Resources folder i have an icon file i want to be placed on Desktop and Start Menu.

How i do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:00:19+00:00Added an answer on May 26, 2026 at 11:00 pm

    From what you’ve said, I think you’re talking about an application shortcut, which is the icon you normally find on your desktop, start menu or quick-start bar, if I’m mistaken please tell me.

    There’s some responses at Creating application shortcut in a directory which answer your question.

    The main answer is to use ShellLink.cs, which takes care of everything for you after you give it whatever parameters it needs. (You might need to import it into a separate project and edit some parts).

    Example:

    private static void configStep_addShortcutToStartupGroup()
    {
        using (ShellLink shortcut = new ShellLink())
        {
            shortcut.Target = System.Reflection.Assembly.GetExecutingAssembly().Location;
            shortcut.WorkingDirectory = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
            shortcut.Description = "Shortcut To My Application";
            shortcut.DisplayMode = ShellLink.LinkDisplayMode.edmNormal;
            shortcut.IconPath = "/Path/to/icon.ico";
            shortcut.Save(Environment.SpecialFolder.Desktop + @"\My Shortcut.lnk");
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a desktop(winforms) application, and I'm looking for .net linker that links the
I have a solution with 2 projects: My Application 1.2.54 (C# WinForms) My Application
I'm developing WinForms application using VS2010. I have about 15 projects in the solution.
I have a client service solution containing a Winforms client application and a WCF
Suppose my solution have two project: myApp: silverlight application project: the default application App
I have a WinForms application. That application have a rich functionality. It can create
I have a winforms application that doesn't really have a main form - it's
In a WinForms application, I have a datagrid that is associated to a datasource.
I have question I'm developing small application to desktop in win Forms. I'm using
I'm working on WinForms application. I have group of tests classes, each class performs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.