From: Damjan Miklic on
Hi John,

I'm experiencing the same problem. My system is MATLAB r2009a on Windows 7. On XP SP3, everything works fine. Did you have any luck solving your issue ?

Thanks,

Damjan

"John " <johnj1984(a)yahoo.com> wrote in message <gnuld1$o1j$1(a)fred.mathworks.com>...
> Hello Folks,
> I am getting an error trying to instantiate an activex control on a new matlab r2008b installation on windows server 2008.
> The control I am trying to instantiate exists, has been registered and is enabled, and I have verified that i can load it using other software.
> The same code loads the activex control without a problem in windows vista.
> If I change the progid to a nonexistent control name, I get a different error, proving that matlab realizes this is a valid activex control, but then pukes later.
> Any help is appreciated:
>
> My code is:
> f =figure;
> tws = actxcontrol('TWS.TwsCtrl.1',[0 0 0 0],f,'twsevent');
>
> My error is:
> ??? Error using ==> feval
> Input PROGID does not represent an Activex control.
> If this PROGID used to work before, please check vendor's
> documentation for equivalent activex control progid.
>
> Error in ==> actxcontrol>createControl at 240
> ctrl = feval(comstr, 'control', position, parent, '', filename, hwnd, licensekey, false,parent_string);
> Error in ==> actxcontrol at 212 hControl = createControl;
 | 
Pages: 1
Prev: colorbar lighting
Next: PSA simulation