Solved

Using CreateShellLink to create shortcut in startup folder

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

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 50

Accepted Solution

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

775 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