Click here to Skip to main content
15,890,043 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: problem in calling a dll file Pin
Giorgi Dalakishvili14-Aug-07 0:01
mentorGiorgi Dalakishvili14-Aug-07 0:01 
GeneralRe: problem in calling a dll file Pin
N a r e s h P a t e l14-Aug-07 0:50
N a r e s h P a t e l14-Aug-07 0:50 
GeneralRe: problem in calling a dll file [modified] Pin
Liam O'Hagan14-Aug-07 19:22
Liam O'Hagan14-Aug-07 19:22 
GeneralRe: problem in calling a dll file Pin
kandy_soliton21-Aug-07 19:35
kandy_soliton21-Aug-07 19:35 
QuestionSlow UI updation problem Pin
getnanda@gmail.com13-Aug-07 22:46
getnanda@gmail.com13-Aug-07 22:46 
AnswerRe: Slow UI updation problem Pin
Pete O'Hanlon13-Aug-07 22:59
mvePete O'Hanlon13-Aug-07 22:59 
GeneralRe: Slow UI updation problem Pin
getnanda@gmail.com13-Aug-07 23:16
getnanda@gmail.com13-Aug-07 23:16 
GeneralRe: Slow UI updation problem Pin
Martin#13-Aug-07 23:27
Martin#13-Aug-07 23:27 
GeneralRe: Slow UI updation problem Pin
getnanda@gmail.com13-Aug-07 23:31
getnanda@gmail.com13-Aug-07 23:31 
GeneralRe: Slow UI updation problem Pin
Martin#13-Aug-07 23:34
Martin#13-Aug-07 23:34 
GeneralRe: Slow UI updation problem Pin
Pete O'Hanlon13-Aug-07 23:42
mvePete O'Hanlon13-Aug-07 23:42 
GeneralRe: Slow UI updation problem Pin
Martin#13-Aug-07 23:49
Martin#13-Aug-07 23:49 

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.