A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

ActiveX Issue



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 24th 08, 04:17 AM posted to microsoft.public.outlook
Vincent[_2_]
external usenet poster
 
Posts: 2
Default ActiveX Issue

We currently use Javascript to launch the outlook from the web
application interface (web browser). It can launch successfully, but
when the user close the outlook, and then relaunch again, there's
always error and the outlook is not open. I check through the task
manager and found that outlook process is still there. Any idea on the
problem? Below is the javascript code:

outlookApp = new ActiveXObject("Outlook.Application");
if (outlookApp.Explorers.Count 0) {
outlookApp.Explorers.Item(1).display();
outlookApp.Explorers.Item(1).windowstate = 0;
} else {
nameSpace = outlookApp.getNameSpace("MAPI");
mailFolder = nameSpace.getDefaultFolder(6);
mailFolder.display();
outlookApp.Explorers.Item(1).windowstate = 0;
nameSpace = null;
mailFolder = null;
}

outlookApp = null;
window.opener='X';
window.open('','_parent','');
window.close();
Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX Issue Vincent[_2_] Outlook - General Queries 1 November 5th 08 06:10 AM
Activex problem Paul-B Outlook - General Queries 1 November 14th 07 11:00 AM
ActiveX Error jeffbg123 Outlook - General Queries 1 July 17th 07 03:57 PM
Custom ActiveX Control on Command Bar sizing issue Tom at GSD Add-ins for Outlook 0 June 23rd 07 08:20 PM
Why ActiveX issue keeps Outlook from using Word as its editor? HERMAN HARTZLER Outlook - Installation 0 March 31st 06 04:21 PM


All times are GMT +1. The time now is 12:54 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.