Hi Folks
I installed service pack 3 for Office XP a couple of days ago.
On my dev box when I opened up my application (which contains web controls
etc.) I got errors straight away. I got round the errors by changing a
couple of references relating to AxInterop.OWC10 and 11 (sorry for being
vague but I wasn't paying too much attention and it fixed the devbox
straight away).
Problem is that when I try to run the app on my laptop (which also got the
office SP3 applied), it fires up and loads the main menu and treeview ok,
but when I try and open a form containing a web control spreadsheet I get a
"Class not registered" error.
The exception text starts:
System.Runtime.InteropServices.COMException(0x80040154): Class not
registered
at System.Windows.forms.AxHost.CreateInstance()
etc. etc.
Strange this is that where the exception text relates to classes within the
application itself it shows the path as being the devbox path, not the apps
path on my laptop...
I'm new to dotNet from VB / VBA and I'm not sure where to start looking so
if anyone could point me in the right direction I'd be real greatful.
Cheers
Mark
Mark - 20 Sep 2005 23:47 GMT
PS... If I remove the spreadsheet control all is well.
Thanks again
Mark
Mark - 20 Sep 2005 23:55 GMT
PPS :@)
I got round the problem by deleting the spreadsheet control and recreating
using the AX 10 instead of 11.
I'd still be interested to know what I should have done to register the v11
control. I tried dropping it on regsvr32.exe but that failed.
Cheers
Mark (time for sleep at last :o)