Home All Groups Group Topic Archive Search About

Outlook ActiveX

Author
19 Jun 2009 1:43 AM
sunkers
Hi there,

I had a web part made for my company about 5 or 6 years back to integrate
Outlook. Due to the latest Office updates the web part no longer functions
as before. I was wondering where I can get it repaired. The problem seems to
be a new feature when the last email is closed , the outlook service closes
also, even though the web part is still open in a Sharepoint page. our
current sharepoint app is 2003.

So I guess the web part need to keep outlook open in the background when the
web part is active. We are using Office 2007 pro.

The object is like this

<object classid="clsid:0006F063-0000-0000-C000-000000000046"
id="ViewCtlFolder" width="100%" height="400px"
codetype="application/x-oleobject"codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
    <param name="Namespace" value="MAPI">
    <param name="Folder" value="Inbox">
    <param name="Restriction" value="">
    <param name="DeferUpdate" value="0">
</object>

Thanks

KS

-------------------------------------
Please copy and paste this code into notepad and save as htm file. you can
run this htm file in IE browser.
<html>
<head>
<script>
function init(){

var oViewCtrl = document.getElementById("ViewCtlFolder");

          try{
                   oViewCtrl.Folder="Inbox";

          }
          catch(e) { alert(e.message); }
}
</script>
</head>
<body>
<OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046"
        id="ViewCtlFolder"
        width="100%"
        height="430"
codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
   <param name="Namespace" value="MAPI">
   <param name="Folder" value="Calendar">
   <param name="View" value="Day/Week/Month View With AutoPreview">
   <param name="Restriction" value="">
   <param name="DeferUpdate" value="0">
</OBJECT>

<input type="button" name="btnA" value="Refresh" onclick="init()">
</body>
</html>

Author
19 Jun 2009 4:18 PM
Roady [MVP]
Just curious; why not integrate it with OWA instead? Then you won't have the
local Outlook dependency at all.

Note that the View parameter is no longer supported and will cause the
folder to fall back to the Inbox no matter which folder was specified.

For a demo see;
http://www.outlookcode.com/d/OVCViewDemo.htm

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

Show quoteHide quote
"sunkers" <sunk***@hotpop.com> wrote in message
news:ehMGf8I8JHA.2604@TK2MSFTNGP05.phx.gbl...
> Hi there,
>
> I had a web part made for my company about 5 or 6 years back to integrate
> Outlook. Due to the latest Office updates the web part no longer functions
> as before. I was wondering where I can get it repaired. The problem seems
> to
> be a new feature when the last email is closed , the outlook service
> closes
> also, even though the web part is still open in a Sharepoint page. our
> current sharepoint app is 2003.
>
> So I guess the web part need to keep outlook open in the background when
> the
> web part is active. We are using Office 2007 pro.
>
> The object is like this
>
> <object classid="clsid:0006F063-0000-0000-C000-000000000046"
> id="ViewCtlFolder" width="100%" height="400px"
> codetype="application/x-oleobject"codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
>    <param name="Namespace" value="MAPI">
>    <param name="Folder" value="Inbox">
>    <param name="Restriction" value="">
>    <param name="DeferUpdate" value="0">
> </object>
>
> Thanks
>
> KS
>
> -------------------------------------
> Please copy and paste this code into notepad and save as htm file. you can
> run this htm file in IE browser.
> <html>
> <head>
> <script>
> function init(){
>
> var oViewCtrl = document.getElementById("ViewCtlFolder");
>
>          try{
>                   oViewCtrl.Folder="Inbox";
>
>          }
>          catch(e) { alert(e.message); }
> }
> </script>
> </head>
> <body>
> <OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046"
>        id="ViewCtlFolder"
>        width="100%"
>        height="430"
> codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
>   <param name="Namespace" value="MAPI">
>   <param name="Folder" value="Calendar">
>   <param name="View" value="Day/Week/Month View With AutoPreview">
>   <param name="Restriction" value="">
>   <param name="DeferUpdate" value="0">
> </OBJECT>
>
> <input type="button" name="btnA" value="Refresh" onclick="init()">
> </body>
> </html>
>
Author
19 Jun 2009 4:21 PM
Roady [MVP]
In addition to my previous comment; you might want to discuss this further
in a developer newsgroup down the hall. They all start with outlook.program_

