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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:19:56+00:00 2026-05-14T04:19:56+00:00

I need to make a webform communicate with a winform and back to the

  • 0

I need to make a webform communicate with a winform and back to the webform. The reason for this is it exists a webform software already made, and now it’s needed the behavior of a .net component only available for winforms. We’ve tried going with Process.Start and shell.execute but with this approach the software hangs or it takes too long to respond. The webform also needs to be called from client pcs in the network, I think this adds another problem due to the non possibility of calling the execution of a file from a webform remotelly, but I dont know much about this technical issue

we’ve read some articles about embedding a winform in a webform, sending data from a winform to a webform, etc. and we would like to know what’s the recommend approach (if there is any) for handdling a situation like 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-05-14T04:19:56+00:00Added an answer on May 14, 2026 at 4:19 am

    If you have access to the source code for the WinForms application, then your best approach is to extract the code that you need from there and incorporate it directly into your WebForms application.

    If this code needs to be used by both the WinForms and your WebForms application, then you should instead refactor the code that will be shared by both into a separate class library (DLL), which is then used by both applications.

    If you only have the EXE of the windows application, and it is a .Net application, you can use Reflection to create and use objects defined there.

    If it’s not a .Net EXE, goodbye and thanks for all the fish (unless it’s COM, in which case goodbye and thanks for all the fish).

    Update: I have never tried this, and I do not recommend it, but I’m assuming that you basically want to be able to use a windows-forms based visual component in a web application (i.e. you want this thing to show up in their browser).

    You may be able to rebuild each Form in the original WinForms project as an ActiveX control that is then situated on a web page. This link describes how to create a basic ActiveX control in .Net:

    http://www.codeproject.com/KB/cs/CreateActiveXDotNet.aspx

    I have no idea about browser support for ActiveX controls these days (I know there’s some still), and this approach would certainly not work on non-Windows OSes. Also, you have to deal with deploying and installing the visual component on each client machine (and you’d need to check your licensing agreement for this control – it almost certainly will specifically prohibit this type of use).

    In theory, though, this would work. An ActiveX control can more or less do or use anything that a regular Form can (subject to permissions etc.).

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

Sidebar

Ask A Question

Stats

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

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

    • 7 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer here is the code i used in a elastic-width with… May 14, 2026 at 6:00 am
  • Editorial Team
    Editorial Team added an answer I believe this is what you are looking for: https://github.com/ceeram/static_bakery/blob/master/src/articles/2010/01/Vbulletin-Bridge-For-CakePHP.rst… May 14, 2026 at 6:00 am
  • Editorial Team
    Editorial Team added an answer I think there's been a misunderstanding down MS naming conventions.… May 14, 2026 at 6:00 am

Related Questions

I am designing a WinForms CRUD like app for a large group of Nurses
I am relatively new to Silverlight development and I am trying to figure out
I don't know much about creating Makefiles, but I've been reading the make manual
I'm building a very slimmed down website. And I would like to know what
We have a massive client facing web application here. We recently re-wrote the buy

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.