|
-
November 15th, 1999, 02:50 PM
#1
Execute shortcut files.. urgent
Could anyone help, I need to execute the shortcut files.. ".lnk" from vb.. this is a very urgent matter.. coz i have a hard time trying to figure out the shell.dll api function...
Thank in advance...
-
November 16th, 1999, 04:07 AM
#2
Re: Execute shortcut files.. urgent
IMHO this is NOT easy.
You can check out the sample in MSDN in the Books Section there is an excerpt from hardcore VB that has the ODL syntax for a type lib that you need.
Basically, you need to implement the IShellLink and IPersistFile COM interfaces to get access to the LNK file contents (unless you use some (undocumented?) ways to get that information directly from the LNK file via binary read access).
This is easier to do in C++ than in VB, IMHO.
-
November 23rd, 1999, 11:38 PM
#3
Re: Execute shortcut files.. urgent
Thanks but i've already solve the matter.. first i fing the .lnk description.. of the full path then i proceed to execute the exe files.. by the way have u heard of expert system... i need to find out and find a good tool to use.. any idea?
-
March 17th, 2000, 10:43 AM
#4
Re: Execute shortcut files.. urgent
That (binary read of a LNK) is exactly what I have been trying to figure out how to do... I need to check all shortcuts on the desktop to see if they contain a certain path. I have been trying to open the lnk files for Binary, but I can't seem to input the information from the file. Any ideas?
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
|