Home > Software engineering >  Vb.net according to the latest 10 images
Vb.net according to the latest 10 images

Time:09-22

create a image display interface, the interface according to the latest within ten images, and the latest one in the first place, in order to replace, how to write code

CodePudding user response:

 Shell "CMD dir/b/c/a, d/o - d" "d: \ \ my dir \ \ *. JPG" "& gt; D: \ \ newjpgfiles. TXT ", vbHide 
'read file d: \ newjpg TXT content that is d: \ my dir \ under all sorted by date/time anew to the old. JPG file name

CodePudding user response:

reference 1st floor zhao4zhong1 response:
 Shell "CMD dir/b/c/a, d/o - d" "d: \ \ my dir \ \ *. JPG" "& gt; D: \ \ newjpgfiles. TXT ", vbHide 
'read file d: \ newjpg TXT content that is d: \ my dir \ under all sorted by date/time anew to the old. JPG file name

\ characters in VB, do not need to "escape" like C/C + +, your code statement \ \ should be using \,

CodePudding user response:

refer to the second floor Chen8013 response:
Quote: refer to 1st floor zhao4zhong1 response:

 Shell "CMD dir/b/c/a, d/o - d" "d: \ \ my dir \ \ *. JPG" "& gt; D: \ \ newjpgfiles. TXT ", vbHide 
'read file d: \ newjpg TXT content that is d: \ my dir \ under all sorted by date/time anew to the old. JPG file name

\ characters in VB, do not need to "escape" like C/C + +, your code statement \ \ should be using \,


Thank you more!
  • Related