Click here to Skip to main content
15,896,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: showing form from thread Pin
Dave Kreskowiak13-May-10 18:47
mveDave Kreskowiak13-May-10 18:47 
GeneralRe: showing form from thread Pin
AspDotNetDev13-May-10 18:49
protectorAspDotNetDev13-May-10 18:49 
GeneralRe: showing form from thread Pin
Dave Kreskowiak13-May-10 19:25
mveDave Kreskowiak13-May-10 19:25 
GeneralRe: showing form from thread Pin
The Man from U.N.C.L.E.13-May-10 22:34
The Man from U.N.C.L.E.13-May-10 22:34 
GeneralRe: showing form from thread Pin
The Man from U.N.C.L.E.13-May-10 22:43
The Man from U.N.C.L.E.13-May-10 22:43 
QuestionShowFileDialog In Console Pin
noamtzu0013-May-10 0:00
noamtzu0013-May-10 0:00 
AnswerRe: ShowFileDialog In Console Pin
Michel Godfroid13-May-10 0:36
Michel Godfroid13-May-10 0:36 
GeneralRe: ShowFileDialog In Console Pin
Luc Pattyn13-May-10 3:30
sitebuilderLuc Pattyn13-May-10 3:30 
A console app starts its execution in a console, it may however turn itself into a regular WinForms app; there is nothing that prevents it from creating and showing Forms. The opposite is not possible: a WinForm app cannot perform input/output operations through the console if it were launched from a "DOS window" or a "Command Prompt" window (it can use a console, but that will not be the same as the launch window).

The problem the OP is probably facing is there is no using System.Windows.Forms; statement included automatically, so he should add that first if he wants to create Forms by code. The context menu "Add Windows Forms" however is available in the solution pane.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read formatted code with indentation, so please use PRE tags for code snippets.

I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).

RantRe: ShowFileDialog In Console Pin
Michel Godfroid13-May-10 4:13
Michel Godfroid13-May-10 4:13 
GeneralRe: ShowFileDialog In Console Pin
Luc Pattyn13-May-10 4:40
sitebuilderLuc Pattyn13-May-10 4:40 
GeneralRe: ShowFileDialog In Console Pin
Michel Godfroid13-May-10 5:06
Michel Godfroid13-May-10 5:06 
GeneralRe: ShowFileDialog In Console Pin
Luc Pattyn13-May-10 5:13
sitebuilderLuc Pattyn13-May-10 5:13 
GeneralRe: ShowFileDialog In Console Pin
DaveyM6913-May-10 5:43
professionalDaveyM6913-May-10 5:43 
GeneralRe: ShowFileDialog In Console Pin
DaveyM6913-May-10 5:41
professionalDaveyM6913-May-10 5:41 
GeneralRe: ShowFileDialog In Console Pin
Luc Pattyn13-May-10 5:57
sitebuilderLuc Pattyn13-May-10 5:57 
AnswerRe: ShowFileDialog In Console Pin
Rajesh Anuhya13-May-10 1:49
professionalRajesh Anuhya13-May-10 1:49 
AnswerRe: ShowFileDialog In Console Pin
dybs16-May-10 14:06
dybs16-May-10 14:06 
QuestionAdd Multiple IP Addresses Pin
wasifmuneer12-May-10 22:47
wasifmuneer12-May-10 22:47 
AnswerRe: Add Multiple IP Addresses Pin
Michel Godfroid12-May-10 23:43
Michel Godfroid12-May-10 23:43 
GeneralRe: Add Multiple IP Addresses Pin
wasifmuneer12-May-10 23:51
wasifmuneer12-May-10 23:51 
GeneralRe: Add Multiple IP Addresses Pin
Michel Godfroid13-May-10 0:05
Michel Godfroid13-May-10 0:05 
GeneralRe: Add Multiple IP Addresses Pin
#realJSOP13-May-10 0:19
professional#realJSOP13-May-10 0:19 
AnswerRe: Add Multiple IP Addresses Pin
#realJSOP13-May-10 0:18
professional#realJSOP13-May-10 0:18 
GeneralRe: Add Multiple IP Addresses Pin
wasifmuneer13-May-10 0:56
wasifmuneer13-May-10 0:56 
AnswerRe: Add Multiple IP Addresses Pin
wasifmuneer13-May-10 1:41
wasifmuneer13-May-10 1:41 

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.