1. Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial Add Remove Shortcut link to your application VB.Net

Discussion in 'Coding, Programming' started by CodeWarrior, Feb 17, 2014.

  1. Good day this simple tutorial demonstrate how to create a shortcut link to your application.
    this is a basic tutorial but even the pro programmer use this code for there application.

    Lets start:
    Now open your vb.net language any version and create new project. Name your project
    On toolbox drag and drop or double click the Button icon. You must need two button for
    our tutorial sample Button1.Text = "Add Shortcut" and the Button2.Text = "Remove Shortcut"

    Above the Public Class Form1 you need to Import some of our References "IWshRuntimeLibrary"
    Double Click your form and press ctrl+a and delete everything then copy ang paste this code

    Code:

       Sorry you need to Register / Login to see this Codes!    

    Now Press F5 to start debugging, Click Add Shortcut Button to create and shortcut link
    Click Remover Shortcut Button to remove all shorcut link of your project..

    Happy Happy Coding...
    Credited to ME :)
     
    Sazah likes this.
Tags / Keywords: