473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Help required in opening word document from ASP.NET(VB.NET) applic

Hi,

We are working on an ASP.NET (VB.NET) application and we have a problem
opening a word

document from our application. When we try to open the word document, we do
not get any

error message but the system hangs.

Our requirement is to open a word document on the server and write our
content to it and

save it on the server and then open the document through a link on the
client machine.

Basically, all we need is the syntax/code sample to open a word document
from our web

application (ASP.NET/VB.NET).

Thanks in advance
oursmp

Nov 21 '05 #1
1 2127
Ok friends and neighbors, I have a few questions. There could be a number of
reasons why that your application is hanging. The first question is:
1. Do you have any version of Microsoft word installed on your web server?
Now think carefully WHY I am asking if you have Microsoft word
installed on your webserver. The reason friends and neighbors is that the
ASP.net program is looking for an installed version of Microsoft word, not on
the client machine, but on the web server.

2. If you do have Microsoft word installed, is it the same version or lower
as the one referenced in the program? If it is a higher version than the
program there is another reason why it could be hanging.

May I suggest that you take your development version of your program and
test it using a different programmer's machine with no version of Microsoft
word on their machine. Then see what happens.

3. Have you tried installing Microsoft word on the web server to see if the
program works?

4. If you have tried all of these things write to this newsgroup again
stating what version of Microsoft word you are using and the references that
you have made in your code and even a code snippet of where you are
attempting to open your program, basically we need more information before we
can help you.
"ourspt" wrote:
Hi,

We are working on an ASP.NET (VB.NET) application and we have a problem
opening a word

document from our application. When we try to open the word document, we do
not get any

error message but the system hangs.

Our requirement is to open a word document on the server and write our
content to it and

save it on the server and then open the document through a link on the
client machine.

Basically, all we need is the syntax/code sample to open a word document
from our web

application (ASP.NET/VB.NET).

Thanks in advance
oursmp

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Tom | last post by:
Hi, I have a vb.net program from wich i want to open a ms word-doc and insert an other document into it. But i want it to work on every version of word (minimum word 2000). can anyone help...
1
by: ourspt | last post by:
Hi, We are working on an ASP.NET (VB.NET) application and we have a problem opening a word document from our application. When we try to open the word document, we do not get any error...
0
by: goof1972 | last post by:
Hello All, I have a VB.NET web application (1.1 framework) that creates a new Word document through interop.word.dll. I have a Windows Server 2003 with Office XP Professional installed. I've...
1
by: JSL | last post by:
How to insert images into a Microsoft Word document using VB.NET?? my code: Public Function PictureReport() (it doesn't work!!!) On Error Resume Next Dim oDoc As Word.Document Dim range As...
0
by: menelty | last post by:
Hi, I have been trying to create a word document using vb.net. I have several fields I wish to populate so I am using a MS Access back end to spit out the requested data for these fields as the...
0
by: PracticalApps | last post by:
I looked to find a canned solution to create a Word document in my application and just couldn't find anything that just gets to the point. I would think, and I may be making too strong of an...
2
by: santuvssantu | last post by:
Hi Friends, I have tried inserting an excel file to a word document.But the following code is inserting the junk information. So can you please help me out? Dim m_WordApp As New...
0
by: shivapadma | last post by:
i want to know how multiple tables are added to the MS word document using vb.net i wrote following code to insert one table in MS word document using vb.net 1.opened MS word document 2.inserted...
0
by: Roopa Nagaral | last post by:
Hi, I am working on vb.net... i need to retrieve particular word from word document and display it on vb.net label or textbox... like in word documnet Name : xyz DOB: 13/02/1990 here i v to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.