473,503 Members | 3,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compact Framework - Custom Control

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.

Nov 20 '05 #1
5 1464
* "Keith" <an*******@discussions.microsoft.com> scripsit:
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 K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
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
Nov 20 '05 #3
* "Keith" <an*******@discussions.microsoft.com> scripsit:
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 K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
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.

Does the class compile for the .NET CF? Are you sure it usesclasses/methods that are supported by the CF only?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
.

Nov 20 '05 #5
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.

Does the class compile for the .NET CF? Are you sure it usesclasses/methods that are supported by the CF only?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
.

Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2834
by: Duncan | last post by:
I am using the evaluation version of CE.NET 4.1. I had also installed the release version of the Compact Framework. I uninstalled the CE.NET 4.1, and then realized I needed it again and...
1
2491
by: Asad Khan | last post by:
Hi, I have Visual Studio 2002 Enterprise Architecture Edition. I was wondering if anyone has any information on how I can develop applications for .Net Compact Framework using this IDE. I've heard...
2
3642
by: ecomputerdelicacy | last post by:
Compact Framework SP3 (and I think also SP2 and SP1) XmlTextReader does not handle !DOCTYPE and (maybe?) rdf elements. How can I get the XmlTextReader to read these without issuing a...
5
1996
by: Adam | last post by:
Hi, How do i listen for windows messages in c# on compact.net? I have a window containing an instantiation of the HTML viewer control, which is a child of the main form. As the compact...
0
1865
by: ken657 | last post by:
Does anyone how to implement the RichTextBox control in the .NET Compact Framework (Pocket PC)? This control is not supported by the Compact Framework, but I had heard that it's possible to create...
4
2019
by: André Giesing | last post by:
Hello NG! I've got a short question: Is there a difference of the internal representation of a Hashtable between the Compact Framework and the normal Framework? I've got the suspicion,...
3
10212
by: Alexander | last post by:
Me again.... second time I type this - the post did not work the first time... Similar question as last time, but another problem: I am running a CE.Net Application and I want to show a small...
1
276
by: Keith | last post by:
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...
5
3316
by: bob | last post by:
Hi Using 2003 - targeting the compact framework (c#), but would like to do most development using the full.net (manually leaving out stuff not in the compact framework). Q. Trying to find a...
1
4553
by: Narasimham | last post by:
Hi, I am trying to use the webbrowser control in the compact framework. I am setting a URL to the webbrowser control and am able to see the page in my handheld device. I have two issues 1. I...
0
7192
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7064
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7261
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7315
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7445
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.