Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# add code to app for user to enter data

C# add code to app for user to enter data

Scheduled Pinned Locked Moved C#
csharpasp-netquestionworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    classy_dog
    wrote on last edited by
    #1

    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.

    D L 2 Replies Last reply
    0
    • C classy_dog

      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.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • C classy_dog

        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.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups