Re: Accessing a file, that another process has open..



On Aug 3, 12:31 am, "Newbie" <new...@xxxxxxxxxx> wrote:

I have a situation where my application is trying to access a file, that
another application may have temporalily open.

The error I get is

The process cannot access the file 'C:\picks\test50k.gp1' because it is
being used by another process.


What code did you use to try to open the file? Did you specify a
sharing mode? If the other program has not opened the file
exclusively then you should be able to open the file at the same
time. Do you intend to modify the file? Or just read it? Some more
details would make it easier to help you.

Chris
.



Relevant Pages

  • Re: Help a newbie please?
    ... If you read the Ant documentation they document how to specify ... So then I modify the jarpath? ... Use 'import' to specify the fully-qualified name (FQN) of a class so ...
    (comp.lang.java.programmer)
  • Re: Alter Table + Add Column w/ variable field name
    ... As I mentioned it was a syntax error in the Alter Table statement. ... The first thing I do is delete the old table and then import an Excel spreadsheet with the accounts that they want to scrape the mainframe for. ... The problem is that I have to figure out how to specify the properites of the fields. ... Does any of this make sense and does anyone know how to modify the properties of a table in VBA? ...
    (microsoft.public.access.tablesdbdesign)
  • Re: const struct members
    ... to specify that it will only be changing certain members of the ... Since modify_b can't modify 'a' and modify_a can't modify 'b', ... members and making it difficult to assign/modify things. ... protection due to the object oriented feature of binding code with data. ...
    (comp.lang.c)
  • Re: How do programs use modules?
    ... I intend to allow the modules to modify just about any part of the ... to load in dynamic code. ... I want the loaded modules to be able to take control of any part ...
    (comp.unix.programmer)
  • Re: Using document library web parts
    ... You modify the web part and specify the View ... Engelbert ... > The library itself has had its default 'allitems' view adjusted so that ...
    (microsoft.public.sharepoint.portalserver.development)

Loading