Create a shortcut on the Desktop

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nijazi Halimaji

    Create a shortcut on the Desktop

    Hi

    When I start my Application the first time i like to create a shortcut on
    the desktop. I have managed it to create the shortcut; but with VB Script
    Code CreateObject("S hell...").

    Is there a object in .NET which can do this...

    Thanks alot

    Nijazi halimaji


  • Cor Ligthert [MVP]

    #2
    Re: Create a shortcut on the Desktop

    Nijazi,

    If you use the deployment project than there is a feature to do that in
    that.
    (create shortcuts)


    I hope this helps,

    Cor


    Comment

    • Nijazi Halimaji

      #3
      Re: Create a shortcut on the Desktop

      Hi

      I know this... but i like to create the shortcut on runtime...

      Thanks

      Nijazi Halimaji
      "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> schrieb im Newsbeitrag
      news:u5Hpt5UqFH A.1136@TK2MSFTN GP12.phx.gbl...[color=blue]
      > Nijazi,
      >
      > If you use the deployment project than there is a feature to do that in
      > that.
      > (create shortcuts)
      >
      >
      > I hope this helps,
      >
      > Cor
      >[/color]


      Comment

      • Cor Ligthert [MVP]

        #4
        Re: Create a shortcut on the Desktop

        Nijazi,

        This from Mattias (for me the API guy) is all I can find.



        I hope this helps,

        Cor


        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: Create a shortcut on the Desktop

          Cor,

          "Cor Ligthert [MVP]" <notmyfirstname @planet.nl> schrieb:[color=blue]
          > This from Mattias (for me the API guy) is all I can find.
          >
          > http://www.msjogren.net/dotnet/eng/s..._shelllink.asp[/color]

          .... and another sample:

          Creating and Modifying Shortcuts
          <URL:http://vbaccelerator.c om/article.asp?id= 4301>

          --
          M S Herfried K. Wagner
          M V P <URL:http://dotnet.mvps.org/>
          V B <URL:http://classicvb.org/petition/>

          Comment

          Working...