Click to See Complete Forum and Search --> : setup1 modification shortcut icon start in


Catrina
September 19th, 2001, 10:13 AM
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

Dnd
October 15th, 2001, 04:55 PM
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!