Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
QuestionHow to make my C# objects self explanatory Pin
maheshk_blr9-Dec-10 0:29
maheshk_blr9-Dec-10 0:29 
AnswerRe: How to make my C# objects self explanatory Pin
GlobX9-Dec-10 11:33
GlobX9-Dec-10 11:33 
QuestionGet correct driver name from "Device management" associated with a COM PORT. Pin
AlexB478-Dec-10 22:01
AlexB478-Dec-10 22:01 
AnswerRe: Get correct driver name from "Device management" associated with a COM PORT. Pin
Luc Pattyn8-Dec-10 23:06
sitebuilderLuc Pattyn8-Dec-10 23:06 
GeneralRe: Get correct driver name from "Device management" associated with a COM PORT. Pin
AlexB478-Dec-10 23:16
AlexB478-Dec-10 23:16 
GeneralRe: Get correct driver name from "Device management" associated with a COM PORT. Pin
Luc Pattyn8-Dec-10 23:30
sitebuilderLuc Pattyn8-Dec-10 23:30 
Questionclicking a pdf button using c sharp Pin
Wamuti8-Dec-10 21:14
Wamuti8-Dec-10 21:14 
AnswerRe: clicking a pdf button using c sharp Pin
GlobX9-Dec-10 11:42
GlobX9-Dec-10 11:42 
I would have a look around at C# PDF libraries like PDFSharp[^] and iTextSharp[^]. There are ones out there that will allow you to print PDF documents.

Furthermore, I think trying to click the JavaScript-embedded button from C# is the wrong way to look at this - why would you try and run JavaScript inside a PDF that is open in memory in a C# application, especially when the JavaScript is probably dependent on Adobe Acrobat's particular implementation of JavaScript and its API? Why not just print it with your C# code?

Do you get what I mean? I thought I would just add that to explain why I didn't tell you how to click the button. I'm not trying to shoot you down, just shed some light on my thought process Smile | :)

EDIT: Brainwave! You probably don't even need a PDF library if all you're trying to do is print a PDF. Take a loot at the Adobe Reader's command line reference. Have a look at this post on Stack Overflow[^]. It shows two ways of printing with Adobe from the command line.

In C# you can achieve this by using System.Diagnostics.Process[^] class. This link shows you examples of starting a process.
GeneralHelp, CANNOT to run my C# programming get for UNSAFE Pin
Eddy Ho 88 from Singapore8-Dec-10 16:18
Eddy Ho 88 from Singapore8-Dec-10 16:18 
GeneralRe: Help, CANNOT to run my C# programming get for UNSAFE Pin
Not Active8-Dec-10 16:26
mentorNot Active8-Dec-10 16:26 
GeneralRe: Help, CANNOT to run my C# programming get for UNSAFE Pin
GlobX8-Dec-10 16:40
GlobX8-Dec-10 16:40 
GeneralRe: Help, CANNOT to run my C# programming get for UNSAFE Pin
fjdiewornncalwe9-Dec-10 1:45
professionalfjdiewornncalwe9-Dec-10 1:45 
Questiongiving error message according to Sql data Pin
Erdinc278-Dec-10 3:50
Erdinc278-Dec-10 3:50 
AnswerRe: giving error message according to Sql data PinPopular
T M Gray8-Dec-10 4:29
T M Gray8-Dec-10 4:29 
GeneralRe: giving error message according to Sql data PinPopular
Not Active8-Dec-10 5:20
mentorNot Active8-Dec-10 5:20 
GeneralRe: giving error message according to Sql data Pin
T M Gray8-Dec-10 5:37
T M Gray8-Dec-10 5:37 
GeneralRe: giving error message according to Sql data Pin
Not Active8-Dec-10 5:44
mentorNot Active8-Dec-10 5:44 
GeneralRe: giving error message according to Sql data Pin
T M Gray8-Dec-10 7:54
T M Gray8-Dec-10 7:54 
GeneralRe: giving error message according to Sql data Pin
Not Active8-Dec-10 8:28
mentorNot Active8-Dec-10 8:28 
GeneralRe: giving error message according to Sql data Pin
T M Gray8-Dec-10 9:00
T M Gray8-Dec-10 9:00 
GeneralRe: giving error message according to Sql data Pin
Dave Kreskowiak8-Dec-10 10:56
mveDave Kreskowiak8-Dec-10 10:56 
GeneralRe: giving error message according to Sql data Pin
AspDotNetDev8-Dec-10 11:58
protectorAspDotNetDev8-Dec-10 11:58 
GeneralRe: giving error message according to Sql data Pin
Dave Kreskowiak9-Dec-10 2:01
mveDave Kreskowiak9-Dec-10 2:01 
GeneralRe: giving error message according to Sql data PinPopular
Eddy Vluggen8-Dec-10 9:32
professionalEddy Vluggen8-Dec-10 9:32 
GeneralRe: giving error message according to Sql data Pin
PIEBALDconsult8-Dec-10 14:28
mvePIEBALDconsult8-Dec-10 14:28 

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.