Solved

Using CreateShellLink to create shortcut in startup folder

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

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 51

Accepted Solution

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

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel VBA, find a string in a column, update a cell 7 104
Access Object Property from VBA Module in Excel 2010 2 41
How to make an ADE file by code? 11 102
Advice in Xamarin 21 109
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

730 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