Displaying 1 result from an estimated 1 matches for "statconnectorgraphicsdevice".
Did you mean:
axstatconnectorgraphicsdevice
2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
...ite programms myself, in this case Visual Basic for Applications
within Excel, I can attach a graphics device but not a character device.
The controls I added to the form by means of the 'toolbox' both originate
from the client library (see below) and are named
'Gfx1' (of type StatConnectorGraphicsDevice) and
'CharDev' (of type StatConnectorCharacterDevice)
The code fragment working with them is:
Dim x As StatConnector
Dim gfxdev As ISGFX
Set x = New StatConnector
x.Init ("R")
Set gfxdev = Gfx1.GetGFX
x.AddGraphicsDevice "dev1", gfxdev ' <- this works...