OWC Chart error

A

Alvin Bruney

COM object with CLSID {0002E556-0000-0000-C000-000000000046} is either not
valid or not registered.

when i try to use this in my code. another application with the owc works
fine. it seems to be a problem related to the chart component.

my code looks like this:
//First create a ChartSpace object to hold the chart

OWC10.ChartSpace objCSpace = new OWC10.ChartSpaceClass ();


//Add a chart in the ChartSpace. The Add method returns a chart object.

OWC10.ChChart objChart = objCSpace.Charts.Add (0);

Any ideas, i've tried a bunch of stuff with no success. including removing
and re-installing the component.
 
A

Alvin Bruney

Dan,
I've read the links and updated my knowledge. I still can't figure this out.

After re-registering i examined the reg keys on my pc. The directory
structure is different on the malfunctioning pc. The only folder is
Inprocsvr32. On the working pc, i have about 13 folders. Reregistering
doesn't seem to change that.

Any thing i've missed?
 
D

Dan Ricker

Just to be sure, the OWC10.dll exist and is registered on
the PC that is malfunctioning right?

Thx
Dan
 
A

Alvin Bruney

well it turns out after pulling 20 of my molars on this one, the owc dll
wasn't registered. that's so strange since register.bat should have done
this. anyway, i reregistered it on the server and it works like a babe.
 

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

Top