Unable to load project from file

Unable to load project from file

Anonymous
Not applicable
585 Views
17 Replies
Message 1 of 18

Unable to load project from file

Anonymous
Not applicable
This is a re-post. Question B has not been answered. Does anybody have a
solution?

A few days ago I started to redesign one of my forms to make it easier to
use. It was already a fairly large project at approx 3Mb. Something
happened along the way and now it is approx 5Mb and will not load in
AutoCAD. An error message pops up that says "Could not load project from
file."

So my 2 questions are: A) how do I modify a project and keep it at the same
size or make it smaller. After all, I was removing superfluous code. B)
How can I load this project. I don't feel like re-doing the whole thing.

--
E.L. Stewart
http://www.wrightcop.com
http://elsdesigns.bizland.com
0 Likes
586 Views
17 Replies
Replies (17)
Message 2 of 18

Anonymous
Not applicable
As for the size in the VBAManager do a saveas on the project. That should
reduce the size. It seems that even if you remove code and run it, it still
increases in size. (Strange)
Maybe that will also help loading it.

"Eric Stewart" wrote in message
news:[email protected]...
> This is a re-post. Question B has not been answered. Does anybody have a
> solution?
>
> A few days ago I started to redesign one of my forms to make it easier to
> use. It was already a fairly large project at approx 3Mb. Something
> happened along the way and now it is approx 5Mb and will not load in
> AutoCAD. An error message pops up that says "Could not load project from
> file."
>
> So my 2 questions are: A) how do I modify a project and keep it at the
same
> size or make it smaller. After all, I was removing superfluous code. B)
> How can I load this project. I don't feel like re-doing the whole thing.
>
> --
> E.L. Stewart
> http://www.wrightcop.com
> http://elsdesigns.bizland.com
>
0 Likes
Message 3 of 18

Anonymous
Not applicable
Thanks, but I cannot even get it to load the project. Therefore, I cannot
perform a saveas. It appears that the file is corrupt. Is there anyway to
recover this file? Thanks again.
0 Likes
Message 4 of 18

Anonymous
Not applicable
Hi Eric,
It sounds like your using 14.01. This bug was fixed in A2k. As for loading
it, you might try either a machine with more ram (just a guess) or if you can
get far enough into load, disable the macros, then doing a saveas. Otherwise,
you're probably out of luck. In the future if you're going to continue to use
14.01 vba, you might want to do a saveas every so often when you see the file
size begin to increase. My largest dvb is a little over a meg and it's huge
(approximately 40 pages of code), in fact I've run into problems with it
hitting the 256k "dot (.) barrier". You most likely had a problem back when it
was 3 megs.
-Josh

Eric Stewart wrote:

> Thanks, but I cannot even get it to load the project. Therefore, I cannot
> perform a saveas. It appears that the file is corrupt. Is there anyway to
> recover this file? Thanks again.
0 Likes
Message 5 of 18

Anonymous
Not applicable
Unfortunately, I'm using 2K. So am I totally out of luck? I am the only
person using AutoCAD. I am the only on in the cad group and the manager of
my group (hard to explain conflicts within the group to management) so going
to another computer isn't really a choice. What do you mean by or if
you can get far enough into load, disable the macros, then doing a saveas.


How do I know if I am getting far enough in?

--
E.L. Stewart
http://www.wrightcop.com
http://elsdesigns.bizland.com
Minkwitz Design wrote in message <[email protected]>...
>Hi Eric,
> It sounds like your using 14.01. This bug was fixed in A2k. As for
loading
>it, you might try either a machine with more ram (just a guess) or if you
can
>get far enough into load, disable the macros, then doing a saveas.
Otherwise,
>you're probably out of luck. In the future if you're going to continue to
use
>14.01 vba, you might want to do a saveas every so often when you see the
file
>size begin to increase. My largest dvb is a little over a meg and it's huge
>(approximately 40 pages of code), in fact I've run into problems with it
>hitting the 256k "dot (.) barrier". You most likely had a problem back when
it
>was 3 megs.
>-Josh
>
>Eric Stewart wrote:
>
>> Thanks, but I cannot even get it to load the project. Therefore, I
cannot
>> perform a saveas. It appears that the file is corrupt. Is there anyway
to
>> recover this file? Thanks again.
>
0 Likes
Message 6 of 18

