Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using CreateShellLink to create shortcut in startup folder

Posted on 2006-06-13
4
Medium Priority
?
1,757 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 53

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 53

Accepted Solution

by:
Ryan Chong earned 2000 total points
ID: 16899777
0
 
LVL 53

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

604 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