|
-
April 21st, 2005, 07:44 AM
#1
Printing XML/XSL with ShellExecute
Hello,
is there any way to print a XML-Document associated with Stylesheet ( XSL ) via
ShellExecute ?
i.e. like HTML
ShellExecute( hWnd, "print", "File.html", NULL, "Dir", SW_... );
... and if its possible, is there any way to print it directly, without letting
the PrintDialog popping up.
Any help is welcome.
Bye,
Matze
-
April 22nd, 2005, 07:18 AM
#2
Re: Printing XML/XSL with ShellExecute
... sorry,
but just to keep thread alive.
Matze
-
April 22nd, 2005, 10:16 AM
#3
Re: Printing XML/XSL with ShellExecute
One way would be to use IE to print it. Make a window that hosts the BHO, and then load the document & then Print it. I think you can do it without making the window holding the BHO visible. I am not sure if it possible not to display the Print Dialog...
Hope this helps,
Regards,
Usman.
-
May 9th, 2005, 04:17 AM
#4
Re: Printing XML/XSL with ShellExecute
Hi usman,
sorry for responding but now, but i was very busy the last weeks.
But now i have time to deal with this subject again.
The thing with the PrintDialog is exactly my problem, as printing must be done completely automatically, because the user has in generell not the opportunity to confirm requests of the software etc..
So if theres any other solution, i would be very appreciated.
I thought about an invisible MFC-Html View (CHtmlView), which does the Job for me.
Any Hints how to do this ? Or is ist rather a bad idea ?
I dont know.
But again: Any Hint is very welcome.
Regards,
Matze
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|