Re: How To Rebuild Objects From Text Files?



On May 19, 12:01 am, lyle fairfield <lyle.fairfi...@xxxxxxxxx> wrote:
I don't know. A Search for "can't create the output file" in this
newsgroup doesn't find anything pertinent; ditto for 2285.

But a general Google search for "can't create the output file 2285"
returns many hits. A really quick glance at these might make one
wonder if the error is related to file attributes or folder
permissions. But when you "LoadFromText" you're not creating an
"output file", at least not ostensibly (VB/Access might be doing this
with a temporary file behind the scenes.)

So, where from here? Have you tried "On Error Resume Next" to see if
any forms load?

You're writing, obviously, to the folder where the (new) app lives.
And you must have write permissions there or SaveAsText would fail.

That's all that comes to mind on a Sunday morning, but several other
people are using the SaveAsText-LoadFromText duality as a cleanser and
perhaps someone will recognize the problem and be able to help.

Thanks for your help Lyle. I tried using "On Error Resume Next" and
the result was interesting. An "Errors.txt" file was created for each
form, 37 of them in this case. Each Errors.txt file contains
nothing. I thought that Vista might be doing strange things to me and
booted into XP but the result was the same. As you say, perhaps
someone else will be able to help.
.



Relevant Pages

  • Re: How To Rebuild Objects From Text Files?
    ... new folder, but stops with the error at the line of code that I posted ... But a general Google search for "can't create the output file 2285" ... And you must have write permissions there or SaveAsText would fail. ...
    (comp.databases.ms-access)
  • Re: Code Efficiency Suggestions
    ... > Outer loop: while not EOF of input file ... > create new output file in the new folder ... > Inner loop: while output file row counter <65000 and not input EOF ...
    (microsoft.public.excel.programming)
  • Re: Code Efficiency Suggestions
    ... Outer loop: while not EOF of input file ... create new output file in the new folder ... Inner loop: while output file row counter <65000 and not input EOF ...
    (microsoft.public.excel.programming)
  • Re: Steve, have you had any problems with C5LIB.C writing to disk?
    ... an output file for writing under MS-DOS v7.10 in real mode. ... DOSLFN, no path, full path, DOS LOCK command (to allow direct writes to ... 'short cuts' can't be copied with a 'work_space' folder to ... I use 'shortcut's for nasm and sid. ...
    (alt.lang.asm)
  • Re: remotable object does not output file
    ... you can only write to disk with the permissions that the host process ... >I have a remotable object hosted in IIS that loads a native DLL. ... >and I have the same problem: no output file. ...
    (microsoft.public.dotnet.framework.remoting)