Anonymous
Not applicable
Was that bug fixed in a sp of A2K because my A2K still grows and I have to
do a saveas. And I believe that I'm running base A2K. (How do I check for
sp's?)

"Minkwitz Design" wrote in message
news:[email protected]...
> Hi Eric,
> It sounds like your using 14.01. This bug was fixed in A2k. As for
loading
> it, you might try either a machine with more ram (just a guess) or if you
can
> get far enough into load, disable the macros, then doing a saveas.
Otherwise,
> you're probably out of luck. In the future if you're going to continue to
use
> 14.01 vba, you might want to do a saveas every so often when you see the
file
> size begin to increase. My largest dvb is a little over a meg and it's
huge
> (approximately 40 pages of code), in fact I've run into problems with it
> hitting the 256k "dot (.) barrier". You most likely had a problem back
when it
> was 3 megs.
> -Josh
>
> Eric Stewart wrote:
>
> > Thanks, but I cannot even get it to load the project. Therefore, I
cannot
> > perform a saveas. It appears that the file is corrupt. Is there anyway
to
> > recover this file? Thanks again.
>
0 Likes
Message 7 of 18

Anonymous
Not applicable
It happened to me once. But suddenly the project started to load again, I was
luck.

Now, I use to export all my modules, classes and forms eventually, so that I can
recompose my project in case I loose it. When I start a new project and import
the modules I've exported earlier, its size decreases a lot.

Eric Stewart wrote:

> This is a re-post. Question B has not been answered. Does anybody have a
> solution?
>
> A few days ago I started to redesign one of my forms to make it easier to
> use. It was already a fairly large project at approx 3Mb. Something
> happened along the way and now it is approx 5Mb and will not load in
> AutoCAD. An error message pops up that says "Could not load project from
> file."
>
> So my 2 questions are: A) how do I modify a project and keep it at the same
> size or make it smaller. After all, I was removing superfluous code. B)
> How can I load this project. I don't feel like re-doing the whole thing.
>
> --
> E.L. Stewart
> http://www.wrightcop.com
> http://elsdesigns.bizland.com
0 Likes
Message 8 of 18

Anonymous
Not applicable
Thanks for the tips everybody. I will be sure to follow these guidelines in
the future, but is there anyway to salvage my file?
0 Likes
Message 9 of 18

Anonymous
Not applicable
Hi,

If you want to send me your file, i will try to load it on my machine, and
do the save as.

In the future, to ensure it stay small you have to:

1- Do a save as each time you want to same, then rename to your original
name.
2- Export all your modules then rebuild a new project. This will make the
project even smaller then the save as.

Usually we use the save as method until we prepare a shipping version where
we do the export and rebuild.

Luc Morrissette,
Flairbase inc.

"Eric Stewart" wrote in message
news:[email protected]...
> Thanks for the tips everybody. I will be sure to follow these guidelines
in
> the future, but is there anyway to salvage my file?
>
0 Likes
Message 10 of 18

Anonymous
Not applicable
Hi Eric,
In A2K press Alt+F8. The macros dialogue will appear, now select options,
and check the box labeled "enable macro virus protection". Now when you attempt
to load the dvb, you should get a dialogue asking if you want to leave the
macros enabled or if you want to disable them. If you disable them, you will
still be able to do a saveas, export modules and forms, ect. but they won't run
from the vbarun dialogue. I'm not sure if it will help, but it's worth a try.
-Josh

Eric Stewart wrote:

> Unfortunately, I'm using 2K. So am I totally out of luck? I am the only
> person using AutoCAD. I am the only on in the cad group and the manager of
> my group (hard to explain conflicts within the group to management) so going
> to another computer isn't really a choice. What do you mean by or if
> you can get far enough into load, disable the macros, then doing a saveas.
>

