Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 169983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:43:39+00:00 2026-05-11T12:43:39+00:00

I developed a control that uses the PDA’s InputPanel to interact with the user.

  • 0

I developed a control that uses the PDA’s InputPanel to interact with the user. The relevant part of the code is below:

namespace MyNamespace {      // ...      using Microsoft.WindowsCE.Forms;      // ...       public class MyControl      {          // ...          public InputPanel MyPanel { get; set; }          // ...      } } 

Whenever I try to drag the Control to a Form, I get the following error:

System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.WindowsCE.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=969db8053d3322ac’ or one of its dependencies. The system cannot find the file specified. File name: ‘Microsoft.WindowsCE.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac’

If I remove the InputPanel line from MyControl I can add it to the Form without any problems. Once the Control is added I can add the line again and the whole program compiles and works fine.

As soon as the form with the Control is viewed in the Designer, it crashes with a similar error as written above and I can’t add it to any other Form again.

I am using Visual Studio 2008 SP1 with the Windows Mobile 6 SDK.


So my questions is: Has anyone experienced a similar problem or found a workaround?


EDIT: Gave up and used the parent form as a property. The form implements IInputPanel which is basically an interface with an InputPanel getter. Nevertheless ctake’s answer was really insightful and introduced me to XMTA.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:43:39+00:00Added an answer on May 11, 2026 at 12:43 pm

    It’s because the desktop doesn’t have a SIP (inputpanel) and therefore the designer can’t show it. You need to set the DesktopCompatible attribute in the XMTA to false.

    EDIT: I suppose I should extend this answer. Setting the DesktopCompatible attribute will prevent the designer from querying the property directly, but if you have any code in the control that may call it (so if any code that will run in the designer might execute CE-specific code) then you must also add code to prevent that. Checking the current Platform via Environment.OSVersion.Platform works fairly well, though there are other, more convoluted, mechanisms to determine if you’re in the designer as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an ASP.NET application that uses the Infragistics WebSchedule control to display appointments
I have an existing InfoPath 2007 form that has some code-behind developed with VSTA.
I love the ease that the ASP.NET Ajax control Toolkit provides to ASP.NET developers.
I am adding series and panes to a Developer's Express Chart Control in code
One of our developers is continually writing code and putting it into version control
I need to leave some instructional comments for other developers on a page/user control.
I have developed a control in C#. Among other things this control can popup
I've got the opportunity to rewrite the core of an internally-developed application that my
C# 2008 I have developed the class below. I have to get the balance
I develop a web application which uses a lot of JavaScript. I developed first

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.