Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. create shortcut to desktop

create shortcut to desktop

Scheduled Pinned Locked Moved Visual Basic
sysadminquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jds1207
    wrote on last edited by
    #1

    I am trying to create a shortcut to the user's desktop when I install the application on the user's machine. During the deployment process under the FileSystem(Setup1) tab, it gives me the option to create a shortcut on the user's desktop. When I right click on User's Desktop and choose Create Shortcut to User's Desktop, it will create a shortcut but when I try to open the shortcut from the desktop it opens up the Desktop folder instead of the actual program. Any ideas? jds1207

    D D 2 Replies Last reply
    0
    • J jds1207

      I am trying to create a shortcut to the user's desktop when I install the application on the user's machine. During the deployment process under the FileSystem(Setup1) tab, it gives me the option to create a shortcut on the user's desktop. When I right click on User's Desktop and choose Create Shortcut to User's Desktop, it will create a shortcut but when I try to open the shortcut from the desktop it opens up the Desktop folder instead of the actual program. Any ideas? jds1207

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      It did exactly what you told it to do. It created a shortcut to the user's Desktop folder.

      jds1207 wrote:

      I am trying to create a shortcut to the user's desktop

      That's also what your explanation said you wanted. Or did you mean to say something else? How about creating a shortcut to the Primary output from your project IN the User's Desktop folder? All you have to do is click on the User's Desktop folder in the left pane, then right-click in the right pane and pick Create New Shortcut. Then you open the File System on Target Machine, then the Application Folder. You can then pick the Primary output to create the shortcut to.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      1 Reply Last reply
      0
      • J jds1207

        I am trying to create a shortcut to the user's desktop when I install the application on the user's machine. During the deployment process under the FileSystem(Setup1) tab, it gives me the option to create a shortcut on the user's desktop. When I right click on User's Desktop and choose Create Shortcut to User's Desktop, it will create a shortcut but when I try to open the shortcut from the desktop it opens up the Desktop folder instead of the actual program. Any ideas? jds1207

        D Offline
        D Offline
        Drew
        wrote on last edited by
        #3

        I simply copied over (in code) the start menu icon that ClickOnce (thanks Microsoft...) created. Just ask if you want help doing that.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups