How to Integrate Console and Forms in a Windows Project?

  • Thread starter Thread starter Tenshou
  • Start date Start date
  • Tags Tags
    Forms Windows
AI Thread Summary
The discussion centers on integrating a Form application with a Console application, highlighting the challenges faced in doing so. Participants emphasize the importance of providing specific details about the programming language and project type to receive effective assistance. A suggestion is made to explore the Model View Controller (MVC) pattern, which advocates for separating data processing from data presentation. This approach allows for flexibility in displaying data across different platforms, such as Windows Forms, console applications, or web pages. It is noted that console and Forms applications in Windows utilize different libraries, and while it is possible to add console functionality to a Forms project in Visual Studio, users will need to manually identify and incorporate the necessary libraries from a console project.
Tenshou
Messages
153
Reaction score
1
That is what I need, Help! I have been working on a project and I can't seem to include the Form app into the Console app and vice versa. Does anyone know how one may do this?
 
Technology news on Phys.org
You will have to provide a more specific description of your problem. What language are you using, what project are you making, what is the problem you are encountering?

I'm going to take a shot in the dark and say read up on the Model View Controller software pattern that encourages you to separate your data computation (the model) from the presentation of that data (the view) using a controller. This way, for any program you wish to write, you can show the data you want in a Windows form, or in the console, or on a web page, or a series of LEDs if you so wish!
 
On Windows, console programs and forms programs are completely different. They require different libraries. It is possible to add libraries to a Forms project in Visual Studio so that you can also pop up the console window. But Visual Studio probably won't do this for you--you'll have to look at a console project created in VS and figure out what libraries to add to the forms project.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top