Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

Programming a "Send to" app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob Altman - 17 Oct 2006 18:02 GMT
If I put a shortcut to an app in the Send To folder, then I can select one
or more files in Windows Explorer, right-click on the files, select Send
to -> MyApp, and my application will run with the selected file paths
supplied as a command line argument.  The problem with this is that the
command line has a limited length.  I can only select 15 or so files to send
to my app without truncating the command line.

I've noticed that many of the "built in" items in the Send To folder accept
an (apparently) unlimited number of selected files.  What is the mechanism
that they use to get the selected file list, and can I write a .Net app that
does the same thing?

TIA - Bob
Gabriele G. Ponti - 17 Oct 2006 18:17 GMT
They're written as Shell Extensions, usually in C/C++ since you have to deal
with COM.

Take a look at this product, it may be useful:
http://www.ssware.com/ezshell/ezshell.htm
Walter Wang [MSFT] - 18 Oct 2006 08:40 GMT
Hi Bob,

Like Gabriele said, those are Shell Extensions that you can find an example
here:

http://www.codeproject.com/shell/ShellExtGuide6.asp

Please let me know if you need more information on this topic.

Sincerely,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications. If you are using Outlook Express, please make sure you clear the
check box "Tools/Options/Read: Get 300 headers at a time" to see your reply
promptly.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
Bob Altman - 18 Oct 2006 20:11 GMT
Thanks all.  That was a great help!

 - Bob

> Hi Bob,
>
[quoted text clipped - 33 lines]
> This posting is provided "AS IS" with no warranties, and confers no
> rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.