Inserting a block

Inserting a block

Anonymous
Not applicable
434 Views
4 Replies
Message 1 of 5

Inserting a block

Anonymous
Not applicable
I have a program that I wrote for my office which goes through multiple drawings and inserts a block that the user browses for. It runs fine on every computer except one. I stepped through the routine on that person's computer and when the program actually attempts to insert a block via VBA, I get the error message: Automation Error - Interface Not Registered. Does anyone have any idea what could be causing this error message? The routine works fine on every other computer.
This is AutoCAD 2008 we are using, by the way.

-Aphyosemion
0 Likes
435 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
i imagine you already checked tools references and compared that computer to the others....
0 Likes
Message 3 of 5

Anonymous
Not applicable
Are you using any controls not meant for VBA such as a ListView or
CommonDialog?

Joe ...


"Aphyosemion" wrote in message news:6023613@discussion.autodesk.com...
I have a program that I wrote for my office which goes through multiple
drawings and inserts a block that the user browses for. It runs fine on
every computer except one. I stepped through the routine on that person's
computer and when the program actually attempts to insert a block via VBA, I
get the error message: Automation Error - Interface Not Registered. Does
anyone have any idea what could be causing this error message? The routine
works fine on every other computer.
This is AutoCAD 2008 we are using, by the way.

-Aphyosemion
0 Likes
Message 4 of 5

Anonymous
Not applicable
No, I am not using any non-standard items. This is straight out of the box VBA. I also have not attempted to check the references. It doesn't seem like that would vary from computer to computer considering we all have the same setup and are running the same program.
It is a good idea though, and I'll take a look.

-Aphyosemion
0 Likes
Message 5 of 5

Anonymous
Not applicable
The reason for asking is that I have some Access applications that don't use
anything special. However, since I have everything installed on my machine
the applications always work. But others try to install and use them and
they have problems. I found that if I installed one certain VB application I
wrote that the other applications start working.

Joe ...


"Aphyosemion" wrote in message news:6024202@discussion.autodesk.com...
No, I am not using any non-standard items. This is straight out of the box
VBA. I also have not attempted to check the references. It doesn't seem
like that would vary from computer to computer considering we all have the
same setup and are running the same program.
It is a good idea though, and I'll take a look.

-Aphyosemion
0 Likes