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

How to know the name of the form user in a folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 31st 07, 02:32 PM posted to microsoft.public.outlook.program_vba
bbnimda
external usenet poster
 
Posts: 94
Default How to know the name of the form user in a folder

Config Outlook 2003
SBS 2003

Hi again,

I use a personal form wich allow's me to open or create Task's / Contact in
diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms

Tks



--
http://bensoft.miniville.fr/


Ads
  #2  
Old October 31st 07, 03:45 PM posted to microsoft.public.outlook.program_vba
bbnimda
external usenet poster
 
Posts: 94
Default How to know the name of the form user in a folder (MessageClass)

N.B:

My problem is to know the messageClass when the folder is empty, when there
at least one item I can have it usin

Set myItem1 = ContactFolder.Items(1)

TheForm = myItem1.MessageClass

tks




"bbnimda" a écrit dans le message de news:
...
Config Outlook 2003
SBS 2003

Hi again,

I use a personal form wich allow's me to open or create Task's / Contact
in diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms

Tks



--
http://bensoft.miniville.fr/



  #3  
Old October 31st 07, 04:49 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to know the name of the form user in a folder (MessageClass)

I don't understand what you are trying to accomplish. Please provide more complete information.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"bbnimda" wrote in message ...
N.B:

My problem is to know the messageClass when the folder is empty, when there
at least one item I can have it usin

Set myItem1 = ContactFolder.Items(1)

TheForm = myItem1.MessageClass


"bbnimda" a écrit dans le message de news:
...
Config Outlook 2003
SBS 2003

I use a personal form wich allow's me to open or create Task's / Contact
in diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms


  #4  
Old October 31st 07, 10:14 PM posted to microsoft.public.outlook.program_vba
bbnimda
external usenet poster
 
Posts: 29
Default How to know the name of the form user in a folder (MessageClass)

In my Personalised Task I can Create contact in different folder by
selection the target folder in a combo

The Pb is these folder have personalised form and if I don't specify the
right messageclass, I create the contact using the builtin form (default)
and I can't fill all needed data (personal added info in the )

It's Clear or I show U the code

nb: excuse my bad english


"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
I don't understand what you are trying to accomplish. Please provide more
complete information.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"bbnimda" wrote in message
...
N.B:

My problem is to know the messageClass when the folder is empty, when
there
at least one item I can have it usin

Set myItem1 = ContactFolder.Items(1)

TheForm = myItem1.MessageClass


"bbnimda" a écrit dans le message de news:
...
Config Outlook 2003
SBS 2003

I use a personal form wich allow's me to open or create Task's / Contact
in diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms



  #5  
Old November 1st 07, 11:54 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to know the name of the form user in a folder (MessageClass)

If you want to create an item that uses a particular custom form, then you need to pass the message class for that form in the Items.Add statement that creates the new contact.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"bbnimda" wrote in message ...
In my Personalised Task I can Create contact in different folder by
selection the target folder in a combo

The Pb is these folder have personalised form and if I don't specify the
right messageclass, I create the contact using the builtin form (default)
and I can't fill all needed data (personal added info in the )

It's Clear or I show U the code

nb: excuse my bad english


"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
I don't understand what you are trying to accomplish. Please provide more
complete information.

"bbnimda" wrote in message
...
N.B:

My problem is to know the messageClass when the folder is empty, when
there
at least one item I can have it usin

Set myItem1 = ContactFolder.Items(1)

TheForm = myItem1.MessageClass


"bbnimda" a écrit dans le message de news:
...
Config Outlook 2003
SBS 2003

I use a personal form wich allow's me to open or create Task's / Contact
in diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms



  #6  
Old November 2nd 07, 07:49 AM posted to microsoft.public.outlook.program_vba
bbnimda
external usenet poster
 
Posts: 94
Default How to know the name of the form user in a folder (MessageClass)

How can I do that without knowing the name of the messageclass ?


"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
If you want to create an item that uses a particular custom form, then you
need to pass the message class for that form in the Items.Add statement that
creates the new contact.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"bbnimda" wrote in message
...
In my Personalised Task I can Create contact in different folder by
selection the target folder in a combo

The Pb is these folder have personalised form and if I don't specify the
right messageclass, I create the contact using the builtin form (default)
and I can't fill all needed data (personal added info in the )

It's Clear or I show U the code

nb: excuse my bad english


"Sue Mosher [MVP-Outlook]" a écrit dans le
message
de news: ...
I don't understand what you are trying to accomplish. Please provide more
complete information.

"bbnimda" wrote in message
...
N.B:

My problem is to know the messageClass when the folder is empty, when
there
at least one item I can have it usin

Set myItem1 = ContactFolder.Items(1)

TheForm = myItem1.MessageClass


"bbnimda" a écrit dans le message de news:
...
Config Outlook 2003
SBS 2003

I use a personal form wich allow's me to open or create Task's / Contact
in diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms





  #7  
Old November 2nd 07, 12:14 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to know the name of the form user in a folder (MessageClass)

Is that what you're trying to do -- find out the name of the default form for a particular folder? If so, in Outlook 2007, use the PropertyAccessor object. In Outlook 2003 or earlier, use CDO 1.21. These samples set the default form for a folder. In your case, you'd do the reverse-- read the property value rather than set it:

http://www.outlookcode.com/codedetail.aspx?id=1594 (PropertyAccessor)
http://www.outlookcode.com/codedetail.aspx?id=1303 (CDO)


--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"bbnimda" wrote in message ...
How can I do that without knowing the name of the messageclass ?


"Sue Mosher [MVP-Outlook]" a écrit dans le message
de news: ...
If you want to create an item that uses a particular custom form, then you
need to pass the message class for that form in the Items.Add statement that
creates the new contact.

"bbnimda" wrote in message
...
In my Personalised Task I can Create contact in different folder by
selection the target folder in a combo

The Pb is these folder have personalised form and if I don't specify the
right messageclass, I create the contact using the builtin form (default)
and I can't fill all needed data (personal added info in the )

It's Clear or I show U the code

nb: excuse my bad english


"Sue Mosher [MVP-Outlook]" a écrit dans le
message
de news:
...
I don't understand what you are trying to accomplish. Please provide more
complete information.

"bbnimda" wrote in message
...
N.B:

My problem is to know the messageClass when the folder is empty, when
there
at least one item I can have it usin

Set myItem1 = ContactFolder.Items(1)

TheForm = myItem1.MessageClass


"bbnimda" a écrit dans le message de news:
...
Config Outlook 2003
SBS 2003

I use a personal form wich allow's me to open or create Task's / Contact
in diff subFolder of my public folders, the Pb is that in many case

there is a customised form in that folder so when I open the item it's
displayed in the default form, I need to display it with the right Foms





 




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
Com Add-in for Publishing a customized form in a public folder and setting this form as deafult form for the calendar Vidya[_2_] Add-ins for Outlook 0 September 17th 07 09:47 AM
How to design a custom form that use User defined fields defined on a particular folder (not the default inbox one) Lucas Campos[_2_] Outlook - Using Forms 5 August 17th 07 05:03 PM
Form not showing as form for other user Carol Outlook - Using Forms 1 April 17th 07 04:32 AM
How to permit user B to edit user A's meeting, Public Folder Vaughan Outlook - Calandaring 1 December 14th 06 02:40 PM
Offline and user defined form in public favorite folder Lucia Outlook and VBA 6 September 8th 06 12:31 PM


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