Click here to Skip to main content
15,914,163 members
Home / Discussions / C#
   

C#

 
Generalregex guru pls Pin
g00fyman25-Jun-05 4:51
g00fyman25-Jun-05 4:51 
GeneralRe: regex guru pls Pin
User 665825-Jun-05 5:27
User 665825-Jun-05 5:27 
GeneralRe: regex guru pls Pin
g00fyman25-Jun-05 14:25
g00fyman25-Jun-05 14:25 
GeneralAlways search before you ask please Pin
DavidNohejl25-Jun-05 14:52
DavidNohejl25-Jun-05 14:52 
GeneralRe: Always search before you ask please Pin
g00fyman25-Jun-05 15:00
g00fyman25-Jun-05 15:00 
GeneralRe: Always search before you ask please Pin
DavidNohejl25-Jun-05 15:13
DavidNohejl25-Jun-05 15:13 
GeneralRe: Always search before you ask please Pin
g00fyman25-Jun-05 15:26
g00fyman25-Jun-05 15:26 
GeneralSend common files to printer Pin
DukeII25-Jun-05 2:15
DukeII25-Jun-05 2:15 
Hy,

I'm trying to create a class which sends files (common file formats - xls, pdf, txt, jpg) to
a specified printer and a specified paper slot.

My problems are:

- Doing it with Process.Start (verb "print" or "printto") is a good and quick method,
but i have to set the paper slot for each document. (Is there another possibility?)
- The function should be dynamic for all file types, that means, I do not want to make a class
for every file type (PDFDocument, TXTDocument etc...)

The best solution for me would be a function like this:

public void PrintFile(string FileName, string PrinterName, string PaperSlot)
{
...
}

Maybe there's a component or something else which is solving my problem. I'm already sick of searching...

I'm thankful for every answer.



Greez && Thx
DukeII
Generalupdating a dataset Pin
steve_rm24-Jun-05 23:59
steve_rm24-Jun-05 23:59 
GeneralMS Money like software Pin
Jassim Rahma24-Jun-05 23:48
Jassim Rahma24-Jun-05 23:48 
GeneralRe: MS Money like software Pin
Colin Angus Mackay25-Jun-05 2:49
Colin Angus Mackay25-Jun-05 2:49 
GeneralRe: MS Money like software Pin
Anonymous26-Jun-05 11:48
Anonymous26-Jun-05 11:48 
GeneralRe: MS Money like software Pin
Colin Angus Mackay26-Jun-05 11:51
Colin Angus Mackay26-Jun-05 11:51 
GeneralRe: MS Money like software Pin
Luis Alonso Ramos25-Jun-05 17:15
Luis Alonso Ramos25-Jun-05 17:15 
Generalpopulating a treeview Pin
deep724-Jun-05 21:33
deep724-Jun-05 21:33 
GeneralRe: populating a treeview Pin
Lars-Inge Tønnessen25-Jun-05 13:02
Lars-Inge Tønnessen25-Jun-05 13:02 
Questionhow sever out-put Music/audio to Clients Pin
Sheharyar_JH24-Jun-05 20:26
Sheharyar_JH24-Jun-05 20:26 
AnswerRe: how sever out-put Music/audio to Clients Pin
mhmo24-Jun-05 21:29
mhmo24-Jun-05 21:29 
QuestionHow to load a Form to a Panel? Pin
pubududilena24-Jun-05 19:17
pubududilena24-Jun-05 19:17 
AnswerRe: How to load a Form to a Panel? Pin
Lars-Inge Tønnessen25-Jun-05 12:51
Lars-Inge Tønnessen25-Jun-05 12:51 
AnswerRe: How to load a Form to a Panel? Pin
SBendBuckeye8-Jul-05 11:00
SBendBuckeye8-Jul-05 11:00 
GeneralHelp - I ‘m getting a .NET installation error (urgent) Pin
Member 192995024-Jun-05 13:22
Member 192995024-Jun-05 13:22 
GeneralCustom Event Firing Once per Instance Pin
SBendBuckeye24-Jun-05 10:20
SBendBuckeye24-Jun-05 10:20 
GeneralRe: Custom Event Firing Once per Instance Pin
Adam Goossens24-Jun-05 21:49
Adam Goossens24-Jun-05 21:49 
GeneralRe: Custom Event Firing Once per Instance Pin
SBendBuckeye25-Jun-05 7:35
SBendBuckeye25-Jun-05 7:35 

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.