473,657 Members | 2,535 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 1478
* "Keith" <an*******@disc ussions.microso ft.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.publi c.dotnet.framew ork.compactfram ework.

I hope this helps anyway?

Cor
Nov 20 '05 #3
* "Keith" <an*******@disc ussions.microso ft.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
2855
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 reinstalled it. I also installed all the QFEs. When I tried to reinstall the release Compact Framework, I get a message that it is already installed and the installation aborted.
1
2514
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 Visual Studio 2003 ships with the functionality for .Net Compact Framework development. But right now I have Visual Studio 2002. Is there anything I can do? (Other than the obvious upgrade to 2003). I've heard some beta version of .Net Compact...
2
3655
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 NotSupportedException? Or at least to get past these elements (and nested elements) with an Skip()? I've tried setting xtr.XmlResolver = null; but it doesn't change the functionality. I'm still getting the exception. In a recent MSDN MVP Chat, I was pointed...
5
2004
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 implementation of the form class does not have a wndproc function to override, i cannot get the messages. I cannot use a message window, as the window i am listening to will then not display. Is there another method of doing this?
0
1871
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 a class that provides this functionality. Thanks.
4
2025
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, because when I Serialize the same Object (with a Hashtable in it) on a Computer with the normal .NET Framework and on a mobile Device (which uses the Compact Framework) the byteStream is different!
3
10225
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 borderless dialog which shows an animation, that shows, that the application is still doing something. So far it works until I want to close the dialog. The dialog has a delegate that I want to invoke, which will close it. But I run into a...
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 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
5
3334
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 way of converting a project to have builds for both compact and full. Project properties doesn't seem to help Thanks
1
4566
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 have a handheld device that scans items and does certain functions depending on the input. I am required to code the app in such a way that when I scan an item the page should get submitted. Since the webbrowser.document property is not valid in the...
0
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8726
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.