>
> How do I know if I am getting far enough in?
>
> --
> E.L. Stewart
> http://www.wrightcop.com
> http://elsdesigns.bizland.com
> Minkwitz Design wrote in message <[email protected]>...
> >Hi Eric,
> > It sounds like your using 14.01. This bug was fixed in A2k. As for
> loading
> >it, you might try either a machine with more ram (just a guess) or if you
> can
> >get far enough into load, disable the macros, then doing a saveas.
> Otherwise,
> >you're probably out of luck. In the future if you're going to continue to
> use
> >14.01 vba, you might want to do a saveas every so often when you see the
> file
> >size begin to increase. My largest dvb is a little over a meg and it's huge
> >(approximately 40 pages of code), in fact I've run into problems with it
> >hitting the 256k "dot (.) barrier". You most likely had a problem back when
> it
> >was 3 megs.
> >-Josh
> >
> >Eric Stewart wrote:
> >
> >> Thanks, but I cannot even get it to load the project. Therefore, I
> cannot
> >> perform a saveas. It appears that the file is corrupt. Is there anyway
> to
> >> recover this file? Thanks again.
> >
0 Likes
Message 11 of 18

Anonymous
Not applicable
Darn, did not work. Thanks anyway. It still could not load the project.

--
E.L. Stewart
http://www.wrightcop.com
http://elsdesigns.bizland.com
0 Likes
Message 12 of 18

Anonymous
Not applicable
Hi Eric,

I tried to open the file, but no luck (even in 2000i). I know that is not
because of hardware limitations.

It is not fun to say, but it looks that you have to go to your last working
backup and restart from there.

Luc Morrissette,
Flairbase inc.

"Eric Stewart" wrote in message
news:[email protected]...
> Thanks for the tips everybody. I will be sure to follow these guidelines
in
> the future, but is there anyway to salvage my file?
>
0 Likes
Message 13 of 18

Anonymous
Not applicable
Hi David,
Sorry for the delayed response, I was sent off on another assignment. I'm
running vanilla a2k as well and the problem no longer exists. So I assumed it
was fixed. The only thing I may have done differently is to keep up to date with
the express tools and vip library. I don't know of an actual service pack, but I
may have loaded something unknowingly with one of the vip updates. Out of
curiosity, did you uninstall 14.01 before installing a2k? There have been
reports of problems with both versions running on the same machine / same drive.

-Josh

"David M. Gardner" wrote:

> Was that bug fixed in a sp of A2K because my A2K still grows and I have to
> do a saveas. And I believe that I'm running base A2K. (How do I check for
> sp's?)
>
> "Minkwitz Design" wrote in message
> news:[email protected]...
> > Hi Eric,
> > It sounds like your using 14.01. This bug was fixed in A2k. As for
> loading
> > it, you might try either a machine with more ram (just a guess) or if you
> can
> > get far enough into load, disable the macros, then doing a saveas.
> Otherwise,
> > you're probably out of luck. In the future if you're going to continue to
> use
> > 14.01 vba, you might want to do a saveas every so often when you see the
> file
> > size begin to increase. My largest dvb is a little over a meg and it's
> huge
> > (approximately 40 pages of code), in fact I've run into problems with it
> > hitting the 256k "dot (.) barrier". You most likely had a problem back
> when it
> > was 3 megs.
> > -Josh
> >
> > Eric Stewart wrote:
> >
> > > Thanks, but I cannot even get it to load the project. Therefore, I
> cannot
> > > perform a saveas. It appears that the file is corrupt. Is there anyway
> to
> > > recover this file? Thanks again.
> >
0 Likes
Message 14 of 18

Anonymous
Not applicable
Thanks for trying

file.

HORDI.

There should be an easier way to keep these files small. Is it just me or
am I asking too much. When you delete a couple pages of code, wouldn't it
make sense for the file to get SMALLER not LARGER. Anyway, I'm out of luck
I guess.

--
E.L. Stewart
http://www.wrightcop.com
http://elsdesigns.bizland.com
0 Likes
Message 15 of 18

Anonymous
Not applicable
I had r14.00 on this machine. But I installed in a different directory.

