LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

application busy error when activating word

Please help!!!

I'm receiving an error code: 0x8001010a while calling CA_CreateObjectByClassIdEx function.
[ I call this function through another function was generated with the Active-X Automation Wizard, for Word 9.0.]

!!!BUT!!! : this only happens on one of the computers I tried it (so the function is probably not the problem). On the other computers, the very same function initializes Word.

What should I do?
0 Kudos
Message 1 of 3
(2,937 Views)
Hi Amiko,

This is an interesting situation. Did you develop this code on this machine, and/or did you run ActiveX Controller Wizard on this machine to get your Word 9.0 ActiveX functions? If you didn't create the ActiveX controller on this machine, perhaps Word 9.0 is not properly registered with your OS. You can try uninstalling Word and reinstalling, then creating the ActiveX controller again (Word 9.0 should be on the list of registered servers). Hopefully this solves the problem Amiko. Which operating system are you running? Do you have more than one version of Word on this machine or any of the other machines you tried your code on? Good luck.

Thanks,
Ted F.
National Instruments
0 Kudos
Message 2 of 3
(2,937 Views)
Hi Ted,

Thank you for your rapid response!!!

- As for your questions:
The OS is Win98, and the Word version was different (it was 9.03 on the problematic computer, compared to 9.02 on others). The ActiveX controller was not created on that specific computer, but - all the other computers functioned okay (although it wasn't created there either)
- I tried uninstalling and re-installing Word. It still didn't work.
- Then I tried creatind the controller on that specific computer (like you advised). Some peculiar things happened:
== First, I got a message saying I had some duplicate names (for functions such as: word_cols_setRowHeight), but it wasn't really a problem.
== Second (more important) - I can't create the object. After I created the .c and .h fi
le, I tried to compile, but the computer keeps hanging up when I try to compile the new file (which I called "wordtry.c").

Do you know why this occurs? Maybe I whould wait more before deciding the computer hanged up? (When I pushed Alt-Ctrl-Del, I saw a message that CVI task was "not responding")

Again, Thank you for your time.

Sincerely,
Ami H.
0 Kudos
Message 3 of 3
(2,937 Views)