Click here to Skip to main content
       

Windows API

 
AnswerRe: Looking for a programming language to use PinmemberMichael Haephrati18-Sep-12 12:11 
GeneralRe: Looking for a programming language to use PinmemberRichard Andrew x6418-Sep-12 12:21 
GeneralRe: Looking for a programming language to use PinmemberSyntax4219-Sep-12 0:10 
GeneralRe: Looking for a programming language to use PinmemberPaul Conrad19-Sep-12 8:13 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati19-Sep-12 9:26 
NewsRe: Looking for a programming language to use PinmemberEddy Vluggen20-Oct-12 5:24 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 5:30 
GeneralRe: Looking for a programming language to use PinmvpDave Kreskowiak20-Oct-12 7:45 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי20-Oct-12 8:00 
GeneralRe: Looking for a programming language to use PinmvpDave Kreskowiak20-Oct-12 12:12 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי21-Oct-12 0:28 
GeneralRe: Looking for a programming language to use PinmemberEddy Vluggen21-Oct-12 3:12 
GeneralRe: Looking for a programming language to use PinmemberMichael Haephrati מיכאל האפרתי21-Oct-12 3:44 
Questiongetting data from virtual xps printer [modified] Pinmembermiladreisi24-Aug-12 11: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 11:19 
QuestionSQL Connection problem in Windows Service PinmemberMember 799263524-Aug-12 1:17 
AnswerRe: SQL Connection problem in Windows Service PinmemberEddy Vluggen24-Aug-12 1:23 
QuestionWindows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 0:38 
AnswerRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 1:11 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 1:41 
NewsRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 3:42 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 4:41 
GeneralRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 4:52 
GeneralRe: Windows 8 unsigned DLLs PinmemberGuy Davidson17-Aug-12 6:31 
AnswerRe: Windows 8 unsigned DLLs PinmemberEddy Vluggen17-Aug-12 6:58 
Questionfind and save emails in the yahoo messenger PinmemberMember 91605777-Aug-12 11:02 
AnswerRe: find and save emails in the yahoo messenger PinmemberRichard Andrew x647-Aug-12 11:35 
Generalhow to get the primary thread ID from a spcified process ID? Pinmemberyph2004010717-Jul-12 23:05 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 4:32 
GeneralRe: how to get the primary thread ID from a spcified process ID? Pinmemberyph2004010718-Jul-12 18:37 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 22:45 
AnswerRe: how to get the primary thread ID from a spcified process ID? PinmemberEddy Vluggen19-Jul-12 0:37 
GeneralMultithreading and timing with Windows API PinmemberNinimi28-Jun-12 17:12 
GeneralRe: Multithreading and timing with Windows API Pinmemberpasztorpisti8-Aug-12 5:57 
QuestionBrowse for Folders & Shell Objects PinmemberPhre2d5-Jun-12 7:23 
AnswerRe: Browse for Folders & Shell Objects PinmemberMember 391564617-Jul-12 18:07 
Questionstartprocess Pinmembereftekharpour4-Jun-12 20:45 
AnswerRe: startprocess PinmvpRichard MacCutchan4-Jun-12 23:36 
AnswerRe: startprocess PinmemberEddy Vluggen5-Jun-12 0:04 
Questionstartprocess Pinmembereftekharpour4-Jun-12 20:36 
AnswerRe: startprocess PinmvpRichard MacCutchan4-Jun-12 23:37 
Generalstartprocess Pinmembereftekharpour5-Jun-12 21:14 
GeneralRe: startprocess PinmvpRichard MacCutchan5-Jun-12 21:59 
Generalstartprocess Pinmembereftekharpour5-Jun-12 22:29 
Generalstartprocess Pinmembereftekharpour5-Jun-12 22:50 
Generalstartprocess Pinmembereftekharpour6-Jun-12 0:35 
GeneralRe: startprocess PinmvpRichard MacCutchan6-Jun-12 3:47 
GeneralRe: startprocess Pinmembereftekharpour15-Jun-12 21:06 
GeneralRe: startprocess PinmvpRichard MacCutchan15-Jun-12 23:24 
GeneralRe: startprocess Pinmembereftekharpour16-Jun-12 0: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
Web04 | 2.8.141216.1 | Last Updated 8 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid