Click here to Skip to main content
15,899,126 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: MyObject = New Object memory use Pin
Johan Hakkesteegt14-Aug-09 2:13
Johan Hakkesteegt14-Aug-09 2:13 
GeneralRe: MyObject = New Object memory use Pin
Luc Pattyn14-Aug-09 2:20
sitebuilderLuc Pattyn14-Aug-09 2:20 
QuestionHow can I bring Page x from a TabControl? Pin
waner michaud13-Aug-09 11:03
waner michaud13-Aug-09 11:03 
AnswerRe: How can I bring Page x from a TabControl? [modified] Pin
Henry Minute13-Aug-09 11:24
Henry Minute13-Aug-09 11:24 
GeneralRe: How can I bring Page x from a TabControl? Pin
Luc Pattyn13-Aug-09 11:40
sitebuilderLuc Pattyn13-Aug-09 11:40 
GeneralRe: How can I bring Page x from a TabControl? Pin
Henry Minute13-Aug-09 11:51
Henry Minute13-Aug-09 11:51 
AnswerRe: How can I bring Page x from a TabControl? Pin
Luc Pattyn13-Aug-09 11:41
sitebuilderLuc Pattyn13-Aug-09 11:41 
QuestionOrganize files by modified date into folders \\year\month\file.doc Pin
MatthewStLawrence13-Aug-09 7:46
MatthewStLawrence13-Aug-09 7:46 
I have a DVD with 15,000 word documents (transcribed op reports from doctors).

I need to organize them by date modified into folders, year first, then a month subdirectory.

The filenames have a date string in them after a patient name.
i.e.: smith john -20060415.doc


I'm wondering if it would be easier to use the fileinfo feature to pull the modified date, and then utilize that to make a folder for the month, then drop that in a folder.

I dont have any code yet, I'm in more of a brainstorming mode, but we will have to do this for a few hundred other accounts we have and need to have a working solution for this issue.

Excuse the pseudo-code, but here's my general idea.
I'd just like some guidance as to what commands I should use in this situation

-scan dir for files *.doc

-for loop
-get modified date of file
-does month folder exist
y=copy file
n=create folder
-copy file
next

Am I on the right track?


Thanks for any response, even if its "you're in the wrong forum" =)

-STL
AnswerRe: Organize files by modified date into folders \\year\month\file.doc Pin
Dave Kreskowiak13-Aug-09 8:08
mveDave Kreskowiak13-Aug-09 8:08 
GeneralRe: Organize files by modified date into folders \\year\month\file.doc Pin
MatthewStLawrence13-Aug-09 8:13
MatthewStLawrence13-Aug-09 8:13 
AnswerRe: Organize files by modified date into folders \\year\month\file.doc Pin
0x3c013-Aug-09 8:17
0x3c013-Aug-09 8:17 
AnswerRe: Organize files by modified date into folders \\year\month\file.doc Pin
Luc Pattyn13-Aug-09 9:01
sitebuilderLuc Pattyn13-Aug-09 9:01 
GeneralRe: Organize files by modified date into folders \\year\month\file.doc Pin
MatthewStLawrence13-Aug-09 9:16
MatthewStLawrence13-Aug-09 9:16 
GeneralRe: Organize files by modified date into folders \\year\month\file.doc Pin
Luc Pattyn13-Aug-09 9:21
sitebuilderLuc Pattyn13-Aug-09 9:21 
AnswerRe: Organize files by modified date into folders \\year\month\file.doc Pin
MatthewStLawrence17-Aug-09 9:49
MatthewStLawrence17-Aug-09 9:49 
AnswerRe: Organize files by modified date into folders \\year\month\file.doc Pin
MatthewStLawrence17-Aug-09 12:17
MatthewStLawrence17-Aug-09 12:17 
QuestionHow to hook the taskbar Pin
User 584223713-Aug-09 3:51
User 584223713-Aug-09 3:51 
AnswerRe: How to hook the taskbar Pin
Dave Kreskowiak13-Aug-09 4:42
mveDave Kreskowiak13-Aug-09 4:42 
GeneralRe: How to hook the taskbar Pin
User 584223713-Aug-09 5:00
User 584223713-Aug-09 5:00 
GeneralRe: How to hook the taskbar Pin
Dave Kreskowiak13-Aug-09 6:08
mveDave Kreskowiak13-Aug-09 6:08 
QuestionExternal IP Retrieval Pin
Abhay Pratap Sikarwar13-Aug-09 2:29
Abhay Pratap Sikarwar13-Aug-09 2:29 
AnswerRe: External IP Retrieval Pin
mdrizwan_113-Aug-09 2:43
mdrizwan_113-Aug-09 2:43 
AnswerRe: External IP Retrieval Pin
Luc Pattyn13-Aug-09 3:12
sitebuilderLuc Pattyn13-Aug-09 3:12 
AnswerRe: External IP Retrieval Pin
Dave Kreskowiak13-Aug-09 4:33
mveDave Kreskowiak13-Aug-09 4:33 
QuestionFind missing Dll and ocx files? Pin
mdrizwan_113-Aug-09 1:40
mdrizwan_113-Aug-09 1:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.