Compact Framework - Custom Control

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

Someone was kind enough to send me a control that he
developed that does precisely what I need it to do.

However - the code was originally written in VB.NET for
windows apps. I'm developing for the Compact Framework
(CF). When I attempt to add the control under CF - the
control is grayed out. However under a windows
application I can use it fine.

Obviously there is some sort of issue with the type of
applicaiton I'm using. But I've reviewed the code and it
does just inherit from textbox. What should I look for to
determine why this control is grayed out for me under CF?
Where should I look for it..

Thank you.
 
Hi Keith,

Same row as the message above this message.

You probably get an answer here from Bill Ryan, however you can try it as
well in the newsgroup:

microsoft.public.dotnet.framework.compactframework.

I hope this helps anyway?

Cor
 
* "Keith said:
Someone was kind enough to send me a control that he
developed that does precisely what I need it to do.

However - the code was originally written in VB.NET for
windows apps. I'm developing for the Compact Framework
(CF). When I attempt to add the control under CF - the
control is grayed out. However under a windows
application I can use it fine.

Obviously there is some sort of issue with the type of
applicaiton I'm using. But I've reviewed the code and it
does just inherit from textbox. What should I look for to
determine why this control is grayed out for me under CF?
Where should I look for it..

Does the class compile for the .NET CF? Are you sure it uses
classes/methods that are supported by the CF only?
 
Herfried - thank you for the reply.

Forgive me - I'm new to this - especially the custom
controls. I am not sure it uses the same classes/methods
that are supported by CF. I guess that's what I'm really
trying to determine - and I do not know how. I thought
that if the project in CF Solution Explorer - showed the
same References that are present in the Windows app - then
everything would be fine. But I'm starting to believe
that is not the case. How can I determine if the custom
control uses the same classes/methods that tare supported
by CF?

thank you.
 
Back
Top