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 6154417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:15:35+00:00 2026-05-23T20:15:35+00:00

In .net Compact Framework 2.0, you could add a form to another forms control

  • 0

In .net Compact Framework 2.0, you could add a form to another forms control array basically parenting the other form.

i.e._mainForm.Controls.Add(form);

This is not allowed in .net cf 3.5 and results in an exception:

System.ArgumentException: Value does not fall within the expected range.
at Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
at System.Windows.Forms.Control._SetParent(Control ctlParent)
at System.Windows.Forms.Control.set_Parent(Control value)

Is there a workaround or alternative for this? I need to be able to parent a form inside a panel on another form.

  • 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. Editorial Team
    Editorial Team
    2026-05-23T20:15:36+00:00Added an answer on May 23, 2026 at 8:15 pm

    I think this contains answer to your question: http://207.46.16.248/en-us/netframework/bb986636.aspx

    especially this part:

    System.Windows.Forms.Form.Parent

    Description
    Forms can no longer be parented.

    Previous Behavior
    In .NET Compact Framework 1.0, forms could be parented to any other control
    that supported child controls. In .NET Compact Framework 2.0, forms
    could be parented to any other form.

    New Behavior

    In the .NET Compact
    Framework version 3.5, forms cannot be parented.

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

Sidebar

Related Questions

Does anyone know any graph control library for .net compact framework ? Please provide
.Net Compact Framework Scenario: User is on a screen. Device can't finds a printer
Does .NET Compact Framework 3.5 work on Windows Mobile 2003 SE without limitations?
In .NET Compact Framework a device can have several IP Addresses. I want to
My requirements: Support .NET Compact Framework 2.0 and Windows Mobile 6.0 devices. Only need
I'd like my .NET Compact Framework app to delete itself after it finishes executing.
When moving my .Net Compact Framework application to the SD-card of a Windows CE
Under the .NET Compact Framework, there is no FormWindowState.Minimize value. How can I minimize
I have a C# .NET Compact Framework 3.5 mobile project in Visual Studio 2008.
What is AGL on .NET Compact Framework?? Any information about it would be very

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.