--
Robert Sparnaaij [MVP-Outlook]
Coauthor, Configuring Microsoft Outlook 2003
http://www.howto-outlook.com/
Outlook FAQ, HowTo, Downloads, Add-Ins and more

http://www.msoutlook.info/
Real World Questions, Real World Answers

-----

Show quoteHide quote
"Roady [MVP]" <newsgroups_DELETE_@_DELETE_sparnaaij_NO_._SPAM_net> wrote in
message news:uYDkkmP8JHA.1488@TK2MSFTNGP03.phx.gbl...
> Just curious; why not integrate it with OWA instead? Then you won't have
> the local Outlook dependency at all.
>
> Note that the View parameter is no longer supported and will cause the
> folder to fall back to the Inbox no matter which folder was specified.
>
> For a demo see;
> http://www.outlookcode.com/d/OVCViewDemo.htm
>
> --
> Robert Sparnaaij [MVP-Outlook]
> Coauthor, Configuring Microsoft Outlook 2003
> http://www.howto-outlook.com/
> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>
> http://www.msoutlook.info/
> Real World Questions, Real World Answers
>
> -----
>
> "sunkers" <sunk***@hotpop.com> wrote in message
> news:ehMGf8I8JHA.2604@TK2MSFTNGP05.phx.gbl...
>> Hi there,
>>
>> I had a web part made for my company about 5 or 6 years back to integrate
>> Outlook. Due to the latest Office updates the web part no longer
>> functions
>> as before. I was wondering where I can get it repaired. The problem seems
>> to
>> be a new feature when the last email is closed , the outlook service
>> closes
>> also, even though the web part is still open in a Sharepoint page. our
>> current sharepoint app is 2003.
>>
>> So I guess the web part need to keep outlook open in the background when
>> the
>> web part is active. We are using Office 2007 pro.
>>
>> The object is like this
>>
>> <object classid="clsid:0006F063-0000-0000-C000-000000000046"
>> id="ViewCtlFolder" width="100%" height="400px"
>> codetype="application/x-oleobject"codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
>>    <param name="Namespace" value="MAPI">
>>    <param name="Folder" value="Inbox">
>>    <param name="Restriction" value="">
>>    <param name="DeferUpdate" value="0">
>> </object>
>>
>> Thanks
>>
>> KS
>>
>> -------------------------------------
>> Please copy and paste this code into notepad and save as htm file. you
>> can run this htm file in IE browser.
>> <html>
>> <head>
>> <script>
>> function init(){
>>
>> var oViewCtrl = document.getElementById("ViewCtlFolder");
>>
>>          try{
>>                   oViewCtrl.Folder="Inbox";
>>
>>          }
>>          catch(e) { alert(e.message); }
>> }
>> </script>
>> </head>
>> <body>
>> <OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046"
>>        id="ViewCtlFolder"
>>        width="100%"
>>        height="430"
>> codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
>>   <param name="Namespace" value="MAPI">
>>   <param name="Folder" value="Calendar">
>>   <param name="View" value="Day/Week/Month View With AutoPreview">
>>   <param name="Restriction" value="">
>>   <param name="DeferUpdate" value="0">
>> </OBJECT>
>>
>> <input type="button" name="btnA" value="Refresh" onclick="init()">
>> </body>
>> </html>
>>
Author
22 Jun 2009 12:55 AM
sunkers
Thanks Roady..

