Hello.. I want to make application that can count how many file was selected by me. For example i drag / select 2 files (.jpg) and then i right clicking them to raises menu, one of menu was registered by me in regedit with command execute app in my ClassLibrary (visual studio 2008 C#) so that will be messagebox raised to show 2 files are selected. Thanks for your help :)
nore 0 Light Poster
Recommended Answers
Jump to PostYou forgot to specify where these files are gonna be selected.
Is this a listBox, listView, or something else?
If this is a listBox you can do:int filesSelected = listBox1.SelectedIndices.Count;
All 4 Replies
mshauny 25 Junior Poster in Training
Mitja Bonca 557 Nearly a Posting Maven
nore 0 Light Poster
Mitja Bonca 557 Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.