Re: Equivalent of Shellexecute in csharp ?
- From: "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin@xxxxxxxxx>
- Date: Mon, 12 May 2008 11:48:39 -0700 (PDT)
On May 12, 7:38 am, "Diego Armando Maradona" <Some...@xxxxxxxxxxxxxxx>
wrote:
Hi,
I am using toshiba tec sx8 thermal printer for printing our labels,
in My old Delphi application I was using such code;
ShellExecute(0,'open',Data.cmdbuffer, PChar('/c copy
'+ExtractFilePath(Application.ExeName)+'PRINTER\ZZ3.PRN
'+dmoMain.PRINTER+':'), nil, SW_HIDE);
frmStockCardReport.QuickRep1.Preview;
ShellExecute(0,'open',Data.cmdbuffer, PChar('/c copy
'+ExtractFilePath(Application.ExeName)+'PRINTER\ZZ2.PRN
'+dmoMain.PRINTER+':'), nil, SW_HIDE);
After writing new program on .net, How can I write equivalent of above codes
?
Thanks
There is a Process class you can use.
Additiobnally try to print directly from C#, There is a serial port
class that I think you can use for that.
.
- References:
- Equivalent of Shellexecute in csharp ?
- From: Diego Armando Maradona
- Equivalent of Shellexecute in csharp ?
- Prev by Date: Re: Altova v2008r2
- Next by Date: Re: IEnumerable objects are essentially arrays, right?
- Previous by thread: Re: Equivalent of Shellexecute in csharp ?
- Next by thread: Importing from excel
- Index(es):
Relevant Pages
|