Solved

Using CreateShellLink to create shortcut in startup folder

Posted on 2006-06-13
4
1,715 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 52

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 52

Accepted Solution

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

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

729 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