Solved

Shortcuts

Posted on 1998-06-29
2
245 Views
Last Modified: 2010-04-01
How to make/modify Win 95 Shortcuts? The .lnk files do not seems to be a text file. I can read it.
0
Comment
Question by:sccheung
2 Comments
 
LVL 6

Accepted Solution

by:
alamo earned 50 total points
ID: 1166901
Shortcuts are implemented through an OLE interface called IShellLink. There isn't a direct API to do this, strange as it sounds. (MS has written such an API, fCreateShellLink, and included it as a utility in the Visual Basic package, but you have to have STKIT432.DLL  so it's not a general solution)

MS has a Knowledge Base article that gives an example of creating a link and then modifying the icon. It is Q179904, at

http://support.microsoft.com/support/kb/articles/Q179/9/04.asp

Hope this helps, good luck!
0
 
LVL 23

Expert Comment

by:chensu
ID: 1166902
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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

696 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