Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6021691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:45:01+00:00 2026-05-23T03:45:01+00:00

This is probably easy as well. But I have this listview which contains exe

  • 0

This is probably easy as well. But I have this listview which contains exe files I’ve listed up. Now, I want to execute these exe files in turn from which items are checked or not.

So, I’ve tried this:

For each item in listView1.CheckedItems
    Msgbox item.ToString
Next

Cause I noticed that the item in checkedItems doesn’t contain much. And if I convert it to a string, it ends up in the msgbox looking like this: ListViewItem: {Filename.exe}

Now, I want the filename obviously. But is there any other way of extracting the name only? Or do I have to strip the string to remove the ListViewItem: { part away?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T03:45:01+00:00Added an answer on May 23, 2026 at 3:45 am

    Your first step should have been to consult the documentation of ListViewItem to find out how to retrieve the required information from the object.

    The Text property is what you’re after.

    For Each item in listView1.CheckedItems
        MsgBox(item.Text)
    Next
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is probably easy, but I couldn't find an answer anywhere. I'm filling a
This is probably something easy to accomplish. I have some dates in my MySQL
This is a really easy question, but if I have a bunch of instructions
Ok I have a question and it is probably very easy but I can
So this is probably a fairly easy question to answer but here goes anyway.
another Objective-C one for you, probably pretty obvious but I have been at this
Probably easy to do but I can't seem to generate the correct regex. Say
This is probably an easy one for some of you. I'm trying to test
This probably has probably been asked before, but I couldn't find anything relevant. Would
Hey, I am guessing that this is probably fairly trivial, but I am having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.