` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Windows API: Creating shortcuts on the desktop-2
2003-09-06 -- Jim Kane
 
Newsgroups: softvelocity.public.clarion6 look at msdn under ishelllink there are lots of options. setarguments method looks like what you are looking for. jim kane "Lance Veitch" wrote in message news:1_109_3300@discuss.softvelocity.com... > I am using the code below of Alexey which works great. > Is there a way to put a parameter after the File Target. > eg. C:\mypath\myprog.exe XYZ > > I have tried but cannot get it right. > The code creates "C:\mypath\myprog.exe XYZ" which is incorrect. > Should be either: C:\mypath\myprog.exe XYZ > or : "C:\mypath\myprog.exe" XYZ > > When manually entering the parameter and then looking at the LNK file hex the > file seems to quite different to the LNK file without the parameter. > Is there a different set of IShellLink, IPersistFile or IPersistStream objects > to be used when using parameters after the Target File Name. > > Can anybody help me with this one? > > Regards, > Lance > > > > Alexey Solovjev once posted an excellent piece of code to demonstrate this. > The original article is archived on Google at this location (this URL will wrap > on your screen) > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=3A59B60B.2BA7253F@also.spb.ru&rnum=3&prev=/groups?hl=en&lr=&ie=UTF-8&selm=3A59B60B.2BA7253F%40also.spb.ru&rnum=3


Today is November 23, 2024, 3:38 am
This article has been viewed 35209 times.
Google search has resulted in 27 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: