Skip to main content
22 events
when toggle format what by license comment
S Sep 7, 2016 at 20:42 history suggested Tamas Szoke CC BY-SA 3.0
Links updated
Sep 7, 2016 at 17:47 review Suggested edits
S Sep 7, 2016 at 20:42
S Mar 20, 2015 at 2:02 history suggested ThEpRoGrAmMiNgNoOb CC BY-SA 3.0
improved formatting
Mar 20, 2015 at 1:44 review Suggested edits
S Mar 20, 2015 at 2:02
Oct 21, 2014 at 16:00 comment added SomeInternetGuy I'd just like to point out that this method has limitations in .NET I ended up having to use the other answer below which uses dynamics and WSH. The problem appears to be related to UAC: stackoverflow.com/questions/2934420/… So the issues is that the COM interface requires admin access, which your end users may not have. If you know they have access then it's not an issue. However, in cases where your users do not have admin access, the WSH with Dyanmics approach below works.
Sep 22, 2014 at 6:02 comment added Tristan McPherson Excuse my ignorance, but just out of curiosity, what is wrong with WSH? Or perhaps why is not relying on it a plus?
Apr 19, 2014 at 18:53 comment added Amazing User Maybe it's a stupid question, but how to add ShellLink to project? I've downloaded it and added to a new folder Libraries. But in the code using (ShellLink shortcut = new ShellLink()) it can't find ShellLink.
Oct 22, 2012 at 20:45 review Suggested edits
Oct 22, 2012 at 20:50
Aug 18, 2012 at 4:54 comment added Peter Direct link to code: vbaccelerator.com/home/NET/Code/Libraries/Shell_Projects/…
Mar 5, 2012 at 20:30 comment added DJ Burb @Ryan - Make sure you get the FileIcon.cs file as well.... the two files work hand and hand
Feb 29, 2012 at 1:36 comment added Charley Rathkopf @ryan. I had no need to use this on a pocket-PC. If you find the solution, feel free to add it below.
Jan 20, 2012 at 15:10 history edited John CC BY-SA 3.0
added 111 characters in body
Jan 20, 2012 at 3:17 comment added fiberOptics @Chasler I can't make it work in Pocket-PC. Hope you could have version for it. Thanks
Jan 19, 2012 at 18:02 comment added Charley Rathkopf @ryan. Download the schelllink class from the link and use the code above to create the link. How much more of a working class do you need?
Jul 19, 2011 at 14:25 comment added fparadis2 Works on Windows 7 and even in 64-bit applications :)
Jan 7, 2011 at 19:49 comment added David Boike It worked on Windows Server 2008 Standard 64bit SP2. I see no reason it wouldn't on Vista.
Oct 14, 2010 at 16:08 history edited p.campbell CC BY-SA 2.5
deleted 178 characters in body
Jun 24, 2009 at 1:25 comment added blak3r Anyone tried ShellLink on Vista? Looks like the code was written in 2003.
Jan 8, 2009 at 16:38 vote accept Charley Rathkopf
Oct 24, 2008 at 22:33 history edited Charley Rathkopf CC BY-SA 2.5
edit code description
Oct 24, 2008 at 18:03 history edited Charley Rathkopf CC BY-SA 2.5
Added code sample showing use.
Oct 24, 2008 at 17:38 history answered Charley Rathkopf CC BY-SA 2.5