RE: Attaching to Running Process

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello,

I make a try to call Process.Start("excel.exe", "abc.prn") on a prn file,
but it still fails and gives the alert "The file is not in a recognizable
format". Generally speaking, the prn file created when printing is a binary
format file and Excel does not know how to read it. Would you let me know
how the prn file was created in your system? Or would you send a copy of
the prn file to my mail box (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
so that I could reproduce it in my side? Would you try to double click
(open) the prn file directly with Excel your Windows Explorer?

You said you might not have time for the issue in these days. Please feel
free to get back any time you want. I will always stand by and do my best
to help you.

Sincerely,
Jialiang Ge (jialge@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

=================================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Can OnPrint output be saved to a file?
    ... format. ... Have you tried spooling the .prn file to lpt1? ... >From DOS window type: ...
    (microsoft.public.vc.mfc)
  • Import format and then exporting
    ... file using a template format that will then export this as a .prn file. ... length and various sections represent specific file data. ...
    (microsoft.public.excel.misc)
  • Import format and then exporting
    ... I am no expert at Excel, but since you know how to ... try recording a macro in Excel ... will "run the macro" for you and then create the .prn file. ... >export as a .prn file specific format. ...
    (microsoft.public.excel.misc)
  • Re: Import format and then exporting
    ... Rick wrote: ... > file using a template format that will then export this as a .prn file. ... > length and various sections represent specific file data. ...
    (microsoft.public.excel.misc)
  • Re: How do I print a .prn file
    ... I'm guessing that the *.prn file you are talking about is a file that ... The contents of this file will be whatever the printer driver made, ... the format of the file is in order to then copy that file to the ... > I will stop guessing now. ...
    (microsoft.public.windowsxp.general)