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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

What is Attributes and WithEvents???



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 4th 09, 07:36 AM posted to microsoft.public.outlook.program_vba
masani paresh[_3_]
external usenet poster
 
Posts: 18
Default What is Attributes and WithEvents???

Hi All,

Could anyone please help me to understand below code. It shows me systax
error when I copy paste in ThisOutlookSession in my outlook.

VERSION 1.0 CLASS
BEGIN
MultiUse = -1 'True
End
VB_Name = "ThisOutlookSession"
VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Public WithEvents colExplorers As Outlook.Explorers
Attribute colExplorers.VB_VarHelpID = -1
Public WithEvents objExplorer As Outlook.Explorer
Attribute objExplorer.VB_VarHelpID = -1
--
Thanks,
Paresh
 




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
ScanPst have run time attributes? Al Franz Outlook - General Queries 1 February 19th 09 10:42 PM
How to create a Mirror image Calender with certain attributes of o a Outlook - Calandaring 1 April 6th 07 12:58 AM
Outlook 2007 Scheduled item attributes displayed in calendar Steve300 Outlook - Calandaring 0 March 21st 07 05:34 PM
WithEvents-Problem in compiled Com-Add-In Peter Marchert Outlook and VBA 5 November 20th 06 09:41 PM
Outlook 2003. use of Withevents gives error 430 Jan Lefere Outlook and VBA 1 May 16th 06 01:08 PM


All times are GMT +1. The time now is 05:07 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.