Results 1 to 6 of 6

Thread: forcibly close a file [resolved]

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member stingrae's Avatar
    Join Date
    Apr 2002
    Location
    Sydney
    Posts
    401

    forcibly close a file [resolved]

    I'm trying to open a file for reading, as in the following code:

    Code:
    FileOpen(1, strTemp, OpenMode.Binary)
    and everytime i keep getting a message saying the File Is Already Open.

    i have used this file previously in the application (in another function) and have closed it.

    does anybody know if there's a way to forcibly close all applications that are using a file?

    thanks

    R
    Last edited by stingrae; Dec 17th, 2003 at 07:11 PM.
    "The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.

    Windows & Web Developer
    Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
    Sutherland Shire, Sydney Australia
    www.stingrae.com.au
    Developer of Arnold - Gym & Martial Arts Database Management System
    www.gymdatabase.com.au

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