Excel Add-in and Terminal Services

Add-in Express™ Support Service
That's what is more important than anything else

Excel Add-in and Terminal Services
Excel Add-in - TS - Excel 2003 
Simon Blackwell




Posts: 10
Joined: 2004-11-08
Hi,

We have an add-in that works fine in straight windows environment. But when installed via Terminal Services Administrator user, and start Excel 2003, Excel throughs a GPF and closes.

The install registers the add-in DLL using Regsvr32 - is there anything else we should be doing or looking out for

Regards

Simon
Posted 25 May, 2005 19:04:01 Top
Dmitry Kostochko


Add-in Express team


Posts: 2742
Joined: 2004-04-05
Hi Simon,

What Windows Server version do you use? Did you set the RegisterForAllUsers property to true? Do you have the OnAddInInitialize or OnAddInStartupComplete event handlers?

Posted 26 May, 2005 06:59:49 Top
Simon Blackwell




Posts: 10
Joined: 2004-11-08
Hi Dmitry:

It is a Windows 2000 Advanced server machine running as an application server

RegisterForAllUsers is false - which could be the problem?

And the OnAddinStartupComplete - event handler is
contains - which basically validates an authorisation key that they enter in the screen - we don't show the form as that causes problems in all windows and excel formats

frmAbout := TfrmAbout.Create(nil);
try
frmAbout.FAuto := true;
frmAbout.OnPaint := nil;
frmAbout.FormShow(self);
finally

try
paxcel05bar.Controls[6].Caption := 'PaXcel '+FrmAbout.msg;
except;
end;

frmAbout.Free;
frmAbout := nil;
end;


Many thanks for your help

Simon

Posted 26 May, 2005 12:08:14 Top
Dmitry Kostochko


Add-in Express team


Posts: 2742
Joined: 2004-04-05
Hi Simon,

Unfortunately at the moment we don't have Windows 2000 Advanced Server installed, but I have just tested a simple Excel add-in with Windows 2003 Standard Server with SP1 and all works. Can you debug your add-in on that problem PC? Can you try to create and install a simple add-in on that PC and see the results? BTW, in my previous post I forgot to ask you what Add-in Express version you use?

Posted 26 May, 2005 13:16:47 Top