Click here to Skip to main content
15,907,493 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert html to pdf Pin
Vasudevan Deepak Kumar14-Aug-07 4:10
Vasudevan Deepak Kumar14-Aug-07 4:10 
GeneralRe: convert html to pdf Pin
omer erakman14-Aug-07 4:20
omer erakman14-Aug-07 4:20 
QuestionProblem with negative number Pin
K. Ahlers14-Aug-07 1:19
K. Ahlers14-Aug-07 1:19 
AnswerRe: Problem with negative number Pin
plastio14-Aug-07 1:37
plastio14-Aug-07 1:37 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 1:40
K. Ahlers14-Aug-07 1:40 
AnswerRe: Problem with negative number Pin
Luc Pattyn14-Aug-07 1:42
sitebuilderLuc Pattyn14-Aug-07 1:42 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 1:45
K. Ahlers14-Aug-07 1:45 
GeneralRe: Problem with negative number Pin
J4amieC14-Aug-07 3:24
J4amieC14-Aug-07 3:24 
GeneralRe: Problem with negative number Pin
Luc Pattyn14-Aug-07 6:06
sitebuilderLuc Pattyn14-Aug-07 6:06 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 10:57
K. Ahlers14-Aug-07 10:57 
GeneralRe: Problem with negative number Pin
Luc Pattyn14-Aug-07 13:31
sitebuilderLuc Pattyn14-Aug-07 13:31 
GeneralRe: Problem with negative number Pin
K. Ahlers14-Aug-07 23:14
K. Ahlers14-Aug-07 23:14 
GeneralRe: Problem with negative number Pin
Luc Pattyn15-Aug-07 2:43
sitebuilderLuc Pattyn15-Aug-07 2:43 
GeneralRe: Problem with negative number Pin
K. Ahlers15-Aug-07 3:29
K. Ahlers15-Aug-07 3:29 
GeneralRe: Problem with negative number Pin
Luc Pattyn15-Aug-07 3:57
sitebuilderLuc Pattyn15-Aug-07 3:57 
GeneralRe: Problem with negative number Pin
K. Ahlers17-Aug-07 0:35
K. Ahlers17-Aug-07 0:35 
GeneralRe: Problem with negative number Pin
Luc Pattyn17-Aug-07 5:43
sitebuilderLuc Pattyn17-Aug-07 5:43 
Question[C#] - How to print a file programmatically... Pin
aravinda77713-Aug-07 23:14
aravinda77713-Aug-07 23:14 
AnswerRe: [C#] - How to print a file programmatically... Pin
Giorgi Dalakishvili13-Aug-07 23:27
mentorGiorgi Dalakishvili13-Aug-07 23:27 
AnswerRe: [C#] - How to print a file programmatically... Pin
Hessam Jalali14-Aug-07 2:09
Hessam Jalali14-Aug-07 2:09 
Here is the code from There is always the way to do it, but I don't know one of the members

I used it and it worked well

private static void doPrint(string executable, string fileFullPath, string printerName)
{
// Print PDF file using Acrobat Reader.
// "/h" - hidden mode
// "/t" - print command following by the file name and printer name
System.Diagnostics.ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.Arguments = "/h /t \"" + fileFullPath + "\" \"" + printerName + "\"";
startInfo.FileName = executable;
startInfo.UseShellExecute = true;
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
System.Diagnostics .Process process = new Process() ;
try {
process = Process.Start(startInfo);
}
catch (Exception ex)
{
}
finally
{
process.WaitForExit(20000);
if (process.HasExited == false)
{
process.Kill();
}
}
} 


good luck
GeneralRe: [C#] - How to print a file programmatically... Pin
Michael Sync14-Aug-07 21:43
Michael Sync14-Aug-07 21:43 
GeneralRe: [C#] - How to print a file programmatically... Pin
Green Goblin20-Aug-07 9:31
Green Goblin20-Aug-07 9:31 
Questionproblem in calling a dll file Pin
kandy_soliton13-Aug-07 22:47
kandy_soliton13-Aug-07 22:47 
AnswerRe: problem in calling a dll file Pin
Giorgi Dalakishvili13-Aug-07 22:51
mentorGiorgi Dalakishvili13-Aug-07 22:51 
GeneralRe: problem in calling a dll file Pin
kandy_soliton13-Aug-07 23:57
kandy_soliton13-Aug-07 23:57 

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.