Create a shortcut with Visual C # 2005

Source: Internet
Author: User

Creating shortcuts is a piece of cake for most Windows users, but the job is a lot of trouble for programmers.. NET does not provide a straightforward way to create shortcuts, so how do we create shortcuts for applications in. NET?

1. Shortcut file

A shortcut is essentially an extension of. LNK file. Right-click a shortcut file and select Properties to skip to the Shortcut tab, as shown in Figure 1:

You can see a shortcut that contains the following data:

• The name of the shortcut

• The location of the destination that the shortcut points to

• The working directory of the target that the shortcut points to

• Activate Hotkey for this shortcut

· The window style (normal, maximized, and minimized) that the shortcut points to when the target is run

• Descriptive text for this shortcut

• Where the icon for the shortcut is located

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.