Results 1 to 4 of 4

Thread: [RESOLVED] File Pooling in a Folder

  1. #1

    Thread Starter
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    Resolved [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

  2. #2

    Thread Starter
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    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.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: File Pooling in a Folder


  4. #4

    Thread Starter
    Frenzied Member zynder's Avatar
    Join Date
    Nov 2006
    Location
    localhost
    Posts
    1,434

    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
  •  



Click Here to Expand Forum to Full Width