"Minkwitz Design" wrote in message
news:[email protected]...> Hi David,
> Sorry for the delayed response, I was sent off on another assignment.
I'm
> running vanilla a2k as well and the problem no longer exists. So I assumed
it
> was fixed. The only thing I may have done differently is to keep up to
date with
> the express tools and vip library. I don't know of an actual service pack,
but I
> may have loaded something unknowingly with one of the vip updates. Out of
> curiosity, did you uninstall 14.01 before installing a2k? There have been
> reports of problems with both versions running on the same machine / same
drive.
>
> -Josh
>
> "David M. Gardner" wrote:
>
> > Was that bug fixed in a sp of A2K because my A2K still grows and I have
to
> > do a saveas. And I believe that I'm running base A2K. (How do I check
for
> > sp's?)
> >
> > "Minkwitz Design" wrote in message
> > news:[email protected]...
> > > Hi Eric,
> > > It sounds like your using 14.01. This bug was fixed in A2k. As for
> > loading
> > > it, you might try either a machine with more ram (just a guess) or if
you
> > can
> > > get far enough into load, disable the macros, then doing a saveas.
> > Otherwise,
> > > you're probably out of luck. In the future if you're going to continue
to
> > use
> > > 14.01 vba, you might want to do a saveas every so often when you see
the
> > file
> > > size begin to increase. My largest dvb is a little over a meg and it's
> > huge
> > > (approximately 40 pages of code), in fact I've run into problems with
it
> > > hitting the 256k "dot (.) barrier". You most likely had a problem back
> > when it
> > > was 3 megs.
> > > -Josh
> > >
> > > Eric Stewart wrote:
> > >
> > > > Thanks, but I cannot even get it to load the project. Therefore, I
> > cannot
> > > > perform a saveas. It appears that the file is corrupt. Is there
anyway
> > to
> > > > recover this file? Thanks again.
> > >
>
0 Likes
Message 16 of 18

Anonymous
Not applicable
Different directory or different drive? Version 14.01 with vba or 14 with the
vba add on that you downloaded from autodesk? There's the slight chance you may
have still been sharing some files, ecspecially if you were on the same drive in
different directories. I cleaned out 14.01 before installing a2k. At the time it
was a space issue with me, but now I'm glad I did. There have been posts where
people are or were having conflicts with shared files, registry entries, ect.
between the two. I know it's a major hassle, but when you can find the time, I'd
save your profile, mns, pgp, ect. and re-install (unless your upgrading to 2000i
soon, in which case you'll still want to save your setup). It might save you
some headaches in the future. No more growing dvb's, ect. 14.01 gave me this
problem, but I haven't had one instance of a dvb growing in size in a2k since I
installed (which was whenever it was released via VIP / spring of '99 I
believe).
-Josh

"David M. Gardner" wrote:

> I had r14.00 on this machine. But I installed in a different directory.
>
> "Minkwitz Design" wrote in message
> news:[email protected]...> Hi David,
> > Sorry for the delayed response, I was sent off on another assignment.
> I'm
> > running vanilla a2k as well and the problem no longer exists. So I assumed
> it
> > was fixed. The only thing I may have done differently is to keep up to
> date with
> > the express tools and vip library. I don't know of an actual service pack,
> but I
> > may have loaded something unknowingly with one of the vip updates. Out of
> > curiosity, did you uninstall 14.01 before installing a2k? There have been
> > reports of problems with both versions running on the same machine / same
> drive.
> >
> > -Josh
> >
> > "David M. Gardner" wrote:
> >
> > > Was that bug fixed in a sp of A2K because my A2K still grows and I have
> to
> > > do a saveas. And I believe that I'm running base A2K. (How do I check
> for
> > > sp's?)
> > >
> > > "Minkwitz Design" wrote in message
> > > news:[email protected]...
> > > > Hi Eric,
> > > > It sounds like your using 14.01. This bug was fixed in A2k. As for
> > > loading
> > > > it, you might try either a machine with more ram (just a guess) or if
> you
> > > can
> > > > get far enough into load, disable the macros, then doing a saveas.
> > > Otherwise,
> > > > you're probably out of luck. In the future if you're going to continue
> to
> > > use
> > > > 14.01 vba, you might want to do a saveas every so often when you see
> the
> > > file
> > > > size begin to increase. My largest dvb is a little over a meg and it's
> > > huge
> > > > (approximately 40 pages of code), in fact I've run into problems with
> it
> > > > hitting the 256k "dot (.) barrier". You most likely had a problem back
> > > when it
> > > > was 3 megs.
> > > > -Josh
> > > >
> > > > Eric Stewart wrote:
> > > >
> > > > > Thanks, but I cannot even get it to load the project. Therefore, I
> > > cannot
> > > > > perform a saveas. It appears that the file is corrupt. Is there
> anyway
> > > to
> > > > > recover this file? Thanks again.
> > > >
> >
0 Likes
Message 17 of 18

Anonymous
Not applicable
Plane 14 no VBA. They did not use it till I got here back in April.
Same drive different folder.

"Minkwitz Design" wrote in message
news:[email protected]...
> Different directory or different drive? Version 14.01 with vba or 14 with
the
> vba add on that you downloaded from autodesk? There's the slight chance
you may
> have still been sharing some files, ecspecially if you were on the same
drive in
> different directories. I cleaned out 14.01 before installing a2k. At the
time it
> was a space issue with me, but now I'm glad I did. There have been posts
where
> people are or were having conflicts with shared files, registry entries,
ect.
> between the two. I know it's a major hassle, but when you can find the
time, I'd
> save your profile, mns, pgp, ect. and re-install (unless your upgrading to
2000i
> soon, in which case you'll still want to save your setup). It might save
you
> some headaches in the future. No more growing dvb's, ect. 14.01 gave me
this
> problem, but I haven't had one instance of a dvb growing in size in a2k
since I
> installed (which was whenever it was released via VIP / spring of '99 I
> believe).
> -Josh
>
> "David M. Gardner" wrote:
>
> > I had r14.00 on this machine. But I installed in a different directory.
> >
> > "Minkwitz Design" wrote in message
> > news:[email protected]...> Hi David,
> > > Sorry for the delayed response, I was sent off on another
assignment.
> > I'm
> > > running vanilla a2k as well and the problem no longer exists. So I
assumed
> > it
> > > was fixed. The only thing I may have done differently is to keep up to
> > date with
> > > the express tools and vip library. I don't know of an actual service
pack,
> > but I
> > > may have loaded something unknowingly with one of the vip updates. Out
of
> > > curiosity, did you uninstall 14.01 before installing a2k? There have
been
> > > reports of problems with both versions running on the same machine /
same
> > drive.
> > >
> > > -Josh
> > >
> > > "David M. Gardner" wrote:
> > >
> > > > Was that bug fixed in a sp of A2K because my A2K still grows and I
have
> > to
> > > > do a saveas. And I believe that I'm running base A2K. (How do I
check
> > for
> > > > sp's?)
> > > >
> > > > "Minkwitz Design" wrote in message
> > > > news:[email protected]...
> > > > > Hi Eric,
> > > > > It sounds like your using 14.01. This bug was fixed in A2k. As
for
> > > > loading
> > > > > it, you might try either a machine with more ram (just a guess) or
if
> > you
> > > > can
> > > > > get far enough into load, disable the macros, then doing a saveas.
> > > > Otherwise,
> > > > > you're probably out of luck. In the future if you're going to
continue
> > to
> > > > use
> > > > > 14.01 vba, you might want to do a saveas every so often when you
see
> > the
> > > > file
> > > > > size begin to increase. My largest dvb is a little over a meg and
it's
> > > > huge
> > > > > (approximately 40 pages of code), in fact I've run into problems
with
> > it
> > > > > hitting the 256k "dot (.) barrier". You most likely had a problem
back
> > > > when it
> > > > > was 3 megs.
> > > > > -Josh
> > > > >
> > > > > Eric Stewart wrote:
> > > > >
> > > > > > Thanks, but I cannot even get it to load the project.
Therefore, I
> > > > cannot
> > > > > > perform a saveas. It appears that the file is corrupt. Is
there
> > anyway
> > > > to
> > > > > > recover this file? Thanks again.
> > > > >
> > >
>
0 Likes
Message 18 of 18

Anonymous
Not applicable
There is an easier way,,,,,,,,,,,reinstall. If your using a2k, this shouldn't
be happening. I haven't had to do the saveas thing at all, since upgrading.
Check the portion of the string above with David. I'm betting your situation is
the same, you probably installed a2k before cleaning out 14 and something
didn't get updated with the install or a shared file wasn't removed when you
uninstalled 14, who knows. Whatever it is, if you take the time to clean out
your machine and start from a fresh install (saving all your goodies ahead of
time), I'll bet this problem will be nothing more than a memory. Your still
on the file though, Sorry.
-Josh

Eric Stewart wrote:

> Thanks for trying
>
> file.
>
> HORDI.
>
> There should be an easier way to keep these files small. Is it just me or
> am I asking too much. When you delete a couple pages of code, wouldn't it
> make sense for the file to get SMALLER not LARGER. Anyway, I'm out of luck
> I guess.
>
> --
> E.L. Stewart
> http://www.wrightcop.com
> http://elsdesigns.bizland.com
0 Likes