Re: How To Rebuild Objects From Text Files?



On May 18, 11:34 am, Wayne <cqdigi...@xxxxxxxxxxxxxxx> wrote:
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.

A little further search brings up this error described but no
suggestion as to its cause or cure. If you were to post the text file
for the first form that fails, some of us might see if we can load the
form into a database with the LoadFromText method. If so, we will know
its not your form. If not, we might be able to study the problem in
general terms, (or you could just send me the text file and I'll post
it: lyle dot fairfield at gmail dot com).
.



Relevant Pages

  • Re: FileLoadException msvcm80.dll and msvcr80.dll are missing (by depends.exe)
    ... What does the log say about the exception? ... > When running on a machine w/o VS2005 - The application fail to load ... So it seems the redist file is installed correct. ... Could it be that depends fail to find a file that the runtime will ...
    (microsoft.public.dotnet.framework.clr)
  • Re: ma111 netgear wwifi adapter and suse 9.0
    ... > compiled and I have tried to get it to load the driver onboot, ... > The drivr tries to load and fail and the reset=1 flag fails as well, ... And be sure you have removed the existing modules before installing new ... Even if you upgrade upgraded modules, ...
    (alt.os.linux.suse)
  • Kernel module symbol versioning?
    ... I have been reading the book "Linux Device Drivers, ... some questions about symbol versioning. ... kernels and fail if the symbol CRC's do not match. ... but this module fails to load unless I pass the '-f' ...
    (Linux-Kernel)
  • Re: Library location for MSReader
    ... The problem is not that the files fail to load (DRM or non DRM) but that ... they fail regularly during reading with the message "Microsoft Reader is no ... > are the files that fail to load all DRM5 files? ...
    (microsoft.public.pocketpc)
  • Re: Opening Excel from Access
    ... of course will fail as the address is mangled; use ... lyle DOT fairfield at gmail dot com ... (Office 2000 SP3) ...
    (comp.databases.ms-access)