PC Review


Reply
Thread Tools Rate Thread

In aspnet application outlook doesn't quit

 
 
MAFr
Guest
Posts: n/a
 
      21st Sep 2004
Local version of the program properly creates (or attaches to already
running) outlook application object and quits (when created- my logic) it
using quit() method.

The same scheme doesn't work as aspnet (i.e. it can not recognize running
outlook application, therefore, always creates new one, and doesn't not quit
it after calling quit() method for created object).

Additional info:
1. For aspnet application in machine.config file (processModel record) I
replaced machine/AutoGenerate with my userid/passwd.
2. To catch running outlook instance I use
System.Runtime.InteropServices.Marshal.GetActiveObject
("Outlook.Application") which works fine for local version and doesn't work
for aspnet.

Help/prompt would be appreciated.

Thanks in advance.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Application.Quit / DoCmd.Quit Fails Ajandco Microsoft Access VBA Modules 4 24th Aug 2007 11:22 PM
Application.Quit / DoCmd.Quit Fails Keith Microsoft Access Form Coding 15 5th Jun 2007 07:33 PM
RE: Why doesn't Outlook 2007's process terminate when I quit? =?Utf-8?B?U2t5cmlkZXJVSw==?= Microsoft Outlook Discussion 2 12th Mar 2007 05:03 PM
Outlook.Application handles Quit donald Microsoft Outlook Program Addins 3 16th Feb 2006 02:45 PM
Application doesn't quit Maziar Aflatoun Microsoft C# .NET 2 7th Oct 2003 05:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 PM.