Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
AnswerRe: Databinding Pin
Ramkithepower27-May-10 5:17
Ramkithepower27-May-10 5:17 
Questionsorting Pin
Ramkithepower27-May-10 2:55
Ramkithepower27-May-10 2:55 
AnswerRe: sorting Pin
PIEBALDconsult27-May-10 2:59
mvePIEBALDconsult27-May-10 2:59 
AnswerRe: sorting Pin
rvdenden27-May-10 3:09
rvdenden27-May-10 3:09 
GeneralRe: sorting Pin
Simon P Stevens27-May-10 3:18
Simon P Stevens27-May-10 3:18 
AnswerRe: sorting Pin
Nuri Ismail27-May-10 3:11
Nuri Ismail27-May-10 3:11 
AnswerRe: sorting [modified] Pin
Simon P Stevens27-May-10 3:12
Simon P Stevens27-May-10 3:12 
GeneralRe: sorting Pin
PIEBALDconsult27-May-10 3:17
mvePIEBALDconsult27-May-10 3:17 
GeneralRe: sorting Pin
Simon P Stevens27-May-10 3:19
Simon P Stevens27-May-10 3:19 
GeneralRe: sorting Pin
PIEBALDconsult27-May-10 3:30
mvePIEBALDconsult27-May-10 3:30 
GeneralRe: sorting Pin
Simon P Stevens27-May-10 3:33
Simon P Stevens27-May-10 3:33 
GeneralRe: sorting Pin
Luc Pattyn27-May-10 3:38
sitebuilderLuc Pattyn27-May-10 3:38 
GeneralRe: sorting [modified] Pin
harold aptroot27-May-10 3:31
harold aptroot27-May-10 3:31 
GeneralRe: sorting Pin
Ramkithepower27-May-10 5:13
Ramkithepower27-May-10 5:13 
AnswerRe: sorting Pin
Luc Pattyn27-May-10 3:19
sitebuilderLuc Pattyn27-May-10 3:19 
QuestionDetect Event Pin
dataminers27-May-10 2:47
dataminers27-May-10 2:47 
AnswerRe: Detect Event Pin
PIEBALDconsult27-May-10 3:00
mvePIEBALDconsult27-May-10 3:00 
AnswerRe: Detect Event Pin
Dave Kreskowiak27-May-10 6:05
mveDave Kreskowiak27-May-10 6:05 
GeneralRe: Detect Event Pin
PIEBALDconsult28-May-10 3:57
mvePIEBALDconsult28-May-10 3:57 
QuestionHow to suppress Word popup - Printing silently in background ? Pin
fracalifa27-May-10 2:09
fracalifa27-May-10 2:09 
Hello,

I am using that code snippet to print a word document out of my application.

ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = @"c:\test.doc";
startInfo.Verb = "printto"; 
startInfo.Arguments = strPrinterName;
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.UseShellExecute = true; 
startInfo.ErrorDialog = true; 
System.Diagnostics.Process.Start(startInfo);


It works fine but:
The Problem is, that word pops up, print and quit.
Is there an additional parameter to set, to tell word to do it in hidden mode like requested
startInfo.CreateNoWindow = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;

to print silently in the backgound ?

Thanks Frank
Questiondata import from excel to Data grid view Pin
Isaac Gordon27-May-10 1:41
Isaac Gordon27-May-10 1:41 
AnswerRe: data import from excel to Data grid view Pin
Abhinav S27-May-10 2:51
Abhinav S27-May-10 2:51 
GeneralRe: data import from excel to Data grid view Pin
Isaac Gordon27-May-10 3:17
Isaac Gordon27-May-10 3:17 
AnswerRe: data import from excel to Data grid view Pin
Ramkithepower27-May-10 5:19
Ramkithepower27-May-10 5:19 
QuestionSoundEx in C# Pin
krishna_CP27-May-10 0:20
krishna_CP27-May-10 0:20 

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.