Click here to Skip to main content
15,895,370 members
Home / Discussions / C#
   

C#

 
GeneralRe: Throughput/Design Problem Pin
led mike28-Jun-07 7:00
led mike28-Jun-07 7:00 
Questionthe underscore character in front of a variable Pin
brsecu28-Jun-07 4:54
brsecu28-Jun-07 4:54 
AnswerRe: the underscore character in front of a variable Pin
Luc Pattyn28-Jun-07 4:56
sitebuilderLuc Pattyn28-Jun-07 4:56 
JokeRe: the underscore character in front of a variable Pin
CPallini28-Jun-07 5:14
mveCPallini28-Jun-07 5:14 
QuestionFileSystem based Collection (Queue) Pin
BaraMustafa28-Jun-07 4:53
BaraMustafa28-Jun-07 4:53 
AnswerRe: FileSystem based Collection (Queue) Pin
DanB198328-Jun-07 11:23
DanB198328-Jun-07 11:23 
AnswerRe: FileSystem based Collection (Queue) Pin
pbraun28-Jun-07 11:47
pbraun28-Jun-07 11:47 
QuestionWord.ApplicationClass Pin
Civic0628-Jun-07 4:44
Civic0628-Jun-07 4:44 
I am opening a word doc (in C#) and doing a find and replace after which i am using the .printout (below) - which is printing to a local pdf port. However, i get a popup to asking to click Save or Cancel. How do I bypass that?

object Background = true;
object Append = false;
object Range = Word.WdPrintOutRange.wdPrintCurrentPage;
object Items = Word.WdPrintOutItem.wdPrintDocumentContent;
object Copies = "1";
object Pages = "1";
object PageType = Word.WdPrintOutPages.wdPrintAllPages;
object PrintToFile = false;
object Collate = true;
object ManualDuplexPrint = false;
object NullObj = System.Reflection.Missing.Value;

oApp.Visible = true;
oApp.ActivePrinter = "Adobe PDF";

oDoc.ActiveWindow.PrintOut(ref Background, ref Append, ref Range, ref OutputFileName, ref NullObj, ref NullObj, ref Items, ref Copies, ref Pages, ref PageType, ref PrintToFile, ref Collate, ref NullObj, ref ManualDuplexPrint, ref NullObj, ref NullObj, ref NullObj, ref NullObj);

AnswerRe: Word.ApplicationClass Pin
Luc Pattyn28-Jun-07 4:54
sitebuilderLuc Pattyn28-Jun-07 4:54 
QuestionHow does non-blocking file access work? Pin
martin_hughes28-Jun-07 4:30
martin_hughes28-Jun-07 4:30 
AnswerRe: How does non-blocking file access work? Pin
Luc Pattyn28-Jun-07 5:02
sitebuilderLuc Pattyn28-Jun-07 5:02 
GeneralRe: How does non-blocking file access work? Pin
martin_hughes28-Jun-07 7:17
martin_hughes28-Jun-07 7:17 
QuestionMultiple selection in a datagrid Pin
-spy-28-Jun-07 4:14
-spy-28-Jun-07 4:14 
AnswerRe: Multiple selection in a datagrid Pin
mnaveed28-Jun-07 5:15
mnaveed28-Jun-07 5:15 
QuestionMulti Lingual Website Pin
Brendan Vogt28-Jun-07 3:51
Brendan Vogt28-Jun-07 3:51 
AnswerRe: Multi Lingual Website Pin
Sathesh Sakthivel28-Jun-07 4:04
Sathesh Sakthivel28-Jun-07 4:04 
AnswerRe: Multi Lingual Website Pin
kubben28-Jun-07 4:18
kubben28-Jun-07 4:18 
GeneralRe: Multi Lingual Website Pin
Muhammad Qasim Pasta28-Jun-07 9:52
Muhammad Qasim Pasta28-Jun-07 9:52 
AnswerRe: Multi Lingual Website Pin
Pete O'Hanlon28-Jun-07 4:18
mvePete O'Hanlon28-Jun-07 4:18 
AnswerRe: Multi Lingual Website Pin
Nouman Bhatti28-Jun-07 4:27
Nouman Bhatti28-Jun-07 4:27 
AnswerRe: Multi Lingual Website Pin
mnaveed28-Jun-07 5:29
mnaveed28-Jun-07 5:29 
QuestionObtain information of my pc Pin
jfna28-Jun-07 3:44
jfna28-Jun-07 3:44 
AnswerRe: Obtain information of my pc Pin
Luc Pattyn28-Jun-07 4:16
sitebuilderLuc Pattyn28-Jun-07 4:16 
GeneralRe: Obtain information of my pc Pin
jfna28-Jun-07 4:22
jfna28-Jun-07 4:22 
GeneralRe: Obtain information of my pc Pin
Luc Pattyn28-Jun-07 4:52
sitebuilderLuc Pattyn28-Jun-07 4:52 

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.