|
-
Jan 3rd, 2006, 10:46 AM
#1
Thread Starter
Member
Set Home Pages
I need to set home pages (html pages) to outlook folders programatically using Visual Basic. Is it possible . If so give me link where I can get info abt it
-
Jan 4th, 2006, 03:11 AM
#2
Re: Set Home Pages
Sure, here you go for Outlook 2003.
VB Code:
Option Explicit
'Add a reference to MS Outlook xx.0 Object Library
'After the homepage is set and set to view by default
'you must refresh the folder view by selecting another folder and then back. ;)
'Create a subfolder below your default Inbox called "Test1"
Private Sub Command1_Click()
Dim oApp As Outlook.Application
Dim oFolder As Outlook.MAPIFolder
Set oApp = New Outlook.Application
Set oFolder = oApp.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("VB Forums")
oFolder.WebViewURL = "http://www.vbforums.com/showthread.php?t=379361"
oFolder.WebViewOn = True
Set oFolder = Nothing
End Sub
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 5th, 2006, 09:13 AM
#3
Thread Starter
Member
Re: Set Home Pages
Thanks Rob Dog .... [QUOTE]ur Great[QUOTE]
-
Jan 5th, 2006, 11:53 PM
#4
Re: Set Home Pages
Your welcome.
Ps, dont forget to resolve your thread when its solved.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|