473,403 Members | 2,183 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,403 software developers and data experts.

killing winword.exe process - ASP and Office 2003

Howdy.

I'm having difficulty getting winword.exe processes to die on our
development server when using
SET objWord = CreateObject("word.application") from an .ASP page.

This problem exists on our development server only as we are still
using Office 2000 components in production. No probs in production with
the current code which has been in use for a couple of years now.

I have to get these ASP pages working with word 2003 to avoid a rewrite
of a few applications.

I've tried using objWord.Quit and setting the object to "Nothing" but
it has no effect on the running process on the server.

Both development and prod servers are Win 2003 Server.

Any and all ideas are appreciated.

James.

Jul 11 '06 #1
3 4041
I hate it when I find an answer a minute after posting :-)

The code had been modified and the "false" clause was missing from
"objWord.quit".

So... objWord.quit False

fixed my issue.
James wrote:
Howdy.

I'm having difficulty getting winword.exe processes to die on our
development server when using
SET objWord = CreateObject("word.application") from an .ASP page.

This problem exists on our development server only as we are still
using Office 2000 components in production. No probs in production with
the current code which has been in use for a couple of years now.

I have to get these ASP pages working with word 2003 to avoid a rewrite
of a few applications.

I've tried using objWord.Quit and setting the object to "Nothing" but
it has no effect on the running process on the server.

Both development and prod servers are Win 2003 Server.

Any and all ideas are appreciated.

James.
Jul 11 '06 #2
You're probably going to have more issues:

http://support.microsoft.com/default...b;en-us;257757

James wrote:
I hate it when I find an answer a minute after posting :-)

The code had been modified and the "false" clause was missing from
"objWord.quit".

So... objWord.quit False

fixed my issue.
James wrote:
>Howdy.

I'm having difficulty getting winword.exe processes to die on our
development server when using
SET objWord = CreateObject("word.application") from an .ASP page.

This problem exists on our development server only as we are still
using Office 2000 components in production. No probs in production
with the current code which has been in use for a couple of years
now.

I have to get these ASP pages working with word 2003 to avoid a
rewrite of a few applications.

I've tried using objWord.Quit and setting the object to "Nothing" but
it has no effect on the running process on the server.

Both development and prod servers are Win 2003 Server.

Any and all ideas are appreciated.

James.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 11 '06 #3
Hi Bob.

Well as it turns out, I do have another issue. But, not one of those
mentioned in the MS support article.

I suspect its a caching issue of sorts. So I may as well blurt it out
here in the hope that someone else has come accross it.

The word documents I'm opening for a merge are a mixed bag of various
word versions going back to the Office 97 version of word.

The only way I can open these older files is to save them as Office
2003 word docs and then rename them. If I don't rename them, I just
can't open them and the winword.exe process just hangs leaving my app
with a blank screen.

I'm not expecting an answer but I'm bored with trying :-)

Bob Barrows [MVP] wrote:
You're probably going to have more issues:

http://support.microsoft.com/default...b;en-us;257757

James wrote:
I hate it when I find an answer a minute after posting :-)

The code had been modified and the "false" clause was missing from
"objWord.quit".

So... objWord.quit False

fixed my issue.
James wrote:
Howdy.

I'm having difficulty getting winword.exe processes to die on our
development server when using
SET objWord = CreateObject("word.application") from an .ASP page.

This problem exists on our development server only as we are still
using Office 2000 components in production. No probs in production
with the current code which has been in use for a couple of years
now.

I have to get these ASP pages working with word 2003 to avoid a
rewrite of a few applications.

I've tried using objWord.Quit and setting the object to "Nothing" but
it has no effect on the running process on the server.

Both development and prod servers are Win 2003 Server.

Any and all ideas are appreciated.

James.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 11 '06 #4

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

Similar topics

3
by: Bhavya Shah | last post by:
Hello there, I am facing a strange problem. I use office converters for converting Microsoft Word documents to html in my application. I use office automation for the entire process. I open the...
0
by: Just D. | last post by:
Guys, I'm writing the Windows Application and one of the ideas is to use a RichText field to store/show some formatted text, probably with pictures. The problem is that this RichEdit control is...
3
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these...
2
by: Dean Slindee | last post by:
The code below is being used to launch WinWord.exe from a VB.NET program. Word launches, but displays this error message: "Word has experienced an error trying to open the file. Try these...
8
by: Just D. | last post by:
All, What exactly should we do to get WinWord working in asp.net? I wrote a class library and it works just great in WinApp. When I switched to the WebApp I can't get the object because of...
1
by: Danny De Koster | last post by:
Hi all, Is there a way to create an xml-file and then read it in winword? Where can I find information on this topic?? Thanks for any tips Danny
0
by: TheMattRay | last post by:
I am trying to add an annotations overlay to MS Word (using the InkOverlay class provided by the Microsoft.Ink namespace) in VB.NET. To bind the InkOverlay to Word (or antyhing for that matter), it...
2
by: Dean Slindee | last post by:
Using this statement to utilize the spell checker in WinWord: WinOffice.clsWord.SpellChecker(txtNote.Text) 'this does not work because no main window is displayed 'Dim proc =...
2
ajester
by: ajester | last post by:
I need WinWord to look like it's being executed from the correct path: C:\Program Files\Microsoft Office\Office12\WinWord.exe when in reality it's being launch from a Java app using the path...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.