Click here to Skip to main content
15,914,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Advance Screen Scrapping..! Pin
PSK_14-May-07 17:57
PSK_14-May-07 17:57 
QuestionASP.Net 2.0 Menu Control Pin
Rhys Gravell14-May-07 7:20
professionalRhys Gravell14-May-07 7:20 
AnswerRe: ASP.Net 2.0 Menu Control Pin
martin_hughes14-May-07 11:59
martin_hughes14-May-07 11:59 
QuestionRewriteUrl results in blank page? Pin
eggsovereasy14-May-07 6:33
eggsovereasy14-May-07 6:33 
QuestionText box to from address in contact form Pin
archangel71714-May-07 4:15
archangel71714-May-07 4:15 
AnswerRe: Text box to from address in contact form Pin
Not Active14-May-07 5:10
mentorNot Active14-May-07 5:10 
GeneralRe: Text box to from address in contact form Pin
archangel71714-May-07 9:40
archangel71714-May-07 9:40 
Questionserver side printing almost working, what's the problem? Pin
orinoco7714-May-07 4:10
orinoco7714-May-07 4:10 
Further to my last post in here, I've been doing some playing around with various bits of ActiveX and all sorts of other things in an effort to get my app to print nicely rendered text when handed a bunch of HTML. I think I'm pretty close. I managed to get all the bugs I can see ironed out, but now I've got what's either silent failure or a different kind of success than I was expecting.

Bear with me while I try to explain what I've done, it's a little unconventional. To test with I've set up a page on which the page load event sends some HTML to my print routine. My print routine consists of a new class which inherits System.Windows.Forms.Form (I know, but bear with me). This class creates an ActiveX object (the MS DHTML editor control), passes the HTML string to it as its content, and then asks it to print. I found that, while there are all sorts of problems with printing without displaying the print dialog from a web browser control, the DHTML editor doesn't seem to mind and gives exactly the same result.

Anyway, after a lot of messing around with this (as you can imagine, including a windows form in an ASP.NET app caused me a little confusion), I've got to the point where I can load my page, and no errors arise, but I don't get anything out of the printer either. The ActiveX control is being called fine, there are no errors there, but the printout just doesn't arrive. The app has identity impersonate set to true, so I figured it would use the logged on user's default printer, but that doesn't seem to be the case. My next thought was that it might be using the aspnet process's default printer, if such a creature exists, but I don't know how to test for that.

Anyone have any ideas on how to resolve this? I feel like I'm really, really close and just need a bit of a nudge.
AnswerRe: server side printing almost working, what's the problem? Pin
orinoco7714-May-07 5:20
orinoco7714-May-07 5:20 
QuestionMigrated from VS 2003 to VS 2005 and Crystal Reports do not work - need help Pin
Slow Learner14-May-07 3:40
Slow Learner14-May-07 3:40 
AnswerRe: Migrated from VS 2003 to VS 2005 and Crystal Reports do not work - need help Pin
daisylh14-May-07 14:32
daisylh14-May-07 14:32 
GeneralRe: Now I get the access denied exception .... Pin
Slow Learner15-May-07 3:54
Slow Learner15-May-07 3:54 
GeneralRe: Now I get the access denied exception .... Pin
daisylh15-May-07 14:32
daisylh15-May-07 14:32 
Questionlogin control + asp.net 2.0 + c# Pin
ritu432114-May-07 3:38
ritu432114-May-07 3:38 
AnswerRe: login control + asp.net 2.0 + c# Pin
Not Active14-May-07 4:51
mentorNot Active14-May-07 4:51 
GeneralRe: login control + asp.net 2.0 + c# Pin
ritu432114-May-07 19:56
ritu432114-May-07 19:56 
QuestionSearch By Date Pin
Khan.Bangash14-May-07 3:34
Khan.Bangash14-May-07 3:34 
AnswerRe: Search By Date Pin
kubben14-May-07 3:51
kubben14-May-07 3:51 
QuestionDatagrid Dropdown list - setting initial value problems Pin
robw188814-May-07 3:33
robw188814-May-07 3:33 
AnswerRe: Datagrid Dropdown list - setting initial value problems Pin
kubben14-May-07 3:54
kubben14-May-07 3:54 
GeneralRe: Datagrid Dropdown list - setting initial value problems Pin
robw188814-May-07 4:09
robw188814-May-07 4:09 
GeneralRe: Datagrid Dropdown list - setting initial value problems Pin
kubben14-May-07 4:34
kubben14-May-07 4:34 
AnswerRe: Datagrid Dropdown list - setting initial value problems Pin
kapiljadhav14-May-07 21:44
kapiljadhav14-May-07 21:44 
GeneralRe: Datagrid Dropdown list - setting initial value problems Pin
robw188815-May-07 4:50
robw188815-May-07 4:50 
QuestionCR 9.2 export error Pin
samerh14-May-07 3:23
samerh14-May-07 3:23 

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

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