Detect MS word's print command in .Net application
-
Hi... If a user open MSword and gives print command, how my .net application will identify it ? Remember i am talking about the prior stage of print dialog box.... I want that , if a user click print command in file menu of msword, the print dialog box should not be displayed , but he should be redirected to our .net application..... For this i make my application in run mode and used Timer control's tick event and i want to detect here, -- the prior stage of print job from MSWord.... awaiting Hemant
By: Hemant Thaker
-
Hi... If a user open MSword and gives print command, how my .net application will identify it ? Remember i am talking about the prior stage of print dialog box.... I want that , if a user click print command in file menu of msword, the print dialog box should not be displayed , but he should be redirected to our .net application..... For this i make my application in run mode and used Timer control's tick event and i want to detect here, -- the prior stage of print job from MSWord.... awaiting Hemant
By: Hemant Thaker
:doh: Well I suggest you ask microsoft if there is an api for what you want to do (which I doubt) or if you could have their source code... I don't think microsoft will like you pulling apart their software though. I suggest you create a software printer (google "dopdf") that posts the data to your web app. Not a simple task.
-
Hi... If a user open MSword and gives print command, how my .net application will identify it ? Remember i am talking about the prior stage of print dialog box.... I want that , if a user click print command in file menu of msword, the print dialog box should not be displayed , but he should be redirected to our .net application..... For this i make my application in run mode and used Timer control's tick event and i want to detect here, -- the prior stage of print job from MSWord.... awaiting Hemant
By: Hemant Thaker
You can try this link for this issue - http://www.anupshinde.com/Articles/WordInDotnet/[^]
-
You can try this link for this issue - http://www.anupshinde.com/Articles/WordInDotnet/[^]
Hi.. thanks for your support.... You are right , so far as accessing any ms word document in our application is concerned. but what my reqirement is ... My application in .Net is already running, and if some one opens MS word and gives print command, the print dialog box should not appear , but one windows form in my running .net application should popup thats it... so which process is responsible to generate print dialog box in ms word... and what i can do is bypass this dialog box and pop up my form... please do me a favour and find something i u can... thanks n awaiting... Hemant
By: Hemant Thaker