-
Apr 16th, 2021, 04:34 PM
#1
[RESOLVED] VB6 QUESTION: Extracting target information from a Windows Shortcut or .LNK
Afternoon chaps.
I have some code that reads a Windows Shortcut or .LNK in VB6 using the Shell32.Shell object and it works and that's good. However, I am looking for an alternate method to extract the link target details, name, path, arguments &c. The reason I am looking for an alternative is to prevent any false anti-virus tool alerts when calling the shell object (as some a/v tools are known to baulk at this and generate FPs).
I have found a very good source for what I want to do but it is in VB and C# but of course, not VB6. It looks fairly complicated and I don't feel competent to attempt it myself, at least not without some fairly heavy pointers. So, as usual I am asking if anyone knows of an existing vb6 version or whether they have come across something that might do the job with a bit of coercion.
The source of the code is here:
https://www.kittell.net/code/windows...t-lnk-details/
The link is David Kittel's Blog and is named "Get Windows Shortcut (.lnk) Details" and is also at GitHub at https://github.com/dkittell/lnk-parser
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|