Solved

Using CreateShellLink to create shortcut in startup folder

Posted on 2006-06-13
4
1,671 Views
Last Modified: 2008-01-09
How do I use CreateShellLink api to create a shorcut in the startup folder (so program will start at system boot) using vb6 mainly on XP (but other os's would be nice if they are different)


Thanks,
Cheers!
ahammar


0
Comment
Question by:ahammar
  • 3
4 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 16899766
If you can pack your application into an installer using some commerical product, it will be easy task for you to create the shortcuts in Windows.

For example, you can looking for Inno Setup to create an installer, including creating the shortcuts you want.

More info on Inno Setup
http://www.jrsoftware.org/isinfo.php
IS Tool:
http://www.jrsoftware.org/is3rdparty.php

Hope this helps and make sense to you.
0
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 500 total points
ID: 16899777
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 16899789
0
 
LVL 23

Author Comment

by:ahammar
ID: 16899869
Thanks all...
I figured it out.  I'll give you points though because you comment was very close to what i figured out.

Thanks ryancys

Cheers!
ahammar
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now