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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:50:12+00:00 2026-06-09T23:50:12+00:00

I have an old windows mobile application that the boss wants running on Windows

  • 0

I have an old windows mobile application that the boss wants running on Windows 7. Since it’s all .NET, the application runs, sort of, on Windows (it was made for Windows CE I believe), but it runs in a tiny window. I’d like to blow that up, and the first thing that came to mind was somehow dumping the actual program inside of a WPF Viewbox. It would be fairly simple and not infringe on the size of any of the other applications.

Searching around all I see is info on WindowFormsHost for putting WinForms usercontrols in WPF, but nothing about a full executable. Does anyone know if there’s a way to do this?

  • 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-06-09T23:50:14+00:00Added an answer on June 9, 2026 at 11:50 pm

    Viewbox only works for pure WPF controls. You can’t use it to enlarge a WinForms control, because WinForms controls don’t know anything about WPF’s scale transforms.

    You could try to hack something together using the WinForms Control.DrawToBitmap method: draw the WinForms control to a bitmap, then enlarge the bitmap and draw it to the screen. (No WPF required; you could do this in pure WinForms.) But DrawToBitmap has serious limitations. And if you wanted your app to respond to the mouse or keyboard, you’d have a lot of work to do, forwarding mouse and keyboard events to the original control, keeping track of focus yourself, etc. Maybe theoretically possible, but almost certainly not practical.

    It is possible to load a .NET EXE into another .NET EXE. EXEs are assemblies just like DLLs, and you can load them with Assembly.Load, or even Add Reference in Solution Explorer. But you don’t need to do anything that exotic; you could just as easily compile all the source code into your host EXE to begin with.

    Your best bet is probably just to open each form in the form designer and make all the controls bigger. It could be a lot of work in a large application, but there’s nothing saying you have to do it all at once — and it’d probably be less work than any of the alternatives.

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

Sidebar

Related Questions

I have a Windows Mobile application written in Java that uses AWT for the
I have a Mono application with a plain-old Windows Forms form that has a
Hello i have made a program for my old windows mobile phone to send
We have a very old windows forms application that communicates with the server using
I have an old T-Mobile MDA. It has WiFi, Windows Mobile and a camera.
I have an old .net 2.0 windows app I need to deploy on a
I have a problem after i setup windows 7 all old projects in c#
I have an application that was started in C# 1.0 using Visual Studio .NET.
I'm reverse engineering a old windows service that was written in vb.net using ILSpy.
I have an old VB6 application that uses an ImageList control from COMCTL32.OCX (Microsoft

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.