Results 1 to 2 of 2
  1. #1
    azdjedi is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2014
    Posts
    4

    Will multi thread solve this problem or is there a better way?

    Hey,



    Thanks for reading.

    Here's the situation. I have an Import database that Windows Scheduler runs every 15 minutes on a server that isn't monitored (excpet during 9-5 hours). It does multiple things based on internal settings that aren't relevant here. The problem that happens is sometimes Access crashes, or Excel crashes, or Outlook crashes. Because of this I've set up a VBS task that runs at 4am every day--it simply force closes everything and restarts them. Great.

    The problem I'm still having is sometimes Office will crash intraday; I'd like for my VBS script to run every 15 minutes...to start fresh each time. The issue with that is if the "every 15 minutes" script is still importing stuff then the VBS script will kill it before it's done. I could set it to run every 30 minutes, but again, timing crossover is possible.

    I was thinking I could have the Import database write to a file every 1 minute so the VBS script could check if it's being updated. MS Access has the form timer, but it doesn't run concurrently with the real vba code.

    Any suggestions?

    Thanks.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Why are the various systems crashing? How come Access, Excel and Outlook are involved? Can you show the logic of what you are doing in broad terms (the 30,000 foot view) to give readers some idea of context?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Easy problem to solve
    By alka in forum Access
    Replies: 2
    Last Post: 11-19-2013, 02:01 PM
  2. Beginner thread, 1 problem when using forms
    By c.yyang in forum Access
    Replies: 8
    Last Post: 06-22-2013, 11:26 PM
  3. Multi-record thread
    By MWilliams1188 in forum Forms
    Replies: 13
    Last Post: 11-09-2012, 05:13 PM
  4. Replies: 2
    Last Post: 10-31-2012, 11:52 AM
  5. can you solve my problem please?
    By grad2009 in forum Access
    Replies: 2
    Last Post: 02-16-2010, 05:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums