Initialization error?

Initialization error?

Anonymous
Not applicable
1,035 Views
8 Replies
Message 1 of 9

Initialization error?

Anonymous
Not applicable
Hi all,

I have a strange error that I can not seem to figure out. upon starting
AutoCAD I get the following error messages on the command line:

"Command: Initializing VBA System..."
"Command: ; error: Automation Error. Problem in loading DVB file"

The strange thing is I have changed the name of the ACAD.RX file with has
the reference to load ACADVBA.ARX, I have removed all references to any .DVB
file from all .lsp files etc... upon Acad startup there are no .DVB files
loaded at all. The only thing I can not do is unload the ACADVBA.ARX
application (not sure how to do it). When all of the above references are
in place, all the required .DVB files load and run correctly, but I still
get the error. The only thing I can think of is that semi-colon at the
beginning of the second line. But what perplexes me is where it comes from
since everything is unreferenced.

Does any one know why this error may be occurring?

TIA,

Rob
0 Likes
1,036 Views
8 Replies
Replies (8)
Message 2 of 9

Anonymous
Not applicable
Sorry,

I accidentally placed another "Command:" prompt in the previous post... the
error should read as follows:

Command: Initializing VBA System...; error: Automation Error. Problem in
loading DVB file

TIA,

Rob

"Rob Outman" wrote in message
news:[email protected]...
> Hi all,
>
> I have a strange error that I can not seem to figure out. upon starting
> AutoCAD I get the following error messages on the command line:
>
> "Command: Initializing VBA System..."
> "Command: ; error: Automation Error. Problem in loading DVB file"
>
> The strange thing is I have changed the name of the ACAD.RX file with has
> the reference to load ACADVBA.ARX, I have removed all references to any
.DVB
> file from all .lsp files etc... upon Acad startup there are no .DVB files
> loaded at all. The only thing I can not do is unload the ACADVBA.ARX
> application (not sure how to do it). When all of the above references are
> in place, all the required .DVB files load and run correctly, but I still
> get the error. The only thing I can think of is that semi-colon at the
> beginning of the second line. But what perplexes me is where it comes
from
> since everything is unreferenced.
>
> Does any one know why this error may be occurring?
>
> TIA,
>
> Rob
>
>
0 Likes
Message 3 of 9

Ed__Jobe
Mentor
Mentor
This problem comes, not from a typo in the command that loads the dvb, but from a compile error *in* the dvb. Try loading the dvb from VBAMAN and then in the vbaide, Debug>Compile to find the error.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 4 of 9

Anonymous
Not applicable
Hi Ed,

Thanx for the reply... Actually that is why I am having this problem. There
is no DVB file lodaed at all. The error comes up every time AutoCAD is
started with no DVB lodaed. I can't explain it. I have ran Debug>Compile
on the only two DVB files I have, and did not get an error message with
either one of them.

Any other suggestions?

TIA,

Rob


"Ed_Jobe" wrote in message news:[email protected]...
This problem comes, not from a typo in the command that loads the dvb, but
from a compile error *in* the dvb. Try loading the dvb from VBAMAN and then
in the vbaide, Debug>Compile to find the error.
0 Likes
Message 5 of 9

Ed__Jobe
Mentor
Mentor
Do you have an acad.dvb? That autoloads without any other code needed. You might be forgetting something there.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 6 of 9

Anonymous
Not applicable
Hi Ed,

 

Nope... I removed the ACAD.dvb from the
directory completely so it would not load.  I double check every time
AutoCAD starts, and no ACAD.DVB is loaded.  This is a strange
one.

 

Is there a way to unload the ACADVBA.ARX
application?  Maybe if I can get that unloaded and start over the error
will go away.

 

Thanx again Ed,

 

Rob

 

 

"Ed_Jobe" <eljobe> wrote in message
href="news:[email protected]">news:[email protected]
...


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">Do
you have an acad.dvb? That autoloads without any other code needed. You might
be forgetting something there.
0 Likes
Message 7 of 9

Ed__Jobe
Mentor
Mentor
If you are loading it from acad.rx, you can comment it out with a ";" following rules for lisp comments. Do you have any lisp trying to load dvb's from menu macros or mnl's?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 8 of 9

Anonymous
Not applicable
Hi again Ed,

Yes, I am loading the ACADVBA.ARX from the ACAD.RX file, but I have
previuosly renamed the Acad.rx file to something that AutoCAD would not
recognize so it would not try to load the ACADVBA.ARX file, but the .ARX
stays loaded even after you shut down and restart. Straight from the
AutoCAD help file... "Files that you cannot unload are not available for
selection." Inside the "Load / Unload Applications" dialog, the ACADVBA.ARX
is greyed out meaning I can not unload it. Just wondering if there is some
magical way to unload it.

As far as any lisp loading a DVB from menus, etc... nope I have checked that
too. I only have one custom menu loaded and I have completely unloaded it
to be sure. I have not altered any other menus.

I am about to throw my arms up in the air and just deal with the error
message since it does not appear to be doing any harm!

Thanx again,

Rob


"Ed_Jobe" wrote in message news:[email protected]...
If you are loading it from acad.rx, you can comment it out with a ";"
following rules for lisp comments. Do you have any lisp trying to load dvb's
from menu macros or mnl's?
0 Likes
Message 9 of 9

Anonymous
Not applicable
Hi All,

I have finally solved the problem with my error...

Basically I am loading my .dvb file twice... once with the Acad.dvb file and
once in the acaddoc.lsp file.

Thanx to both Ed and John for pointing me in some new directions...

Rob

"Rob Outman" wrote in message
news:[email protected]...
> Hi again Ed,
>
> Yes, I am loading the ACADVBA.ARX from the ACAD.RX file, but I have
> previuosly renamed the Acad.rx file to something that AutoCAD would not
> recognize so it would not try to load the ACADVBA.ARX file, but the .ARX
> stays loaded even after you shut down and restart. Straight from the
> AutoCAD help file... "Files that you cannot unload are not available for
> selection." Inside the "Load / Unload Applications" dialog, the
ACADVBA.ARX
> is greyed out meaning I can not unload it. Just wondering if there is
some
> magical way to unload it.
>
> As far as any lisp loading a DVB from menus, etc... nope I have checked
that
> too. I only have one custom menu loaded and I have completely unloaded it
> to be sure. I have not altered any other menus.
>
> I am about to throw my arms up in the air and just deal with the error
> message since it does not appear to be doing any harm!
>
> Thanx again,
>
> Rob
>
>
> "Ed_Jobe" wrote in message news:[email protected]...
> If you are loading it from acad.rx, you can comment it out with a ";"
> following rules for lisp comments. Do you have any lisp trying to load
dvb's
> from menu macros or mnl's?
>
>
0 Likes