Click here to Skip to main content
15,891,848 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionInserting values? Pin
Karthick_gc21-Apr-09 0:43
Karthick_gc21-Apr-09 0:43 
AnswerRe: Inserting values? Pin
N a v a n e e t h21-Apr-09 0:46
N a v a n e e t h21-Apr-09 0:46 
GeneralRe: Inserting values? Pin
Karthick_gc21-Apr-09 0:49
Karthick_gc21-Apr-09 0:49 
GeneralRe: Inserting values? Pin
N a v a n e e t h21-Apr-09 0:56
N a v a n e e t h21-Apr-09 0:56 
GeneralRe: Inserting values? Pin
Deshbir Singh21-Apr-09 8:26
Deshbir Singh21-Apr-09 8:26 
QuestionPassing value through Querystring from Gridview record. Pin
codingrocks21-Apr-09 0:38
codingrocks21-Apr-09 0:38 
AnswerRe: Passing value through Querystring from Gridview record. Pin
N a v a n e e t h21-Apr-09 0:44
N a v a n e e t h21-Apr-09 0:44 
QuestionError opening Word Document in Asp.Net Pin
vyasdev200921-Apr-09 0:12
vyasdev200921-Apr-09 0:12 
I am trying to opening Word file in asp.net application. I Try Following Code For That,

Private oWordAppl As Word.Application
Private oDoc As Word.Document
Public Sub New()
oWordAppl = New Word.Application
End Sub
Public Sub Open(ByVal strfileName As String)
Dim fieName As Object = strfileName
Dim readOnly1 As Object = False
Dim isVisible As Object = True
Dim missing As Object = System.Reflection.Missing.Value

oDoc = oWordAppl.Documents.Open(fieName, missing, readOnly1, missing, missing, missing, missing, missing, missing, missing, missing, isVisible)
oDoc.Activate()
End Sub

And this code for Opening file,

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
Dim Test As New WordAppl
Dim TamplatePath As String = ConfigurationManager.AppSettings("WordMod")
Dim DocumentPath As String = ConfigurationManager.AppSettings("WordDoc")
Test.Open(TamplatePath & "Test.Doc")
Test.SaveAs(DocumentPath & "Test.Doc")
Test.Open()
End Sub

All this works fine in View In Browser, But when I publish that Page The file not opening and on Click of Button, Browser running continuosly, but cant find file.

Please Help ME out,
Thanks.....
AnswerRe: Error opening Word Document in Asp.Net Pin
Ashfield21-Apr-09 1:46
Ashfield21-Apr-09 1:46 
QuestionUnable to Fix The hight of Table cotrol in Report viewer (RDLC) Pin
Member 226432921-Apr-09 0:10
Member 226432921-Apr-09 0:10 
QuestionIIS and Tomcat Pin
jchandramouli20-Apr-09 22:46
jchandramouli20-Apr-09 22:46 
QuestionImport data from excel cell to Textbox Pin
samsonx20-Apr-09 21:58
samsonx20-Apr-09 21:58 
AnswerRe: Import data from excel cell to Textbox Pin
Greg Chelstowski21-Apr-09 0:28
Greg Chelstowski21-Apr-09 0:28 
GeneralRe: Import data from excel cell to Textbox Pin
krishna_goluguri7-Jul-10 23:27
krishna_goluguri7-Jul-10 23:27 
QuestionUnable to cast COM object of type 'Word.ApplicationClass' to interface type 'Word._Application'. Pin
abyvjohnmca20-Apr-09 21:21
abyvjohnmca20-Apr-09 21:21 
QuestionHow we can fetch a textbox value when an enter key is pressed ? Pin
Masood Kochi,SSF20-Apr-09 21:15
Masood Kochi,SSF20-Apr-09 21:15 
AnswerRe: How we can fetch a textbox value when an enter key is pressed ? Pin
N a v a n e e t h20-Apr-09 21:57
N a v a n e e t h20-Apr-09 21:57 
AnswerRe: How we can fetch a textbox value when an enter key is pressed ? Pin
jai_10121-Apr-09 1:42
jai_10121-Apr-09 1:42 
Questionview html source code - asp.net Pin
Manish Thaduri20-Apr-09 20:35
Manish Thaduri20-Apr-09 20:35 
AnswerRe: view html source code - asp.net Pin
N a v a n e e t h20-Apr-09 20:39
N a v a n e e t h20-Apr-09 20:39 
General[Message Deleted] Pin
Manish Thaduri20-Apr-09 20:42
Manish Thaduri20-Apr-09 20:42 
GeneralRe: view html source code - asp.net Pin
N a v a n e e t h20-Apr-09 20:56
N a v a n e e t h20-Apr-09 20:56 
General[Message Deleted] Pin
Manish Thaduri20-Apr-09 21:06
Manish Thaduri20-Apr-09 21:06 
GeneralRe: view html source code - asp.net Pin
N a v a n e e t h20-Apr-09 22:19
N a v a n e e t h20-Apr-09 22:19 
Question[Message Deleted] Pin
Manish Thaduri20-Apr-09 22:45
Manish Thaduri20-Apr-09 22:45 

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.