Click here to Skip to main content
15,884,537 members
Home / Discussions / C#
   

C#

 
AnswerRe: Tab key functionality in editor user control Pin
Big Daddy Farang30-Apr-08 10:48
Big Daddy Farang30-Apr-08 10:48 
GeneralRe: Tab key functionality in editor user control Pin
Nouman Bhatti1-May-08 19:30
Nouman Bhatti1-May-08 19:30 
GeneralRe: Tab key functionality in editor user control Pin
Big Daddy Farang2-May-08 5:29
Big Daddy Farang2-May-08 5:29 
QuestionHow to get stored procedure parameters with SQLDMO ? Pin
hdv21230-Apr-08 7:17
hdv21230-Apr-08 7:17 
AnswerRe: How to get stored procedure parameters with SQLDMO ? Pin
Rob Graham30-Apr-08 11:56
Rob Graham30-Apr-08 11:56 
GeneralRe: How to get stored procedure parameters with SQLDMO ? Pin
hdv21230-Apr-08 20:34
hdv21230-Apr-08 20:34 
GeneralRe: How to get stored procedure parameters with SQLDMO ? Pin
goodideadave1-May-08 6:28
goodideadave1-May-08 6:28 
QuestionAfter printing a Word Doc using C#, I cant print from Excel but i CAN print from notepad or anything else... Pin
g1b30-Apr-08 6:56
g1b30-Apr-08 6:56 
Everytime I run this program i created to open, write to a word doc and print it out, I can no longer print from an excel spreadsheet unless i log off the computer and then log back on. The thing is, it only does this for excel. I can print from notepad or MS Word but i cant print anything from excel. Any ideas?

I think there is something in here thats doing it:

.....
WordApp.Visible = true;

Word.Document aDoc = WordApp.Documents.Open(ref fileName, ref missing, ref readOnly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref isVisible, ref missing, ref missing, ref missing);

WordApp.ActivePrinter = "Phaser 5500DT PS";

aDoc.PrintOutOld(ref myTrue, ref myFalse, ref missingValue, ref missingValue, ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue, ref myFalse, ref missingValue, ref missingValue, ref missingValue);

System.Threading.Thread.Sleep(3250);

WordApp.ActiveDocument.Close(ref mySave, ref missingValue, ref missingValue);


WordApp.Quit(ref mySave, ref missingValue, ref missingValue);

....


Thanks
AnswerRe: After printing a Word Doc using C#, I cant print from Excel but i CAN print from notepad or anything else... Pin
Arjun Marwaha30-Apr-08 7:41
Arjun Marwaha30-Apr-08 7:41 
GeneralRe: After printing a Word Doc using C#, I cant print from Excel but i CAN print from notepad or anything else... Pin
g1b30-Apr-08 8:29
g1b30-Apr-08 8:29 
Questionitextsharp form fields Pin
Uyi30-Apr-08 6:31
Uyi30-Apr-08 6:31 
AnswerRe: itextsharp form fields Pin
carbon_golem30-Apr-08 6:57
carbon_golem30-Apr-08 6:57 
Question[Message Deleted] Pin
cs.it.tech30-Apr-08 5:16
cs.it.tech30-Apr-08 5:16 
AnswerRe: any one help me,please Pin
Gareth H30-Apr-08 5:45
Gareth H30-Apr-08 5:45 
AnswerRe: any one help me,please PinPopular
J4amieC30-Apr-08 5:46
J4amieC30-Apr-08 5:46 
GeneralRe: any one help me,please Pin
cs.it.tech30-Apr-08 7:24
cs.it.tech30-Apr-08 7:24 
GeneralRe: any one help me,please Pin
leckey30-Apr-08 8:09
leckey30-Apr-08 8:09 
GeneralRe: any one help me,please Pin
leckey30-Apr-08 8:10
leckey30-Apr-08 8:10 
GeneralRe: any one help me,please Pin
J4amieC30-Apr-08 22:14
J4amieC30-Apr-08 22:14 
GeneralRe: any one help me,please Pin
leckey1-May-08 3:03
leckey1-May-08 3:03 
GeneralRe: any one help me,please Pin
J4amieC1-May-08 4:32
J4amieC1-May-08 4:32 
GeneralRe: any one help me,please Pin
leckey1-May-08 4:54
leckey1-May-08 4:54 
AnswerRe: any one help me,please Pin
carbon_golem30-Apr-08 6:52
carbon_golem30-Apr-08 6:52 
GeneralRe: any one help me,please Pin
User 665830-Apr-08 8:26
User 665830-Apr-08 8:26 
GeneralRe: any one help me,please Pin
carbon_golem30-Apr-08 8:29
carbon_golem30-Apr-08 8:29 

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.