| Thread | Last Author | Messages read/total | Date |
|---|
| How can I create an archive od outlook msgs saved as rtf files (outside of ou... |
Dmitry Streblechenko |
0 / 8 |
13 Dec 2007 |
| Call SaveAs specifying the olMsg rather than olRtf format.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Sudharsan Chandra" <sudharsan@ingvysyabank.com> wrote in message
news:uGFxH3UPIHA.4136@TK2MSFTNGP03.phx.gbl...
>
> Hi,
> What should I do to save the mails in .msg format?
>
>
> *** Sent via Developersdex http://www.... |
| VBScript / SetFocus Chaos in Outlook 2003 |
Sue Mosher [MVP-Outlook] |
0 / 6 |
12 Dec 2007 |
| I'm glad it worked for you. It makes a nice addition to our collection of practical Outlook form scenarios; I've posted the sample at http://www.outlookcode.com/codedetail.aspx?id=1764.
I don't provide paid help, but if you feel the need for it, you can send a message to outlook-dev-hire at yahoogroups.com with details of your requirements, including the Outlook version(s) to be supported.... |
| rename msg file automaticly |
Eric Legault [MVP - O... |
0 / 4 |
12 Dec 2007 |
| When exactly are these e-mails getting saved to the file system? If you have
code that's already archiving the e-mails, can you not change the file name
to whatever you want at that point?
Otherwise, if you need to rename a file in a folder when something happens
in Outlook, you'll need to either know where the file is so that you can grab
it and rename it, or develop a file system... |
| Access MaiItem.UserProperties using Redemption |
Dmitry Streblechenko |
0 / 11 |
12 Dec 2007 |
| What is the *exact* error message?
Firstly, if you want the default value of a parameter, pass Missing.Value
rather null or empty string.
Secondly, every time you use multiple dot notation (e.g.
rdoFolder2.FolderFields.Add), you get back a brand new COM object back every
time, so when you call rdoFolder2.FolderFields.Save, you won't get any new
fields. Cache the value of the... |
| Error on sending email!! |
Sue Mosher [MVP-Outlook] |
0 / 2 |
12 Dec 2007 |
| Try using the email address or Exchange alias instead of the name.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"vonClausowitz" <vonclausowitz@gmail.com> wrote in message news:329a0b20-69cf-4fef-9e6b-37df86abb14e@e23g2000prf.googlegroups.com...
> Hi... |
| Distributing a macro-button to other client pc's |
Sue Mosher [MVP-Outlook] |
0 / 2 |
12 Dec 2007 |
| There is no supported way to distribute Outlook VBA code to other people. See http://www.outlookcode.com/article.aspx?id=28 for workarounds. The better solution would be to build a COM add-in and install it on each machine; see http://www.outlookcode.com/article.aspx?ID=36
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and... |
| Read and write master categories list |
MA |
0 / 1 |
11 Dec 2007 |
| Hi,
I need to read the Outlook master categories and write an new entry to
the list. It appear the master categories stored in registry
(HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Categories).
Is this correct for the OL 2003 onwards? BTW, my solution will have
prerequisite to OL 2003.
How can I read and write the categories list. I am using the
redemption and can not... |
| MAPI created Outlook message has wrong Message Type |
Dmitry Streblechenko |
0 / 4 |
11 Dec 2007 |
| Is that PB's Simple MAPI wrapper? I have no idea what it does., sorry.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"dougolivier" <dougolivier@bellsouth.net> wrote in message
news:%236wCxA$OIHA.3940@TK2MSFTNGP05.phx.gbl...
> Yes... I mean recipient address type. The outlook message will not send
> and when I click on the TO... |
| MfUڦU |
ip |
0 / 1 |
11 Dec 2007 |
| ... |
| Migration from CDO 1.2 to OOM2007: field/property handling??? |
Ken Slovak - [MVP - O... |
0 / 2 |
11 Dec 2007 |
| There's no migration information that I've ever seen for CDO to OOM 2007.
CDO uses a really hacked version of the MAPI GUID for a namespace, in
reality both "0320060000000000C000000000000046" and "
{00062003-0000-0000-C000-000000000046}" refer to the same namespace in
Outlook/MAPI.
For example, for taskItem.Status you would use this in the OOM:
"http://schemas.microsoft.... |
| How to save a email, sent out, as a file |
DPM |
0 / 5 |
11 Dec 2007 |
| Thanks.
"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:Ol0nBv6OIHA.2308@TK2MSFTNGP05.phx.gbl...
1) Even if you send items immediately (the techniques for which depend on
your Outlook version), you still have to wait until the item is in Sent
Items if you want the sender and time information to be in the item you
save.
2) No .msg file is itself... |
| How to figure out line wrap length? |
puntium |
0 / 1 |
10 Dec 2007 |
| I was referred over here from the Install and Configure forum.
I would like to find out how to access the default line length value that is
settable from Tools -> Options -> Mail Format -> Internet Format.
I need to get at this value either from a VBA macro or a .net-based add-in.
Is it stored in the registry somewhere? or is there some other way to get at
it?... |
| PR_SENDER_ADDRTYPE >> NOT_FOUND |
klwemu@googlemail.com |
0 / 5 |
10 Dec 2007 |
| On 10 Dez., 21:49, "Ken Slovak - [MVP - Outlook]" <kenslo...@mvps.org>
wrote:
> Are these actually emails that have been received and not some that were
> sent out or unsent items?
>
> I can get those properties in a received email whether I'm using an Exchange
> profile with a mailbox or a PST file profile.
>
> You mentioned using MAPI, did you mean using CDO 1.21? Can you show the VBA... |
| How to create birthdays like Outlook does? |
Peter Marchert |
0 / 11 |
10 Dec 2007 |
| Ok, thank you Ken.
Peter
On 10 Dez., 20:53, "Ken Slovak - [MVP - Outlook]" <kenslo...@mvps.org>
wrote:
> Post back if you have any problems with those recurring items with that code
> line commented out, and we'll try to figure out what's going on.
>
> --
> Ken Slovak
> [MVP - Outlook]http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager,... |
| Pasting from Word 2002 to Outlook 2003 |
Ken Slovak - [MVP - O... |
0 / 10 |
10 Dec 2007 |
| Having the same version of Word and Outlook will let you use WordMail and
the HTML will be compatible between the two HTML sources. You'll still have
to parse the HTML and insert the Word document but it would be easier than
trying to insert Word HTML into Outlook editor HTML, that's all.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming... |
| Rule print message does not work with encrypted message! |
Eric Legault [MVP - O... |
0 / 4 |
09 Dec 2007 |
| If you were a part of the Outlook product group, wouldn't you want to stay
far, far away from exposing secure messages to a programming interface that's
an open route for hackers to exploit? Especially after Microsoft has been
hammered for security issues over the years, and given Outlook's unfortunate
part of this history (Melissa, I Love You, etc.) - it makes perfect sense.
--... |
| How to get appointments of another users and their names? |
Ken Slovak - [MVP - O... |
0 / 2 |
08 Dec 2007 |
| Use the NameSpace.GetSharedDefaultFolder() function to get the calendar
folders of those workers and then get the appointments the same way you do
with your own calendar. You won't get private appointments unless those are
shared.
I'd go with names, DL's are not real robust in my opinion.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming... |
| Email from Word to Outlook |
Joe |
0 / 3 |
07 Dec 2007 |
| Tim,
I am looking to do the same. Might I ask what you ended up doing? ...
Thanks in advance!
-Joe
"Tim" wrote:
> Thank you.
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
> > As an attachment or as the body of the message? In either case, the actual statement to send the message will be subject to security prompts. See http://www.outlookcode.com/article.aspx?ID=52
> >
> >... |
| Property Page is not loaded on Vista |
Ken Slovak - [MVP - O... |
0 / 7 |
07 Dec 2007 |
| Framework security should be set by the installer package or manually using
the Framework configuration utility. It's not set by installing or
reinstalling the Framework. For a VSTO addin you need to have full trust set
up for your addin assemblies. That's usually done with the SetSecurity
project as detailed at
http://msdn2.microsoft.com/en-us/library/bb332051.aspx. Those articles... |
| custom action: save or delete email after sending |
Ken Slovak - [MVP - O... |
0 / 6 |
07 Dec 2007 |
| I'm glad it's working for you but the code doesn't make sense to me.
In the module code you're showing the user form non-modally, then using
dlg.hWnd in SetWindowPos. Since a user form has no hWnd you aren't passing a
valid hWnd to SetWindowPos. You should be using FindWindow just after you
show the user form to get the hWnd at that point, then pass that to
SetWindowPos.
Then... |
| Need help to export data from Excel to Outlook form |
Sue Mosher [MVP-Outlook] |
0 / 2 |
07 Dec 2007 |
| You would need to write your own import code or use a third-party tool. See http://www.outlookcode.com/article.aspx?id=23 for links to samples.
--
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" <wahhhran-vba@yahoo.fr> wrote in message... |
| Outllook 2003: Outbox messages get stuck as drafts |
Mike, UK |
0 / 1 |
07 Dec 2007 |
| I recently changed computers and in process of this moved from OL2002 to
OL2003. I use it offline - ie I send messages manually with Ctrl+M when I
want, rather than using immediate send.
The problem is that some messages do not go. They somehow get flagged as
drafts and stay in the Outbox. To change them from 'draft' to send' I have to
drag and drop them to 'Drafts', then open each... |
| Outlook - synchronize contatcs by visual basic aplicaton |
Markus Brunner |
0 / 6 |
07 Dec 2007 |
| Hi Dimitry
Many thanks and how? "For an existing contact, you only need to update the
fields that you are aware of.."
This is my problem.
Regards
Markus
"Dmitry Streblechenko" wrote:
> You should not be deleting an existing contact and re-creating a new one.
> For an existing contact, you only need to update the fields that you are
> aware of; there is no reason to modify... |
| idiot's guide to running a script... |
llama thumper |
0 / 5 |
06 Dec 2007 |
| Many thanks - have got it running now.... |
| Get selection into textstring |
Sue Mosher [MVP-Outlook] |
0 / 8 |
06 Dec 2007 |
| Outlook 2003 would be completely different, since the only time when Word would be used is if the message is in RTF format and Word is the editor. In fact, to get the selection from a received plain text message, you'd need a third-party library (Redemption).
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators... |
| Create folder based on senders name in the Inbox |
Michael Bauer [MVP - ... |
0 / 5 |
06 Dec 2007 |
| #1: Did you look at the sample I mentioned? Simply set the value for the
Find variable, e.g. "@abc.com"
#2: Sorry, off head I don't know for sure how to determine the first
recipient in that case. You might look at the ConversationIndex and SentOn
properties.
--
Best regards
Michael Bauer - MVP Outlook
Synchronize Outlook Categories:
<http://www.vboffice.net/product.... |
| adding a distlist item to the links collection |
Michael Bauer [MVP - ... |
0 / 11 |
06 Dec 2007 |
| There's nothing wrong to ask other people as well. And you could speed up
things if you don't start the discussion from scratch.
As I remember the code you used in our discussion, the object references
were local ones (procedure level). Reading this thread now I don't wonder
that what you called dereferencing didn't work.
--
Best regards
Michael Bauer - MVP Outlook... |
| Sender address!! |
Dan Mitchell |
0 / 4 |
05 Dec 2007 |
| klwemu@googlemail.com wrote in
news:ba254db8-5cc6-40fe-9763-5bb10ae9514e@v4g2000hsf.googlegroups.com:
> The diasbled logout code does not happen to the problem. Enablend/
> Disabled makes no difference.
> It seems that the problem occours when i access (in any case) the
> "Sender" Object up to 4-8 times.
What if you change the logout code to this?
session.Logoff
Set... |
| Create Folders based on domain name |
Dmitry Streblechenko |
0 / 6 |
05 Dec 2007 |
| Off the top of my head, don't know if it'll actually work:
On error resume next 'to be able to handle errors returened by
Inbox.Folders()
Set oloUtlook = CreateObject("Outlook.Application")
Set ns = oloUtlook.GetNamespace("MAPI")
Set Inbox = ns.GetDefaultFolder(olFolderInbox)
for each Msg in Inbox.Items
if Msg.Class = 43 Then
address = Msg.SenderEmailAddress
AddrParts =... |
| use sleep in vbscript for customized Outlook form |
Dmitry Streblechenko |
0 / 3 |
05 Dec 2007 |
| Also, why would you ever want to use sleep on the main (or any other)
thread?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message
news:O5Skpz0NIHA.4912@TK2MSFTNGP06.phx.gbl...
> Where do you see a Sleep() method in scripting? Sleep() is a Win32 API
> call as far... |
| Put a selection in a textstring |
Peter R. |
0 / 1 |
05 Dec 2007 |
| How can i get a selected (marked) text in my email into a string in vba ?
Thanks Peter.... |
| Outlook, command prompt and java |
Ken Slovak - [MVP - O... |
0 / 4 |
05 Dec 2007 |
| The best place to start is at www.outlookcode.com. I don't think there's
much there (or pretty much anywhere) for samples of Outlook coding with java
but there are tons of samples there in other languages.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.... |
| Tacking Macro |
Robin |
0 / 3 |
05 Dec 2007 |
| Thanks. Initially the list was blank, but then I made the macro Public and
that worked nicely.
"Sue Mosher [MVP-Outlook]" wrote:
> View | Toolbars | Customize. Drag your macro to the toolbar from the Commands tab.
>
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook 2007 Programming:
> Jumpstart for Power Users and Administrators
> http://www.outlookcode.... |
| How can I speed up the updation of my inbox with exchange server? |
Argha |
0 / 1 |
05 Dec 2007 |
| In my computers outlook 2003, it is downloading mails from exchange server in
very slow speed. How can I speed up my inbox updation as normaly I receive
mail one in every 2 min during my office hour?... |
| Move and create folder based on subject |
Michael Bauer [MVP - ... |
0 / 4 |
05 Dec 2007 |
| This ignores the error:
On Error Resume Next
...
Set F = Inbox.Folders(Name)
--
Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Tue, 4 Dec 2007 07:51:01 -0800 schrieb Peter R.:
> Dear Michael thanks for your anwer,
>
> I get... |
| What's the best way to add Word documents to OneNote? |
Michael Bauer [MVP - ... |
0 / 2 |
05 Dec 2007 |
| You might ask again in a newsgroup for OneNote, this one is specifically for
Outlook.
--
Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Tue, 4 Dec 2007 11:28:01 -0800 schrieb CodeKid:
> If I copy and paste, the result is difficult... |
| Default Shared Journal Folder |
CRM Cathy |
0 / 4 |
04 Dec 2007 |
| Thanks Ken - I was notified of your response, but for some reason I am unable
to open or view it. Could you please email to me at
cathy.allington@yougrow.com.au?
Very much appreciated Ken - thank you. This is critical for us to resolve.
"Ken Slovak - [MVP - Outlook]" wrote:
> The best place to check for existing tools is at the Utilities page at
> www.slipstick.com. Go to the... |
| reading message body line by line in VBA |
Mark VII |
0 / 4 |
04 Dec 2007 |
| Thanks a million for the suggestions. Just did a "quick and dirty" test with
Split, and it seems to work. I'd much rather read the array that have to
save a text file and start parsing it.
Mark... |
| getting new button to work with wordmail |
Sue Mosher [MVP-Outlook] |
0 / 2 |
04 Dec 2007 |
| Since you're writing the macro in Word, it knows nothing about Outlook until you tell it. You must make these changes:
1) Add a reference to the Microsoft Outlook library.
2) Declare and instantiate an Outlook.Application object. In a Word macro context, Application is Word.Application, not Outlook.Application.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007... |
| Problem of sending content with links in Word to Outlook |
Sue Mosher [MVP-Outlook] |
0 / 2 |
04 Dec 2007 |
| Setting the format to HTML doesn't automatically create hyperlinks or other HTML formatting features. If you want HTML content, you would need to set HTMLBody, not Body to the fully tagged HTML content.
An easier approach is to use the "Office envelope" technique: http://www.outlookcode.com/codedetail.aspx?id=1333
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007... |
| Display result from Outlook formula. |
Sue Mosher [MVP-Outlook] |
0 / 2 |
04 Dec 2007 |
| YOu can use the Round() function to round the result: Round(value, number_of_places)
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Elisabeth" <Elisabeth@discussions.microsoft.com> wrote in message news:909FDDBA-5FB9-4F51-BC63-323C81746119@microsoft.com.... |
| Auto Schedule Send Mail in pre-defined intervals via VBA |
Michael Bauer [MVP - ... |
0 / 6 |
04 Dec 2007 |
| Michael, it's not necessary to ask multiple times; as soon as I have the
time I'm back - usually once a day.
The point is that you cannot rely on that the code is running all the day;
your computer might crash or VBA might get disabled by Outlook if there are
serious, unhandled errors.
If it's not for critical messages everything should be fine. I'm (mis)using
Outlook for... |
| Determine the user mailbox for a specific folder |
Ken Slovak - [MVP - O... |
0 / 4 |
03 Dec 2007 |
| I'd do it more like this:
Do While (Not (targetFolder Is Nothing))
strPath = targetFolder.Parent & "\" & strPath
Set targetFolder = targetFolder.Parent
Loop
The final iteration will be in error, so you might want to clear the Err
object if you intend to do any If testing or use other code that might be
affected by the error state.
--
Ken Slovak
[MVP - Outlook]... |
| expand/collapse shortcut groups |
Ken Slovak - [MVP - O... |
0 / 4 |
03 Dec 2007 |
| Those are OutlookBarShortcut items. What I said applied to those.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"SP_1" <none@web.com> wrote in message
news:OEStvieNIHA.3400@TK2MSFTNGP03.phx.gbl...
> Yeah, those shorcut groups... |
| Outlook Script:How to: Search base on EntryID ? |
Sue Mosher [MVP-Outlook] |
0 / 2 |
03 Dec 2007 |
| If you read the Help topic on Find, you'll see that EntryID is not a field available for use with the Find method. Instead, use the Namespace.GetItemFromID method. If you have reason to expect it to be in a non-default store, iterate Namespace.Folders and get the StoreID from each store and try it with GetItemFromID.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007... |
| How to Monitor Click event of a CommandBarPopup |
Ken Slovak - [MVP - O... |
0 / 2 |
03 Dec 2007 |
| There is no Click event or Expand or whatever event for a CommandBarPopup
and no way that I know of to retrieve a hWnd for that control.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"n777krish" <n777krish@gmail.com> wrote in... |
| Resorting Event |
Ken Slovak - [MVP - O... |
0 / 2 |
03 Dec 2007 |
| No.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Eile" <peter.eilenberger@gmail.com> wrote in message
news:b00c2028-59e5-4cb5-a010-baaaa3df29a4@x69g2000hsx.googlegroups.com...
> Hello,
>
> is there an event to detect the... |
| Overlapping Appointments |
Tadwick |
0 / 5 |
03 Dec 2007 |
| Thanks, Sue - I should have been more clear in my OP.
"Sue Mosher [MVP-Outlook]" wrote:
> That's a bit of a different scenario. Your array approach sounds good. You still need to restrict appointments to a finite date range, however, because otherwise, if you have any recurring appointments without end dates, you will be dealing with an infinite number of appointments.
>
> --
> Sue... |
| Generating a new message with non-default signature |
Baby Face Lee |
0 / 3 |
01 Dec 2007 |
| Thanks Sue, that's great!
"Sue Mosher [MVP-Outlook]" wrote:
> Here's a code sample: http://www.outlookcode.com/codedetail.aspx?id=1743. You'd need to create the new message first:
>
> Dim newMsg as Outlook.MailItem
> Set newMsg = Application.CreateItem(olMailItem)
> newMsg.Display
> InsertSig "your preferred signature"
> --
> Sue Mosher, Outlook MVP
> Author... |
| Warning message |
rommel |
0 / 1 |
30 Nov 2007 |
| I made a program to send email from Microsoft access to Outlook but i always
get warning message " A program is trying to automatically send an e-mail
message using a Microsoft Visual Basic Application (VBA) command, Item.Send,
from within Microsoft Outlook". I was to eliminate this warning message to
send email at particular time?... |