473,395 Members | 1,497 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Easy way to open shortcut target?

Hi.

I'm using CoCreateInstance(CLSID_ShellLink, ...) to create an shortcut from
my program. Later I have to open the shortcut target file. Is there an easy
way to open it?

Something like CreateFile(...) without first resolve the link 'manualy' by
calling CoCreateInstance(CLSID_ShellLink, ...) ... psl->GetPath()?

Any example?

10x and regards,
Dezo
Nov 17 '05 #1
0 1407

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: TheKeith | last post by:
I just wrote the following script for something I'm working on: ---------------------------------------------------------------------------- ------------------- <html> <head> <script...
1
by: md | last post by:
Hi everybody - I am writing an application to change the target and start in folder in shortcuts. I am using Mattias Sjögren's ShellLink library (thanks!) but I found a problem I was hoping...
2
by: Benjamin | last post by:
I have a very strange problem. I have developed a .NET solution. To set up user clients I have also included a "Deployment Project" in the solution: Using "File System Editor | User's Program...
2
by: Anita C | last post by:
Hi, On a web form, in the click event of a button I want to open a .htm file in a new window. However I only know the path of the shortcut which points to file that needs to be viewed in the new...
0
by: Ray | last post by:
I am creating a deployment project for my application and when I select "Target" for my application shortcut the "Select Folder" dalog is displayed instead of the "Select item in project" dialog...
25
by: Andy_Khosravi | last post by:
I just recently changed my database that I'm running from a monolithic DB to a split FE/BE. The front end resides on the client machine and the BE resides on a network drive. I'm experimenting with...
2
by: Jorgen Bodde | last post by:
Hi all, This is slightly OT but it drives me nuts. Whenever I create a shortcut in the start menu (in Windows) of a python script, it will only execute it when the path where the script resides...
1
dlite922
by: dlite922 | last post by:
We have an internal app via internal web server. We'd like to create a shortcut for it on the desktop, that when clicked on, can browse to the main page, but not display the menubar, addressbar. ...
2
by: Ilya | last post by:
Hi, all! Some weird thing happens... I'm trying to create a shortcut programmatically in C#. I need to create a shortcut with the "target" parameter using slash. Actually I'm creating a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.