Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Get folder and filename in CD ROM

Get folder and filename in CD ROM

Scheduled Pinned Locked Moved Visual Basic
helptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hoang Dung
    wrote on last edited by
    #1

    Hi, How to I can get all folders name and files name in CD ROM, but not scan all content of CD. Because scan all data is very slowly. Please help me for this problem. H.Dung

    W 1 Reply Last reply
    0
    • H Hoang Dung

      Hi, How to I can get all folders name and files name in CD ROM, but not scan all content of CD. Because scan all data is very slowly. Please help me for this problem. H.Dung

      W Offline
      W Offline
      Wayne Phipps
      wrote on last edited by
      #2

      You didn't mention if your using VB6 or VB.Net. Here is a VB.Net method: Dim myPath As String = "C:\test" Dim myDirectory As System.IO.Directory Dim mySubDirectory As String If myDirectory.Exists(myPath) Then For Each mySubDirectory In myDirectory.GetDirectories(myPath) MsgBox(mySubDirectory) Next End If Regards Wayne Phipps ____________ Time is the greatest teacher... unfortunately, it kills all of its students LearnVisualStudio.Net

      H 1 Reply Last reply
      0
      • W Wayne Phipps

        You didn't mention if your using VB6 or VB.Net. Here is a VB.Net method: Dim myPath As String = "C:\test" Dim myDirectory As System.IO.Directory Dim mySubDirectory As String If myDirectory.Exists(myPath) Then For Each mySubDirectory In myDirectory.GetDirectories(myPath) MsgBox(mySubDirectory) Next End If Regards Wayne Phipps ____________ Time is the greatest teacher... unfortunately, it kills all of its students LearnVisualStudio.Net

        H Offline
        H Offline
        Hoang Dung
        wrote on last edited by
        #3

        Hi, I use VB.6 and I want get all directories and files in CD ROM but I don't want scan all content of CD ROM. Please help me. Thanks. H.Dung

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups