Results 1 to 2 of 2

Thread: WatchDirectory...for cashregister print

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Craiova, Romania
    Posts
    140

    WatchDirectory...for cashregister print

    I have four computer conected in a network .... running a mini POS in VB6 ... but only one computer(Server) have a cashregister connected (serial port).
    I need that other computer print to cashregister.
    ....
    So i think the best ideea is to create a "Folder monitor" on Server and then send file from other computer from network to that folder.

    I found a sample here :
    http://www.mvps.org/vbvision/_sample...ctory_Demo.zip

    The problem is that:
    - I want to modify the sample so the event notification appear only when the file terminate to write on server monitor ( to avoid run cashregister exe application when file is incomplet write to disk....delay appear because of network transfer)
    --------------------------------
    1. File start to write in disk (BonFile) - NO EVENT
    2. File Write (BonFile) - NO EVENT
    3. File terminate write (BonFile) - EVENT NOTIFICATION -----> Run Cashregister EXE

    4. Shell and wait for execute Cashregister EXE
    5. Delete file (BonFile)

    6. Loop
    --------------------------------

    Sorry for my english...
    Hope understand me.
    Last edited by cliv; Nov 8th, 2010 at 05:30 AM.

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