Click here to Skip to main content
15,063,085 members
Home / Discussions / C#
   

C#

 
QuestionC# add code to app for user to enter data Pin
classy_dog27-May-13 6:42
Memberclassy_dog27-May-13 6:42 
AnswerRe: C# add code to app for user to enter data Pin
Dave Kreskowiak27-May-13 7:07
mveDave Kreskowiak27-May-13 7:07 
AnswerRe: C# add code to app for user to enter data Pin
Richard MacCutchan27-May-13 7:23
mveRichard MacCutchan27-May-13 7:23 
QuestionC# linq to sql default appears Pin
classy_dog26-May-13 16:16
Memberclassy_dog26-May-13 16:16 
AnswerRe: C# linq to sql default appears Pin
Dave Kreskowiak26-May-13 18:43
mveDave Kreskowiak26-May-13 18:43 
GeneralRe: C# linq to sql default appears Pin
classy_dog27-May-13 6:41
Memberclassy_dog27-May-13 6:41 
GeneralRe: C# linq to sql default appears Pin
Dave Kreskowiak27-May-13 7:03
mveDave Kreskowiak27-May-13 7:03 
QuestionC# convert dll to be used as an api Pin
classy_dog26-May-13 12:05
Memberclassy_dog26-May-13 12:05 
I have the following questions in regards to converting a C# 2008 appliation that is currently executed as a dll and now I want to change the program so that is executed as an api. I have the following comments to make which are:

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 I would like to ask which include the following:

1. From what I described above, would you tell me what I need to do to convert the application I listed above from being executed as a dll and execute it as api? Is there any special considerations I need to take into consideration? Can you show me code and/or point be to a reference I can utilize to accomplish my goal?


2. Would it be better to make the 'gui' interface where the user enters data a desktop or asp.net web forms application? Can you tell me why one method would be better than another method would be?
AnswerRe: C# convert dll to be used as an api Pin
Garth J Lancaster26-May-13 13:06
mveGarth J Lancaster26-May-13 13:06 
AnswerRe: C# convert dll to be used as an api Pin
Richard MacCutchan26-May-13 21:54
mveRichard MacCutchan26-May-13 21:54 
QuestionFinding Orphaned Files Pin
Jonathan Clegg26-May-13 10:15
MemberJonathan Clegg26-May-13 10:15 
AnswerRe: Finding Orphaned Files Pin
Mycroft Holmes26-May-13 12:38
professionalMycroft Holmes26-May-13 12:38 
AnswerRe: Finding Orphaned Files Pin
Garth J Lancaster26-May-13 12:43
mveGarth J Lancaster26-May-13 12:43 
QuestionHow to make setupfile and create a database in installation time Pin
Member 1001439626-May-13 9:31
MemberMember 1001439626-May-13 9:31 
AnswerRe: How to make setupfile and create a database in installation time Pin
Abhinav S26-May-13 22:18
MemberAbhinav S26-May-13 22:18 
Questionsending a call to winform Pin
Member 1007409726-May-13 7:01
MemberMember 1007409726-May-13 7:01 
AnswerRe: sending a call to winform Pin
NotPolitcallyCorrect26-May-13 7:12
MemberNotPolitcallyCorrect26-May-13 7:12 
AnswerRe: sending a call to winform Pin
Abhinav S26-May-13 7:34
MemberAbhinav S26-May-13 7:34 
GeneralRe: sending a call to winform Pin
Member 1007416126-May-13 9:15
MemberMember 1007416126-May-13 9:15 
AnswerRe: sending a call to winform Pin
Richard MacCutchan26-May-13 21:46
mveRichard MacCutchan26-May-13 21:46 
GeneralRe: sending a call to winform Pin
Member 1007416127-May-13 7:22
MemberMember 1007416127-May-13 7:22 
GeneralRe: sending a call to winform Pin
Richard MacCutchan27-May-13 7:32
mveRichard MacCutchan27-May-13 7:32 
GeneralRe: sending a call to winform Pin
Member 1007416127-May-13 11:15
MemberMember 1007416127-May-13 11:15 
GeneralRe: sending a call to winform Pin
Dave Kreskowiak27-May-13 15:58
mveDave Kreskowiak27-May-13 15:58 
QuestionRedirect standard output of a running process Pin
santosh sk26-May-13 1:12
Membersantosh sk26-May-13 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.