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

  • SEARCH
  • Home
  • 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

Ask A Question

Stats

  • Questions 190k
  • Answers 190k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can just cast the object to a string: $str… May 12, 2026 at 5:56 pm
  • Editorial Team
    Editorial Team added an answer When multiple databases run on the same machine (or VM… May 12, 2026 at 5:56 pm
  • Editorial Team
    Editorial Team added an answer I see somebody else has already pointed to my old… May 12, 2026 at 5:56 pm

Related Questions

I developed a control that uses the PDA's InputPanel to interact with the user.
I have developed a control in C#. Among other things this control can popup
C# 2008 I have developed the class below. I have to get the balance
I have a button on a website that creates a directory and copys a
I develop a web application which uses a lot of JavaScript. I developed first

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.