Hi,

I'm trying to add a Graphics control to my app in C# to get the graphics
from quantmod package. The code compiles, but when i try to run the
application it stops in the line above saying that the "Class not registered
(... HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))":
((System.ComponentModel.ISupportInitialize)(this.axGraphicsDevice1
)).EndInit();

Well, where can i find this assembly to register? I thought it was already
registered, because if not, it wouldnt show the controls in VS 2008.

The code is really simple so far, i just added a control to the form and im
trying to add the graphics device now. The R connection is ok, because i
made a "2 + 2" test.

connector.AddGraphicsDevice("dev1", (StatConnectorCommonLib.ISGFX
)axGraphicsDevice1.GetOcx());

For now i will save the graphics in jpg and then load in the application,
but i really want to do the right way.

I'm using Vista Ultimate, VS 2008, RCom Server 2.50 and R 2.6.2.

Regards,

-- 
Felipe Momm
_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to