Thanks Ken,
By the way i got the way to show the web page on the explorer window
of the folder ("Web Folder") on click of the button.
this is the C# Code
oFolder.WebViewURL ="
http://www.msdn.microsoft.com";
oFolder.WebViewOn = true;
Outlook.Application app = oFolder.Application;
Outlook.Explorer exp = app.ActiveExplorer();
//for now the folder is created inside Contacts Folder
exp.CurrentFolder =
appContext.GetNamespace("MAPI").GetDefaultFolder(Outlook.OlDefaultFolder
s.olFolderContacts).Folders.Item("WEB Folder");
exp.Activate();
exp.Display();
Isaac Varghese
MS.NET
TCS
View Message Thread (6 replies)
Results 1 - 7 of 7
Opening Web Page in Outlook
From: Isaac Varghese
Date Posted: 1/9/2004 3:24:00 AM
Hi,
I'm trying to open a webpage (like
http://msdn.microsoft.com) in
the Outlook window itself when u click a button on the oullook tool
bar
I couldn't get a solution for this.
Any help in this direction would be appreciated.
Thanks in Advance
Isaac Varghese
Re: Opening Web Page in Outlook
From: Ken Slovak - [MVP - Outlook]
Date Posted: 1/9/2004 8:22:00 AM
Dim oFolder As Outlook.MAPIFolder
Set oFolder = Application.ActiveExplorer.CurrentFolder
oFolder.WebViewOn = True
oFolder.WebViewAllowNavigation = True
oFolder.WebViewURL = <URL as string value>
Isaac Varghese said:
Hi,
I'm trying to open a webpage (like
http://msdn.microsoft.com) in
the Outlook window itself when u click a button on the oullook tool
bar
I couldn't get a solution for this.
Any help in this direction would be appreciated.
Thanks in Advance
Isaac Varghese
Re: Opening Web Page in Outlook
From: Isaac
Date Posted: 1/9/2004 10:13:00 AM
Thanks Ken Slovak
But that doesn't show the page on the outlook window.
Rather just set the Home page property of the current folder.How ever on
reopening the outlook the web page is shown by default.
Is there anything else i need to do so that when i click a button the
web page is shown in the current folder.
Agains thanks a lot for providing the input.
Thanks in Advance
Isaac Varghese
MS.NET
TCS
Re: Opening Web Page in Outlook
From: Jim Johnston
Date Posted: 1/9/2004 1:55:00 PM
Right click on the folder you wish to display the webpage in and
select properties . Click on the Homepage tab and check the "Show
Homepage by Default for this folder". Now type in
http://msdn.microsoft.com in the address textbox.
V/R Jim Johnston
MCSD, MCSD.NET, MCDBA
(e-mail address removed) (Isaac Varghese) wrote in message
Hi,
I'm trying to open a webpage (like
http://msdn.microsoft.com) in
the Outlook window itself when u click a button on the oullook tool
bar
I couldn't get a solution for this.
Any help in this direction would be appreciated.
Thanks in Advance
Isaac Varghese
Re: Opening Web Page in Outlook
From: Ken Slovak - [MVP - Outlook]
Date Posted: 1/9/2004 2:12:00 PM
That's the only way to show a Web page in Outlook, as the folder home
page. If you want to disable that at any point you set the Boolean
properties to False. To refresh the display you can use the Display
method of the Explorer or you might have to switch to another folder
as the ActiveExplorer and back again.
Isaac said:
Thanks Ken Slovak
But that doesn't show the page on the outlook window.
Rather just set the Home page property of the current folder.How ever on
reopening the outlook the web page is shown by default.
Is there anything else i need to do so that when i click a button the
web page is shown in the current folder.
Agains thanks a lot for providing the input.
Thanks in Advance
Isaac Varghese
MS.NET
TCS
Re: Opening Web Page in Outlook
From: Isaac
Date Posted: 1/12/2004 3:49:00 AM
Thanks a lot.
I'm trying to set the URl as default home page for a folder.
Here i have another issue.I can create a folder under any of the
Default folders.But will i be able to create a folder in the root ie
directlty under Outllook Today.
Any input is appreciated.
Thanks in advance
Isaac Varghese
MS.NET
TCS
Re: Opening Web Page in Outlook
From: Ken Slovak - [MVP - Outlook]
Date Posted: 1/12/2004 8:58:00 AM
That horrendous DeveloperDex interface you are using doesn't place any
of the preceding thread into a post. Please do so manually.
Set oFolder = oOL.Session.GetDefaultFolder(olFolderInbox)
Set oTopFolder = oFolder.Parent
You can then create folders under Outlook Today (oTopFolder) using the
oTopFolder.Folders collection.