Click here to Skip to main content
16,016,738 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: hi friends i am stuck with file uploading and retrivence, Pin
Christian Graus21-Dec-08 22:46
protectorChristian Graus21-Dec-08 22:46 
QuestionHow to set background image of button in asp.net? Pin
S a n d y21-Dec-08 18:04
S a n d y21-Dec-08 18:04 
AnswerRe: How to set background image of button in asp.net? Pin
Christian Graus21-Dec-08 19:10
protectorChristian Graus21-Dec-08 19:10 
QuestionQuerystring in Hidden Control Pin
kavitha_blueindia21-Dec-08 14:22
kavitha_blueindia21-Dec-08 14:22 
AnswerRe: Querystring in Hidden Control Pin
N a v a n e e t h21-Dec-08 15:10
N a v a n e e t h21-Dec-08 15:10 
GeneralRe: Querystring in Hidden Control Pin
kavitha_blueindia21-Dec-08 16:51
kavitha_blueindia21-Dec-08 16:51 
AnswerRe: Querystring in Hidden Control Pin
Christian Graus21-Dec-08 16:26
protectorChristian Graus21-Dec-08 16:26 
QuestionWinword.exe is run by Network Service Pin
Ali Ghazaei21-Dec-08 13:11
Ali Ghazaei21-Dec-08 13:11 
Hello,

I write a simple code to print a file through Microsoft Office Word in an ASP.NET page.

The problem is that every time I run the page, winword.exe is run by Network Service and is remained in task bar and nothing else.
(Ofcourse, I can run the full command line in RUN prompt, but in ASP.NET no!!!)

How I can fix this problem.

Best Reg
Ali

Code:
====================
Partial Class test_diag
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

Dim psi As System.Diagnostics.ProcessStartInfo = New System.Diagnostics.ProcessStartInfo()
psi.FileName = "c:\Program Files\Microsoft Office\OFFICE12\WINWORD.EXE"
psi.Arguments = "C:\test\1.doc""/mPrintDefault /q /n"
System.Diagnostics.Process.Start(psi)
End Sub

End Class
====================
AnswerRe: Winword.exe is run by Network Service Pin
Christian Graus21-Dec-08 16:28
protectorChristian Graus21-Dec-08 16:28 
GeneralRe: Winword.exe is run by Network Service Pin
Ali Ghazaei22-Dec-08 1:24
Ali Ghazaei22-Dec-08 1:24 
QuestionHandling maxRequestLength errors in IIS6 Pin
Radoslav Bielik21-Dec-08 10:35
Radoslav Bielik21-Dec-08 10:35 
AnswerRe: Handling maxRequestLength errors in IIS6 Pin
Abhijit Jana21-Dec-08 17:19
professionalAbhijit Jana21-Dec-08 17:19 
GeneralRe: Handling maxRequestLength errors in IIS6 Pin
Radoslav Bielik21-Dec-08 21:23
Radoslav Bielik21-Dec-08 21:23 
AnswerRe: Handling maxRequestLength errors in IIS6 Pin
Rajdev Ramasamy5-Jan-09 17:38
Rajdev Ramasamy5-Jan-09 17:38 
GeneralRe: Handling maxRequestLength errors in IIS6 Pin
Radoslav Bielik5-Jan-09 23:00
Radoslav Bielik5-Jan-09 23:00 
AnswerRe: Handling maxRequestLength errors in IIS6 Pin
Rajdev Ramasamy5-Jan-09 23:18
Rajdev Ramasamy5-Jan-09 23:18 
Questionhow to remove time in gridview & details view when te data is bind through code Pin
avinash8621-Dec-08 7:29
avinash8621-Dec-08 7:29 
AnswerRe: how to remove time in gridview & details view when te data is bind through code Pin
Christian Graus21-Dec-08 8:57
protectorChristian Graus21-Dec-08 8:57 
AnswerRe: how to remove time in gridview & details view when te data is bind through code Pin
Abhijit Jana21-Dec-08 17:47
professionalAbhijit Jana21-Dec-08 17:47 
QuestionSending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 1:04
Rameez Raja21-Dec-08 1:04 
AnswerRe: Sending email from asp.net page User never receive sended email Pin
Abhijit Jana21-Dec-08 1:12
professionalAbhijit Jana21-Dec-08 1:12 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 1:33
Rameez Raja21-Dec-08 1:33 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Abhijit Jana21-Dec-08 2:00
professionalAbhijit Jana21-Dec-08 2:00 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Rameez Raja21-Dec-08 2:13
Rameez Raja21-Dec-08 2:13 
GeneralRe: Sending email from asp.net page User never receive sended email Pin
Not Active21-Dec-08 2:51
mentorNot Active21-Dec-08 2:51 

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.