Home > Software engineering >  I vb beginner, ask a question
I vb beginner, ask a question

Time:09-26

Vb listview how to import the specified folder (for example, D: \ 123) in the mp3 and exe, show the name of the mp3, time

CodePudding user response:

Baidu, search on the net a lot of this problem,

https://www.baidu.com/s? Wd=vb % 20 listview & amp; Rsv_spt=1 & amp; Rsv_iqid=0 xfb938f1500107688 & amp; Issp=1 & amp; F=8 & amp; Rsv_bp=0 & amp; Rsv_idx=2 & amp; Ie=utf-8 & amp; Tn=monline_3_dg & amp; Rsv_enter=1 & amp; Rsv_sug3=2 & amp; Rsv_n=2

CodePudding user response:

The simplest, using shelllistview controls, set filter conditions and directories, automatic display,

Don't be too nice, the vb6 own filelist also make do,

CodePudding user response:

The Shell "CMD/c dir *. Mp3 & gt; Out. Txt& Dir *. Exe> Out. TXT ", vbHide
'and then read the file out. TXT
  •  Tags:  
  • API
  • Related