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 9018141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:26:56+00:00 2026-06-16T04:26:56+00:00

I am relatively new to visual basic and I am working on a project

  • 0

I am relatively new to visual basic and I am working on a project in which I am going to need to create a “link” to individual files that are within a certain directory. This way the user can see all of the files listed out can click on an individual file and run certain things on it. I am sure there are plenty of ways to do this, but if you guys could please give me a few ideas on how I may accomplish this it would be greatly appreciated.

Thanks,
Kyle R.

  • 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-06-16T04:26:57+00:00Added an answer on June 16, 2026 at 4:26 am

    Visual Studio uses VB.Net, and you literally do this:

    Dim eachFileInMydirectory As String() = Directory.GetFiles("C:\mydirectory")
    

    Now all of the files in mydirectory are stored in eachFileInMydirectory, which is an array of string. You will need to add the following line to the very top of your VB file:

    Imports System.IO
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am relatively new to Visual Basic. Currently working on visual studio 2005. I
I am relatively new to Visual Basic. When it comes to logging, in Java
I'm relatively new to .NET GUI programming using WinForms (the project I'm working on
I am still relatively new at VB.Net and Visual Studio and I'm assuming that
Ok, I'm relatively new to using the mysqlpp library that is used in Visual
Good morning all. I'm relatively new to the Visual Basic realm (although a traditional
We have a relatively new database project that we have been writing views and
Relatively new to rails, I'm working on a simple rails app for a few
Relatively new to WinForms but I'm working on a small business app. Anyway, where
I'm relatively new to XCode and I m working on photo collage App ,

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.