Click here to Skip to main content
       

Windows API

 
AnswerRe: Looking for a programming language to use PinmemberMichael Haephrati18-Sep-12 11:11 
GeneralRe: Looking for a programming language to use PinmemberRichard Andrew x6418-Sep-12 11:21 
GeneralRe: Looking for a programming language to use PinmemberSyntax4218-Sep-12 23:10 
GeneralRe: Looking for a programming language to use PinmemberPaul Conrad19-Sep-12 7:13 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati19-Sep-12 8:26 
NewsRe: Looking for a programming language to use PinmemberEddy Vluggen20-Oct-12 4:24 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 4:30 
GeneralRe: Looking for a programming language to use PinmvpDave Kreskowiak20-Oct-12 6:45 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 7:00 
GeneralRe: Looking for a programming language to use PinmvpDave Kreskowiak20-Oct-12 11:12 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 23:28 
GeneralRe: Looking for a programming language to use PinmemberEddy Vluggen21-Oct-12 2:12 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי21-Oct-12 2:44 
Questiongetting data from virtual xps printer [modified] Pinmembermiladreisi24-Aug-12 10:09 
i want to create a virtual printer,then get data from virtual printer and process data
 
i use Passthrough XPS driver to get data in xps type
 
then i install redmon to redirect the virtual printer to my c# program
 
my c# program get data and save it in a file,but i can't open file with xps viewer
 
what is the problem?
 
this is my c# code
 
static void Main()
    {
        string fname = Environment.GetEnvironmentVariable("TEMP") + @"\";
        fname += "1.xps";
        FileStream fs = new FileStream(fname, FileMode.Create);
        StreamWriter sw = new StreamWriter(fs);
        StreamReader sr = new StreamReader(Console.OpenStandardInput());
        sw.Write(sr.ReadToEnd());
        sw.Flush();
        sw.Close();
        sr.Close();
    } 
thanks
 
edit: redmon simulate postscript,so it doesn't work with xps

modified 26-Aug-12 14:49pm.

AnswerRe: getting data from virtual xps printer PinmemberRichard Andrew x6424-Aug-12 10:19 
QuestionSQL Connection problem in Windows Service PinmemberMember 799263524-Aug-12 0:17 
AnswerRe: SQL Connection problem in Windows Service PinmemberEddy Vluggen24-Aug-12 0:23 
QuestionWindows 8 unsigned DLLs PinmemberGuy Davidson16-Aug-12 23:38 
AnswerRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 0:11 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 0:41 
NewsRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 2:42 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 3:41 
GeneralRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 3:52 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 5:31 
AnswerRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 5:58 
Questionfind and save emails in the yahoo messenger PinmemberMember 91605777-Aug-12 10:02 
AnswerRe: find and save emails in the yahoo messenger PinmemberRichard Andrew x647-Aug-12 10:35 
Generalhow to get the primary thread ID from a spcified process ID? Pinmemberyph2004010717-Jul-12 22:05 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 3:32 
GeneralRe: how to get the primary thread ID from a spcified process ID? Pinmemberyph2004010718-Jul-12 17:37 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 21:45 
AnswerRe: how to get the primary thread ID from a spcified process ID? PinmemberEddy Vluggen18-Jul-12 23:37 
GeneralMultithreading and timing with Windows API PinmemberNinimi28-Jun-12 16:12 
GeneralRe: Multithreading and timing with Windows API Pinmemberpasztorpisti8-Aug-12 4:57 
QuestionBrowse for Folders & Shell Objects PinmemberPhre2d5-Jun-12 6:23 
AnswerRe: Browse for Folders & Shell Objects PinmemberMember 391564617-Jul-12 17:07 
Questionstartprocess Pinmembereftekharpour4-Jun-12 19:45 
AnswerRe: startprocess PinmvpRichard MacCutchan4-Jun-12 22:36 
AnswerRe: startprocess PinmemberEddy Vluggen4-Jun-12 23:04 
Questionstartprocess Pinmembereftekharpour4-Jun-12 19:36 
AnswerRe: startprocess PinmvpRichard MacCutchan4-Jun-12 22:37 
Generalstartprocess Pinmembereftekharpour5-Jun-12 20:14 
GeneralRe: startprocess PinmvpRichard MacCutchan5-Jun-12 20:59 
Generalstartprocess Pinmembereftekharpour5-Jun-12 21:29 
Generalstartprocess Pinmembereftekharpour5-Jun-12 21:50 
Generalstartprocess Pinmembereftekharpour5-Jun-12 23:35 
GeneralRe: startprocess PinmvpRichard MacCutchan6-Jun-12 2:47 
GeneralRe: startprocess Pinmembereftekharpour15-Jun-12 20:06 
GeneralRe: startprocess PinmvpRichard MacCutchan15-Jun-12 22:24 
GeneralRe: startprocess Pinmembereftekharpour15-Jun-12 23:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 4 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid