Tools in Visual Studio C# windows

T

Tammy Nejadian

I am creating an application for windows mobile using Visual C# windows. I
am using visual studio 2008 and I have windows Microsoft Vista on my
computer. I also downloaded the professional and standards SDK windows
mobile. However some tools and properties are not available such as
FontColor, RichTextBox, FlowLayoutPanel . The tools I needed are mostly under
System.Windows.Forms name space which already included in my application. I
also tried to add the tools by right click on toolbox under “General†section
to use the “Choose ToolBox Items†however they all already have been checked
and are included and they suppose to be in toolbox already but they are
missing. I don’t know what I am doing wrong and what alse I can do to get
those tools. I also uninstall the visual studio software and all other
related software and reinstall them again however I still have same issue.
Could someone please advise me on that?
Thanks
 
I

Ignacio Machin ( .NET/ C# MVP )

I am creating an application for windows mobile using Visual C# windows. I
am using visual studio 2008 and I have windows Microsoft Vista on my
computer. I also downloaded the professional and standards SDK windows
mobile. However some tools and properties are not available such as
FontColor, RichTextBox, FlowLayoutPanel . The tools I needed are mostly under
System.Windows.Forms name space which already included in my application. I
also tried to add the tools by right click on toolbox under “General” section
to use the “Choose ToolBox Items” however they all already have been checked
and are included and they suppose to be in toolbox already but they are
missing. I don’t know what I am doing wrong and what alse I can do to get
those tools. I also uninstall the visual studio software and all other
related software and reinstall them again however I still have same issue.
Could someone please advise me on that?
Thanks

Hi,

The compact framework is well, compact :)
It has a lot of features left out

You should post in the compactframework NG,
 
T

Tammy Nejadian

How I can use the compactframework NG? Also I just realized that when I
create a new project under C# if I select "window" it has all the tools I
need; if I use "Smart Device" it does not include all the tools I need
however because I am developing the application for Windows Mobile I believe
I should use "Smart Device". How I can work with smart device and include
those tools I needed in there? Is that possible?
 
J

Jordan S.

No, it is not possible.

Windows Forms projects assume a full desktop computer environment.

Mobile devices assume a very limited mobile device (limited in capabilities
compared to a full desktop computer).

The tools available to you in a Mobile or Smart Device application directly
reflect the underlying platform and it's capabilities. You will not,
therefore, have all of the tools you need/want because they are simply not
available for smart devices or mobile environments. It does not matter if
you create a project reference to Windows Forms. Just because you do that
does not mean that the Windows Forms components and controls will be
available for a Smart Device project.

-HTH
 
C

Chris Dunaway

How I can use the compactframework NG? Also I just realized that when I
create a new project under C# if I select "window" it has all the tools I
need; if I use "Smart Device" it does not include all the tools I need
however because I am developing the application for Windows Mobile I believe
I should use "Smart Device". How I can work with smart device and include
those tools I needed in there? Is that possible?

As Jordan alluded to, some controls are not available in the compact
framework. For example, the docs for the RichTextBox show this:

<quote>
Platforms
Windows Vista, Windows XP SP2, Windows XP Media Center Edition,
Windows XP Professional x64 Edition, Windows XP Starter Edition,
Windows Server 2003, Windows Server 2000 SP4, Windows Millennium
Edition, Windows 98
</quote>

Notice that the compact framework is not listed. You can check the
docs for each control/tool and see which platforms are supported.

See also this link: http://msdn.microsoft.com/en-us/library/w8xd02k7.aspx

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top