October 30th, 2012, 01:44 PM
Copy pdf file and place the file into different folders
I am using Vb.net 2010 I want to copy pdf files (invoices) with numeric prefix (33.pdf, 226.pdf, etc.) from one folder and create new folder based on file name. For example file 33.pdf will go newly created folder call 33, file 226.pdf will go newly created folder call 226, etc. The number represents customer ID number. How do I achieve this? any insights will be appreciated. Thank you.
October 31st, 2012, 01:17 AM
VB has file and directory functions, as does the filesystem object if you're using scripts. There is plenty of documentation in the msdn library, including sample code snips.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton
October 31st, 2012, 10:25 AM