C# add code to app for user to enter data
-
I have the following questions in regards to to placing a 'gui' interface on the top of a C# 2008 application so users can enter data. 1. I would like to know if it would be better to add a desktop form for an asp.net web forms page to the application? I would like to know what is better and why. 2. In addition, the two project files that are windows form apps currently, I would Like to know if I should make those web form projects, leave the project types alone, and/or what do you recommend? Based on your recommendation can, you tell me or point me to a reference I can use to make the coding change? The following is a description of the application: 1. This program was originally setup as a console application, but I changed the application so that it would compile and run as a windows form application. I made the changed since I wanted to save all the output messages that were originally written to Dos popup windows to saved to log files for research and deubgging purposes. 2. This application has 4 project files. Two of the project files are class libraries and two of the project files are window form applications that I converted from a console project files to window form proejct files. 3.One of the windows form project files is the 'driver' of the application. I would like to add a 'gui' interface to the application so the user can enter data that can be utilized by the 'driver' project file.
-
I have the following questions in regards to to placing a 'gui' interface on the top of a C# 2008 application so users can enter data. 1. I would like to know if it would be better to add a desktop form for an asp.net web forms page to the application? I would like to know what is better and why. 2. In addition, the two project files that are windows form apps currently, I would Like to know if I should make those web form projects, leave the project types alone, and/or what do you recommend? Based on your recommendation can, you tell me or point me to a reference I can use to make the coding change? The following is a description of the application: 1. This program was originally setup as a console application, but I changed the application so that it would compile and run as a windows form application. I made the changed since I wanted to save all the output messages that were originally written to Dos popup windows to saved to log files for research and deubgging purposes. 2. This application has 4 project files. Two of the project files are class libraries and two of the project files are window form applications that I converted from a console project files to window form proejct files. 3.One of the windows form project files is the 'driver' of the application. I would like to add a 'gui' interface to the application so the user can enter data that can be utilized by the 'driver' project file.
classy_dog wrote:
1. I would like to know if it would be better to add a desktop form for an asp.net web forms page to the application? I would like to know what is better and why.
Impossible to answer seeing as we know nothing of what the app does, how it maintains its state, and how the user interacts with it.
classy_dog wrote:
2. In addition, the two project files that are windows form apps currently, I would Like to know if I should make those web form projects, leave the project types alone, and/or what do you recommend? Based on your recommendation can, you tell me or point me to a reference I can use to make the coding change?
Again, impossible to say. See answer 1.
classy_dog wrote:
1. This program was originally setup as a console application, but I changed the application so that it would compile and run as a windows form application. I made the changed since I wanted to save all the output messages that were originally written to Dos popup windows to saved to log files for research and deubgging purposes.
You didn't need to change this to a Windows Forms app. All you had to do was write the messages going to the Console to a file. A simple method in your code would have done this very easily.
classy_dog wrote:
3.One of the windows form project files is the 'driver' of the application. I would like to add a 'gui' interface to the application so the user can enter data that can be utilized by the 'driver' project file.
Again, impossible to answer.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
I have the following questions in regards to to placing a 'gui' interface on the top of a C# 2008 application so users can enter data. 1. I would like to know if it would be better to add a desktop form for an asp.net web forms page to the application? I would like to know what is better and why. 2. In addition, the two project files that are windows form apps currently, I would Like to know if I should make those web form projects, leave the project types alone, and/or what do you recommend? Based on your recommendation can, you tell me or point me to a reference I can use to make the coding change? The following is a description of the application: 1. This program was originally setup as a console application, but I changed the application so that it would compile and run as a windows form application. I made the changed since I wanted to save all the output messages that were originally written to Dos popup windows to saved to log files for research and deubgging purposes. 2. This application has 4 project files. Two of the project files are class libraries and two of the project files are window form applications that I converted from a console project files to window form proejct files. 3.One of the windows form project files is the 'driver' of the application. I would like to add a 'gui' interface to the application so the user can enter data that can be utilized by the 'driver' project file.
I already made some suggestions about these queries at http://www.codeproject.com/Messages/4573359/Re-Csharp-convert-dll-to-be-used-as-an-api.aspx[^]. However: 1. Neither is 'best', use the one that suits your business requirements. 2. See 1. B1. Same answer as I previously gave you. B2. No question. B3. See B1.
Use the best guess