Click here to Skip to main content
15,898,538 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionUsing nero sdk for burning DVD Pin
jack_200928-Oct-07 21:48
jack_200928-Oct-07 21:48 
AnswerRe: Using nero sdk for burning DVD Pin
AliAmjad29-Oct-07 5:08
AliAmjad29-Oct-07 5:08 
QuestionUsing SqlCeEngine class in Windows application Pin
Ferudun Atakan28-Oct-07 8:01
Ferudun Atakan28-Oct-07 8:01 
AnswerRe: Using SqlCeEngine class in Windows application Pin
Scott Dorman28-Oct-07 8:53
professionalScott Dorman28-Oct-07 8:53 
QuestionTAPI and VOIP Pin
fateme_developer26-Oct-07 22:13
fateme_developer26-Oct-07 22:13 
AnswerRe: TAPI and VOIP Pin
TJoe28-Oct-07 12:12
TJoe28-Oct-07 12:12 
QuestionWeb service reference problem Pin
sabby200626-Oct-07 20:15
sabby200626-Oct-07 20:15 
QuestionDetecting piped input and/or output Pin
PIEBALDconsult26-Oct-07 7:47
mvePIEBALDconsult26-Oct-07 7:47 
I write mostly console programs and every once in a while I want a program to behave differently depending on whether or not the input or output is a pipe (or redirected).

A few years ago I read a Dr. Gui article describing how to use the PeekConsoleInput Windows API function to detect whether or not input is a pipe, and I've been using that for input.

But today I need a program to detect whether or not output is a pipe. I found that the WriteConsole Windows API function works pretty well for detection of piped output. (With the exception that redirecting to CON reports false.)


I'm wondering whether or not anyone else has another method for detecting these situations.

AnswerRe: Detecting piped input and/or output Pin
Mike Dimmick29-Oct-07 3:48
Mike Dimmick29-Oct-07 3:48 
GeneralRe: Detecting piped input and/or output Pin
PIEBALDconsult29-Oct-07 8:17
mvePIEBALDconsult29-Oct-07 8:17 
Questionhoe to convert a windows application to web activeX Pin
samy10026-Oct-07 4:57
samy10026-Oct-07 4:57 
AnswerRe: hoe to convert a windows application to web activeX Pin
Dave Kreskowiak26-Oct-07 6:37
mveDave Kreskowiak26-Oct-07 6:37 
GeneralRe: hoe to convert a windows application to web activeX Pin
samy10026-Oct-07 7:58
samy10026-Oct-07 7:58 
GeneralRe: hoe to convert a windows application to web activeX Pin
Dave Kreskowiak26-Oct-07 9:55
mveDave Kreskowiak26-Oct-07 9:55 
QuestionKeep Data Persistent [modified] Pin
DotNetWWW26-Oct-07 2:22
DotNetWWW26-Oct-07 2:22 
AnswerRe: Kepp Data Persistent Pin
Pete O'Hanlon26-Oct-07 9:16
mvePete O'Hanlon26-Oct-07 9:16 
GeneralRe: Kepp Data Persistent Pin
DotNetWWW27-Oct-07 7:47
DotNetWWW27-Oct-07 7:47 
GeneralRe: Kepp Data Persistent Pin
Pete O'Hanlon30-Oct-07 2:12
mvePete O'Hanlon30-Oct-07 2:12 
Question.net framework1.1 Pin
dimuthuvbnet26-Oct-07 0:08
dimuthuvbnet26-Oct-07 0:08 
AnswerRe: .net framework1.1 Pin
Dave Kreskowiak26-Oct-07 2:32
mveDave Kreskowiak26-Oct-07 2:32 
AnswerRe: .net framework1.1 Pin
Paul Conrad27-Oct-07 8:44
professionalPaul Conrad27-Oct-07 8:44 
QuestionTextbox Borderstyle Bug? Pin
Th0rian25-Oct-07 11:09
Th0rian25-Oct-07 11:09 
AnswerRe: Textbox Borderstyle Bug? Pin
Th0rian26-Oct-07 5:17
Th0rian26-Oct-07 5:17 
QuestionManaging Configuration Pin
MCEdwards24-Oct-07 23:05
MCEdwards24-Oct-07 23:05 
AnswerRe: Managing Configuration Pin
Pete O'Hanlon24-Oct-07 23:36
mvePete O'Hanlon24-Oct-07 23:36 

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.