![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have manganed to get the user name from WSHNetwork and have formatted and
inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
Ads |
#2
|
|||
|
|||
![]() In Outlook 2003 you can have a default signature for each account. The names are stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\[User]\9375CFF0413111d3B88A00104B2A6676\00000002 Here 00000002 is one of the accounts. There might be more, look for 'newSignature' and 'Reply-Forward Signature'. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 25 Apr 2007 10:32:03 -0700 schrieb brightz: I have manganed to get the user name from WSHNetwork and have formatted and inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
#3
|
|||
|
|||
![]()
Thanks Michael- I am probably being dense but how do I pull the value from
that key. I can get the path to the registry but not that actual value in key 00002/ under new signature. lori "Michael Bauer [MVP - Outlook]" wrote: In Outlook 2003 you can have a default signature for each account. The names are stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\[User]\9375CFF0413111d3B88A00104B2A6676\00000002 Here 00000002 is one of the accounts. There might be more, look for 'newSignature' and 'Reply-Forward Signature'. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 25 Apr 2007 10:32:03 -0700 schrieb brightz: I have manganed to get the user name from WSHNetwork and have formatted and inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
#4
|
|||
|
|||
![]() It might be that the value doesn't exist. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 9 May 2007 10:45:00 -0700 schrieb brightz: Thanks Michael- I am probably being dense but how do I pull the value from that key. I can get the path to the registry but not that actual value in key 00002/ under new signature. lori "Michael Bauer [MVP - Outlook]" wrote: In Outlook 2003 you can have a default signature for each account. The names are stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\[User]\9375CFF0413111d3B88A00104B2A6676\00000002 Here 00000002 is one of the accounts. There might be more, look for 'newSignature' and 'Reply-Forward Signature'. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 25 Apr 2007 10:32:03 -0700 schrieb brightz: I have manganed to get the user name from WSHNetwork and have formatted and inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
#5
|
|||
|
|||
![]()
It's in the key
My signature name is lori Value is "New Signature"=hex:4c,00,6f,00,72,00,69,00,00,00 L.o.r.i curious- "Michael Bauer [MVP - Outlook]" wrote: It might be that the value doesn't exist. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 9 May 2007 10:45:00 -0700 schrieb brightz: Thanks Michael- I am probably being dense but how do I pull the value from that key. I can get the path to the registry but not that actual value in key 00002/ under new signature. lori "Michael Bauer [MVP - Outlook]" wrote: In Outlook 2003 you can have a default signature for each account. The names are stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\[User]\9375CFF0413111d3B88A00104B2A6676\00000002 Here 00000002 is one of the accounts. There might be more, look for 'newSignature' and 'Reply-Forward Signature'. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 25 Apr 2007 10:32:03 -0700 schrieb brightz: I have manganed to get the user name from WSHNetwork and have formatted and inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
#6
|
|||
|
|||
![]() So probably your code is wrong. What's your code? -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 9 May 2007 15:39:01 -0700 schrieb brightz: It's in the key My signature name is lori Value is "New Signature"=hex:4c,00,6f,00,72,00,69,00,00,00 L.o.r.i curious- "Michael Bauer [MVP - Outlook]" wrote: It might be that the value doesn't exist. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 9 May 2007 10:45:00 -0700 schrieb brightz: Thanks Michael- I am probably being dense but how do I pull the value from that key. I can get the path to the registry but not that actual value in key 00002/ under new signature. lori "Michael Bauer [MVP - Outlook]" wrote: In Outlook 2003 you can have a default signature for each account. The names are stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\[User]\9375CFF0413111d3B88A00104B2A6676\00000002 Here 00000002 is one of the accounts. There might be more, look for 'newSignature' and 'Reply-Forward Signature'. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 25 Apr 2007 10:32:03 -0700 schrieb brightz: I have manganed to get the user name from WSHNetwork and have formatted and inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
#7
|
|||
|
|||
![]()
That looks perfectly normal. Like many Outlook profile settings, signature names in in Unicode, so if you're looking for a simple ASCII string, you have to do some parsing. This function should be helpful:
Public Function Hex4ToString(Data As String) As String Dim strTemp As String Dim strAll As String Dim i As Integer For i = 1 To Len(Data) Step 4 strTemp = Mid(Data, i, 4) strTemp = "&H" & Right(strTemp, 2) & Left(strTemp, 2) strAll = strAll & ChrW(CDec(strTemp)) Next Hex4ToString = strAll End Function For example, hex4tostring("4c006f00720069000000") returns "Lori". -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "brightz" wrote in message ... It's in the key My signature name is lori Value is "New Signature"=hex:4c,00,6f,00,72,00,69,00,00,00 L.o.r.i curious- "Michael Bauer [MVP - Outlook]" wrote: It might be that the value doesn't exist. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 9 May 2007 10:45:00 -0700 schrieb brightz: Thanks Michael- I am probably being dense but how do I pull the value from that key. I can get the path to the registry but not that actual value in key 00002/ under new signature. lori "Michael Bauer [MVP - Outlook]" wrote: In Outlook 2003 you can have a default signature for each account. The names are stored in the registry, e.g. under: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\[User]\9375CFF0413111d3B88A00104B2A6676\00000002 Here 00000002 is one of the accounts. There might be more, look for 'newSignature' and 'Reply-Forward Signature'. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Wed, 25 Apr 2007 10:32:03 -0700 schrieb brightz: I have manganed to get the user name from WSHNetwork and have formatted and inserted everything else I need for the custom message but I cannot find how to get the name of the user's default signture for new messages. Don't want to change it just get the name for insertion. Tried to search fully before posting. Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Set Default Signature | Ben | Outlook and VBA | 4 | March 1st 07 01:22 PM |
Auto add outlook default signature | Kevin | Outlook - Using Forms | 5 | November 25th 06 04:18 AM |
Detect default signature | paul | Outlook and VBA | 1 | September 15th 06 06:37 AM |
Not able to add default Signature | antonio | Outlook and VBA | 5 | May 12th 06 07:32 AM |
setting signature as default | drmeh | Outlook and VBA | 0 | March 6th 06 01:59 AM |