Error in Designer

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

Error in Designer
 
Sven Heitmann




Posts: 193
Joined: 2004-08-23
Hi,

I need some help =)

When I open my AddinClass in the Designer I get an Error:

"The object can not been convertet to the specified Type" or something like this...

And then, for each Component, I get the Error
"It isn't possible to place the XXX component here!"

I think it could be caused by the switching to a new ADX version, but I am not sure.
Do You have any Suggestion?

Best regards,
Sven
Best regards,

Sven Heitmann
Posted 01 Feb, 2005 03:31:24 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Sven,

The fact is that not all .NET components can be added to the ADXAddinModule component. If the error is caused by switching to a new ADX version you can try to create a new add-in project and copy your code from old project to the new one step by step. In this case you will find the cause of error. You can also send me your adx module.
Posted 01 Feb, 2005 04:33:53 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
I think I found the problem:

I have a class OfficeAddinModule wich ectends AddinExpress.MSO.ADXAddinModule.
My both Addins ExcelAddinModule and WordAddinModule extends OfficeModule, and I think that'S why the Designer can not tranform the AddinModule into a AddinExpress.MSO.ADXAddinModule... thats why I get the message "object can not be converted..."

However I will do some refactoring of my Project to use some new features added into ADX after my Addin was created, and so this "design mistake" will be gone :)

However thank you Sergey =)
Best regards,

Sven Heitmann
Posted 01 Feb, 2005 05:13:12 Top