|
-
Oct 13th, 2010, 01:08 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] File Pooling in a Folder
Hi everyone!!!
It's been more than a year since i last touch my VB6 app, and I'm kinda rusty now. Before i create this thread I already search the archives and i cant find anything or i probably i missed it haha.
Anyway, i need to create an app that will run 24/7 and it needs to detect RTF files in a source folder. It wont stop detecting even if there's no RTF files. If there is then it will process it. Now once detected, it will open it and parse some data on it and then move to a destination folder if successful.
Can somebody point me to the right direction? Should i use filesystem object or native VB or probably API? What is the most practical way to achieve this?
I already started it using FS component but i'm not quite happy. I think i should use a timer in here. My code will stop if there's no more files on the folder haha.
TIA
-zynder
-
Oct 13th, 2010, 01:13 PM
#2
Thread Starter
Frenzied Member
Re: File Pooling in a Folder
My GUI would have 4 buttons. RUN, PAUSE/RESUME and STOP. Yes imma need a timer in this. Can somebody post a sample code because my code sucks. I'm populating the path on a listbox and then looping the listbox to do my process to every file LMAO. epic fail.
-
Oct 13th, 2010, 01:27 PM
#3
Re: File Pooling in a Folder
-
Oct 13th, 2010, 01:42 PM
#4
Thread Starter
Frenzied Member
Re: File Pooling in a Folder
Thanks Hack. That's what I'm looking for nice API.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|