CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Location
    Indiana USA
    Posts
    193

    setup1 modification shortcut icon start in

    I have modified the setup1 file to place an icon on the desktop, but I'd like to do 2 other things and have not been able to find information on the way to do it.

    1. I want to detect if the icon is already on the desktop, if it is, I will skip replacing it.

    2. The start in location is different than the program path. I want to plug this in using data the user keys at the beginning of the setup. I'm not sure how to change the start in line.

    Here is the code I am currently using.

    Thank you
    Catrina

    strProgramPath = SavePath$ & "ipdpwin.exe"
    strGroup = "..\..\DeskTop"
    strProgramIconTitle = "PDP Payroll"

    sParent = "$(Programs)"

    CreateShellLink strProgramPath, strGroup, strProgramArgs, strProgramIconTitle, true, sParent






  2. #2
    Join Date
    Oct 2001
    Location
    Brighton, CO
    Posts
    70

    Re: setup1 modification shortcut icon start in

    Try this forum and select the VB Programming/general selection:

    http://www.vbcodelibrary.co.uk/board/index.php

    I've found them helpful, and not at inundated with questions as codeguru.

    DND

    P.S., if you get an answer to your question, could you let me know what it is? Thx!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured