Click here to Skip to main content
16,006,531 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Java Pin
Paddy Boyd8-Jun-06 22:12
Paddy Boyd8-Jun-06 22:12 
GeneralRe: Java Pin
Paddy Boyd8-Jun-06 22:23
Paddy Boyd8-Jun-06 22:23 
GeneralRe: Java Pin
Socheat.Net8-Jun-06 22:47
Socheat.Net8-Jun-06 22:47 
GeneralRe: Java Pin
Paddy Boyd8-Jun-06 22:49
Paddy Boyd8-Jun-06 22:49 
GeneralRe: Java Pin
Socheat.Net8-Jun-06 22:55
Socheat.Net8-Jun-06 22:55 
GeneralRe: Java Pin
Paddy Boyd8-Jun-06 22:56
Paddy Boyd8-Jun-06 22:56 
GeneralRe: Java Pin
Socheat.Net8-Jun-06 23:08
Socheat.Net8-Jun-06 23:08 
QuestionCan't able to Open Word File in Client Machine which is Stored in Server Machine Pin
V Senthil8-Jun-06 21:06
V Senthil8-Jun-06 21:06 
Hi,

Im having word document in the Server Machine. While im trying to open the file in Client Machine file is opening in Server only. I need to open in the client only. This is an ASP.NET project done in VB.NET. This is an intranet project.

The Code i used to Open the file
---------------------------------------------
Dim oWordApplic As New Word.ApplicationClass
Dim oDoc As Word.Document
Dim strFileName As String = ConfigurationSettings.AppSettings("ServerWordDocu") + ReportName + ".doc"
Dim fileName As String = strFileName
oWordApplic.Visible = True
oDoc = oWordApplic.Documents.Open(fileName)
oDoc.Activate()
----------------------------------------------------------------

Another code i used giving link to Hyperlink. Just i give the link to hyperlink but its opening in readonly format. so i cant able to do any modification. Because i have to save the file in the server.

HyperLink1.Text = Name + ".doc"
HyperLink1.NavigateUrl = ConfigurationSettings.AppSettings("WordDocu") + Name + ".doc"
----------------------------------------------------------------

Another type i Checked its also opening in readonly.

Dim filename As String = ConfigurationSettings.AppSettings("WordDocu") + ReportName + ".doc"
Response.ContentType = "application/ms-word"
Response.AddHeader("ContentDisposition", "attachment;filename")
Response.WriteFile(filename)

Give me the solution i need it very urgent.

Thanks in advance
Senthil V.



AnswerRe: Can't able to Open Word File in Client Machine which is Stored in Server Machine Pin
Paddy Boyd8-Jun-06 22:14
Paddy Boyd8-Jun-06 22:14 
Questionmenuitem in vb.net1.1 Pin
amaneet8-Jun-06 20:28
amaneet8-Jun-06 20:28 
AnswerRe: menuitem in vb.net1.1 Pin
Paddy Boyd8-Jun-06 22:16
Paddy Boyd8-Jun-06 22:16 
Questionfixed header in grid view in asp.net2.0 [modified] Pin
MissionSuccess8-Jun-06 20:22
MissionSuccess8-Jun-06 20:22 
AnswerRe: fixed header in grid view in asp.net2.0 [modified] Pin
Tirthadip9-Jun-06 2:01
Tirthadip9-Jun-06 2:01 
QuestionHow to make hierarchical datagrid Pin
MissionSuccess8-Jun-06 19:59
MissionSuccess8-Jun-06 19:59 
Questionurgent attention needed Pin
Irs_ahmad8-Jun-06 19:38
Irs_ahmad8-Jun-06 19:38 
AnswerRe: urgent attention needed Pin
Talal Sultan8-Jun-06 21:13
Talal Sultan8-Jun-06 21:13 
GeneralRe: urgent attention needed Pin
Irs_ahmad8-Jun-06 23:11
Irs_ahmad8-Jun-06 23:11 
AnswerRe: urgent attention needed Pin
minhpc_bk8-Jun-06 23:53
minhpc_bk8-Jun-06 23:53 
AnswerRe: urgent attention needed Pin
l0kke9-Jun-06 6:38
l0kke9-Jun-06 6:38 
Questionexcel connection in vb.net 1.1 Pin
amaneet8-Jun-06 19:28
amaneet8-Jun-06 19:28 
QuestionUse Rss feed in website Pin
Amit Agarrwal8-Jun-06 19:27
Amit Agarrwal8-Jun-06 19:27 
Questionhow to pass parameters to new thread Pin
rohitgraycell8-Jun-06 18:07
rohitgraycell8-Jun-06 18:07 
AnswerRe: how to pass parameters to new thread Pin
minhpc_bk9-Jun-06 0:38
minhpc_bk9-Jun-06 0:38 
QuestionASP.NET [modified] Pin
Uma Kameswari8-Jun-06 18:01
Uma Kameswari8-Jun-06 18:01 
AnswerRe: ASP.NET [modified] Pin
Amit Agarrwal8-Jun-06 19:33
Amit Agarrwal8-Jun-06 19:33 

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.