Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > killing winword.exe process - ASP and Office 2003

Reply
Thread Tools

killing winword.exe process - ASP and Office 2003

 
 
James
Guest
Posts: n/a
 
      07-11-2006
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.

 
Reply With Quote
 
 
 
 
James
Guest
Posts: n/a
 
      07-11-2006
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.


 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      07-11-2006
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"


 
Reply With Quote
 
James
Guest
Posts: n/a
 
      07-11-2006
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"


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install Office 2002 and/or Office 2003 on a 64 bit Windows Machine Jim Windows 64bit 2 08-01-2008 12:17 AM
Microsoft Office Excell 2003 & Microsoft Office Word 2003 Angel Eyes Microsoft Certification 2 06-30-2008 09:28 PM
MS Office 2003 SP3 blocks some Office 2003 files from opening, by design. why? Computer Support 0 01-02-2008 04:36 PM
Killing and Starting IIS and a VB.Net process using ASP.Net Shruti A via .NET 247 ASP .Net 0 05-15-2004 10:54 AM
Can Office 2000 and Office 2003 co-exist on same drive ok? john63401@yahoo.com Computer Support 1 08-19-2003 07:17 PM



Advertisments