Click here to Skip to main content
15,886,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: Issue with the below code Pin
Paul McGann26-Jul-17 3:14
professionalPaul McGann26-Jul-17 3:14 
AnswerRe: Issue with the below code Pin
BillWoodruff26-Jul-17 4:00
professionalBillWoodruff26-Jul-17 4:00 
GeneralRe: Issue with the below code Pin
Paul McGann26-Jul-17 10:34
professionalPaul McGann26-Jul-17 10:34 
AnswerRe: Issue with the below code Pin
Ravi Bhavnani28-Jul-17 8:00
professionalRavi Bhavnani28-Jul-17 8:00 
AnswerRe: Issue with the below code Pin
BenScharbach12-Aug-17 9:42
BenScharbach12-Aug-17 9:42 
QuestionCreate an API in winform Pin
JohnPL25-Jul-17 18:56
JohnPL25-Jul-17 18:56 
QuestionRe: Create an API in winform Pin
Richard MacCutchan25-Jul-17 20:39
mveRichard MacCutchan25-Jul-17 20:39 
AnswerRe: Create an API in winform Pin
Bernhard Hiller25-Jul-17 20:42
Bernhard Hiller25-Jul-17 20:42 
Though it may be possible, it is generally not recommended: some one might run the program in a non-interactive session (e.g. by calling it from a windows service, or IIS). Then any dependency on a UI will cause trouble. Note that there is no user on the server where IIS is running, so nobody will be able to click OK on a message box showing an error. And even when you got such things right: even the link to System.Windows.Forms anywhere in a dll/exe causes trouble in such circumstances, you might have to copy System.Windows.Forms.dll into the folder of your application.
Better separate the logic completely from any UI. The UI of your "normal" app will then reference that logic and use it. And a command line app will reference the same logic. Or others may directly reference the dll(s) with the logic and use it directly. That's the way to go.
AnswerRe: Create an API in winform Pin
BillWoodruff25-Jul-17 22:23
professionalBillWoodruff25-Jul-17 22:23 
AnswerRe: Create an API in winform Pin
F-ES Sitecore25-Jul-17 22:57
professionalF-ES Sitecore25-Jul-17 22:57 
QuestionMultiple checkbox Pin
sunsher25-Jul-17 1:04
sunsher25-Jul-17 1:04 
AnswerRe: Multiple checkbox Pin
OriginalGriff25-Jul-17 1:19
mveOriginalGriff25-Jul-17 1:19 
GeneralRe: Multiple checkbox Pin
sunsher25-Jul-17 3:22
sunsher25-Jul-17 3:22 
GeneralRe: Multiple checkbox Pin
Eddy Vluggen25-Jul-17 3:37
professionalEddy Vluggen25-Jul-17 3:37 
Questionc # how to split packet in the desire format Pin
Member 1293627224-Jul-17 7:49
Member 1293627224-Jul-17 7:49 
AnswerRe: c # how to split packet in the desire format Pin
OriginalGriff24-Jul-17 8:07
mveOriginalGriff24-Jul-17 8:07 
AnswerRe: c # how to split packet in the desire format Pin
BillWoodruff24-Jul-17 8:45
professionalBillWoodruff24-Jul-17 8:45 
QuestionC# Windows Forms and OpenTK (glControl) Pin
mprada24-Jul-17 3:21
mprada24-Jul-17 3:21 
AnswerRe: C# Windows Forms and OpenTK (glControl) Pin
Richard MacCutchan24-Jul-17 3:39
mveRichard MacCutchan24-Jul-17 3:39 
GeneralRe: C# Windows Forms and OpenTK (glControl) Pin
mprada24-Jul-17 3:56
mprada24-Jul-17 3:56 
GeneralRe: C# Windows Forms and OpenTK (glControl) Pin
Richard MacCutchan24-Jul-17 5:03
mveRichard MacCutchan24-Jul-17 5:03 
Generalfirst program in visual c# Pin
dinesh kumar sharma22-Jul-17 20:48
dinesh kumar sharma22-Jul-17 20:48 
QuestionRe: first program in visual c# Pin
Peter_in_278022-Jul-17 21:55
professionalPeter_in_278022-Jul-17 21:55 
GeneralRe: first program in visual c# Pin
OriginalGriff22-Jul-17 22:39
mveOriginalGriff22-Jul-17 22:39 
GeneralRe: first program in visual c# Pin
BenScharbach12-Aug-17 9:31
BenScharbach12-Aug-17 9:31 

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.