using Jacob com.jacob.com.ComFailException:

B

Bhanu

Hi All,

I am using jacob to use com library.
I am getting the following exception when I do -
Dispatch test = new Dispatch("MathTest.Math"); which is in the
sample.

Exception in thread "main" com.jacob.com.ComFailException: Can't get
object clsid from progid


but doing
ActiveXComponent comp = new ActiveXComponent("Outlook.Application");

is successful.

Can someone please guide me what I am doing wrong.

I have put the required libs in path.

Thanks,
Bhanu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top