Show quoteHide quote
"Roady [MVP]" <newsgroups_DELETE_@_DELETE_sparnaaij_NO_._SPAM_net> wrote in
message news:us3LQoP8JHA.1492@TK2MSFTNGP03.phx.gbl...
> In addition to my previous comment; you might want to discuss this further
> in a developer newsgroup down the hall. They all start with
> outlook.program_
>
> --
> Robert Sparnaaij [MVP-Outlook]
> Coauthor, Configuring Microsoft Outlook 2003
> http://www.howto-outlook.com/
> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>
> http://www.msoutlook.info/
> Real World Questions, Real World Answers
>
> -----
>
> "Roady [MVP]" <newsgroups_DELETE_@_DELETE_sparnaaij_NO_._SPAM_net> wrote
> in message news:uYDkkmP8JHA.1488@TK2MSFTNGP03.phx.gbl...
>> Just curious; why not integrate it with OWA instead? Then you won't have
>> the local Outlook dependency at all.
>>
>> Note that the View parameter is no longer supported and will cause the
>> folder to fall back to the Inbox no matter which folder was specified.
>>
>> For a demo see;
>> http://www.outlookcode.com/d/OVCViewDemo.htm
>>
>> --
>> Robert Sparnaaij [MVP-Outlook]
>> Coauthor, Configuring Microsoft Outlook 2003
>> http://www.howto-outlook.com/
>> Outlook FAQ, HowTo, Downloads, Add-Ins and more
>>
>> http://www.msoutlook.info/
>> Real World Questions, Real World Answers
>>
>> -----
>>
>> "sunkers" <sunk***@hotpop.com> wrote in message
>> news:ehMGf8I8JHA.2604@TK2MSFTNGP05.phx.gbl...
>>> Hi there,
>>>
>>> I had a web part made for my company about 5 or 6 years back to
>>> integrate
>>> Outlook. Due to the latest Office updates the web part no longer
>>> functions
>>> as before. I was wondering where I can get it repaired. The problem
>>> seems to
>>> be a new feature when the last email is closed , the outlook service
>>> closes
>>> also, even though the web part is still open in a Sharepoint page. our
>>> current sharepoint app is 2003.
>>>
>>> So I guess the web part need to keep outlook open in the background when
>>> the
>>> web part is active. We are using Office 2007 pro.
>>>
>>> The object is like this
>>>
>>> <object classid="clsid:0006F063-0000-0000-C000-000000000046"
>>> id="ViewCtlFolder" width="100%" height="400px"
>>> codetype="application/x-oleobject"codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
>>>    <param name="Namespace" value="MAPI">
>>>    <param name="Folder" value="Inbox">
>>>    <param name="Restriction" value="">
>>>    <param name="DeferUpdate" value="0">
>>> </object>
>>>
>>> Thanks
>>>
>>> KS
>>>
>>> -------------------------------------
>>> Please copy and paste this code into notepad and save as htm file. you
>>> can run this htm file in IE browser.
>>> <html>
>>> <head>
>>> <script>
>>> function init(){
>>>
>>> var oViewCtrl = document.getElementById("ViewCtlFolder");
>>>
>>>          try{
>>>                   oViewCtrl.Folder="Inbox";
>>>
>>>          }
>>>          catch(e) { alert(e.message); }
>>> }
>>> </script>
>>> </head>
>>> <body>
>>> <OBJECT classid="CLSID:0006F063-0000-0000-C000-000000000046"
>>>        id="ViewCtlFolder"
>>>        width="100%"
>>>        height="430"
>>> codebase="http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203">
>>>   <param name="Namespace" value="MAPI">
>>>   <param name="Folder" value="Calendar">
>>>   <param name="View" value="Day/Week/Month View With AutoPreview">
>>>   <param name="Restriction" value="">
>>>   <param name="DeferUpdate" value="0">
>>> </OBJECT>
>>>
>>> <input type="button" name="btnA" value="Refresh" onclick="init()">
>>> </body>
>>> </html>
>>>