Page 1 of 1

Posted: Tue Jan 22, 2002 3:14 pm
by BackupUser
Restored from previous forum. Originally posted by Ralf.

I made an installroutine that search for a programm and copies a
file into the subdirectory of the programm.
How can i put in the programm to make an link to the desktop.

Posted: Tue Jan 22, 2002 3:36 pm
by BackupUser
Restored from previous forum. Originally posted by El_Choni.

I don't know, but a shortcut is a file, so you can create its contents and save it in the desktop folder, I guess...

Bye,

El_Choni

Posted: Tue Jan 22, 2002 6:18 pm
by BackupUser
Restored from previous forum. Originally posted by Paul.

Here's a little snippet to find the Desktop Folder...

Code: Select all

buffer.l=0
folder.s=space$(255)
SHGetSpecialFolderLocation_(0, 16, @buffer)
SHGetPathFromIDList_(buffer, @folder)

MessageRequester("Desktop Folder",folder,0)
Why not just use a freeware installer? Clickteam makes a good one!

Posted: Tue Jan 22, 2002 7:44 pm
by BackupUser
Restored from previous forum. Originally posted by Ralf.

Thanks, i will try your sample.
Do you got the http://WWW.-adress for clickteam ?
is it http://www.clickteam.com ?
yes, it is. i found the web-site.


Edited by - ralf on 22 January 2002 19:50:28

Posted: Tue Jan 22, 2002 8:30 pm
by BackupUser
Restored from previous forum. Originally posted by Franco.

AFAIK there is no API call to create a desktop shortcut.
But...
I will upload a procedure to create a desktop shortcut on Paul's resource site.



Have a nice day...
Franco

Sometimes you have to go a lonely way to accomplish genius things.

Posted: Tue Jan 22, 2002 9:52 pm
by BackupUser
Restored from previous forum. Originally posted by Ralf.

okay i will have a look on it.

Posted: Tue Jan 22, 2002 10:30 pm
by BackupUser
Restored from previous forum. Originally posted by PB.
I will upload a procedure to create a desktop shortcut on Paul's resource site.
LOL, I just took a look and that's exactly the way I was going to do it!


PB - Registered PureBasic Coder

Posted: Mon Jan 28, 2002 10:29 am
by BackupUser
Restored from previous forum. Originally posted by Ralf.

Okay it works.
Thanks a lot.