-------here i needs admin rights --------------------------- CreateShortcut(Environment.GetFolderPath(Environment.SpecialFolder.Startup) & "\FileName.lnk", My.Application.Info.DirectoryPath & "\FileName.exe") -------here I will finished the admin rights ---------------- or for delete this link -------here i needs admin rights --------------------------- If My.Computer.FileSystem.FileExists(Environment.GetFolderPath(Environment.SpecialFolder.Startup) & "\FileName.lnk") = True Then My.Computer.FileSystem.DeleteFile(Environment.GetFolderPath(Environment.SpecialFolder.Startup) & "\FileName.lnk") -------here I will finished the admin rights ----------------
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)