| Thread | Last Author | Messages read/total | Date |
|---|
| Explorers or Inspectors... Which to use to catch my event? |
landau@skiz.net |
0 / 3 |
12 Feb 2008 |
| Yup... I had that idea overnight and it worked. Thanks a lot for
confirming this is the way to go.
Now I just have to figure out which object to declare to cover all
items in my inbox (which are not all mailItems)... but I posted a
different thread on this :).
Thanks again,
-Ed... |
| Create a rule or function that will open a file |
Ken Slovak - [MVP - O... |
0 / 4 |
12 Feb 2008 |
| Outlook doesn't have VBA addins. COM addins are developed from scratch using
a language that supports COM addins such as VB6, VB.NET, C#, C++, Delphi,
etc.
--
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
"scott56hannah"... |
| Macro to add date automatically to MEETING INVITE |
Ken Slovak - [MVP - O... |
0 / 2 |
11 Feb 2008 |
| Well for one thing msg isn't assigned to anything so you're trying to add to
the Body of a null object.
--
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
"nemadrias" <spovolny@gmail.com> wrote in message... |
| CDO Error |
Ken Slovak - [MVP - O... |
0 / 2 |
11 Feb 2008 |
| CDO 1.21 is subject to even stronger security than the Outlook object model
and has been since the Outlook 2000 SP2 days. Just accessing a Message
object in a Contacts folder fires the CDO security.
It looks like you're using Redemption, use that instead of CDO to access the
restricted information. Switch over to Redemption to get the message and use
Redemption methods from there to... |
| Halting warning display for own macros |
Ken Slovak - [MVP - O... |
0 / 3 |
11 Feb 2008 |
| Sign your VBA code project. If you don't have a code signing signature you
can use the selfcert.exe program that comes with Office to create a
certificate and use that. To do so once you have a certificate you select
Tools, Digital Signatures in the VBA project.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager,... |
| Speed of VBA move vs manual move, for emails moved to Public Folders |
Ken Slovak - [MVP - O... |
0 / 2 |
08 Feb 2008 |
| The Outlook code is using Extended MAPI, which is at least 10 times faster
than using the Outlook object model from VBA, maybe more. Unless you write
your code using C++ or Delphi and Extended MAPI you won't be able to
reproduce the speed with which Outlook moves things.
There are optimization tricks that can speed things up some, but you always
will be limited by using the object... |
| How to install Microsoft Office Document Imageing on Windows 2003(x64), when ... |
Ken Slovak - [MVP - O... |
0 / 2 |
08 Feb 2008 |
| How is this an Outlook question, and why are you posting it in multiple
Outlook newsgroups? Pick a more appropriate newsgroup for your question.
--
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
"DR" <softwareengineer98037@yahoo.... |
| Outllok favorites view |
Ken Slovak - [MVP - O... |
0 / 2 |
07 Feb 2008 |
| Set myAPF = myNS.Folders("Public Folders").Folders("Favorites")
That will get you to Favorites. Get the Folders collection of Favorites and
iterate that collection to list all folders in Favorites.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.... |
| How: Outlook2007 Preview |
Michael Bauer [MVP - ... |
0 / 3 |
07 Feb 2008 |
| You must store the attachment as a file. Then you use the file's standard
application to display it by calling:
Private Declare Function ShellExecute Lib "shell32.dll" Alias
"ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal
lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String,
ByVal nShowCmd As Long) As Long
ShellExecute 0, "open",... |
| IncludeRecurrences 2003 vs 2007 |
bluesbrthr@gmail.com |
0 / 15 |
05 Feb 2008 |
| On Feb 5, 4:32 pm, bluesbr...@gmail.com wrote:
> On Feb 5, 4:23 pm, bluesbr...@gmail.com wrote:
>
>
>
> > On Feb 5, 3:57 pm, "Sue Mosher [MVP-Outlook]" <sue...@outlookcode.com>
> > wrote:
>
> > > I think the problem is that you're doing filtering twice and using IncludeRecurrences only on the second filter. You only need to filter once:
>
> > > Dim filter1 As String
> > > filter1 =... |
| Outlook Appointments & Meetings |
Ken Slovak - [MVP - O... |
0 / 2 |
02 Feb 2008 |
| For that you need an autoaccept script or agent running in Exchange on that
resource mailbox. You should post this question to an Exchange group,
perhaps microsoft.public.exchange.applications. Specify your Exchange
version and setup when you post there.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager,... |
| Rule not executing |
Michael |
0 / 1 |
01 Feb 2008 |
| I have a rule that reads:
Apply this rule after the message arrives
sent to "Terminations"
and with "Termination Notification" in the subject
move it to the "Terminations" folder
Everything in quotes are the instructions the rest is the standar label
applied by Outlook. This rule was working fine until a few days ago. I do not
get any errors or anything but the emails are not being... |
| How to get past the OutLook Busy DLG . . . |
Ken Slovak - [MVP - O... |
0 / 7 |
01 Feb 2008 |
| This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C864DF.21B9F9E0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0013_01C864DF.21B9F9E0"
------=_NextPart_001_0013_01C864DF.21B9F9E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Right, you certainly don't want to try to have both ESM and Outlook on the... |
| Changing Mailitem property |
Sue Mosher [MVP-Outlook] |
0 / 2 |
30 Jan 2008 |
| I'd make it 4 lines:
Sub DoIt()
On Error Resume Next
Application.ActiveInspector.CurrentItem.DeleteAfterSubmit = True
End Sub
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"MSPJ" <michael_jasper@yahoo.com> wrote in message... |
| Outlook 2007 |
Sue Mosher [MVP-Outlook] |
0 / 4 |
30 Jan 2008 |
| The error indicates that the loop has reached an item that is not a ContactItem. All Outlook folders may contain multiple types of items. Contacts folders in particular contain both contacts and distribution lists. Therefore, you should never assume that the items found will be any particular kind.
The easiest solution is to add an On Error Resume Next statement to ignore the error.
You... |
| Outlook View Control with OL 2007 |
Clive |
0 / 1 |
30 Jan 2008 |
| I'm trying to upgrade support in a VB6 app I finished last year - from
Outlook 2003 to Outlook 2007.
The problem is with the View Control. (ViewCtl1). I can't get it to work
at all on a new PC with just Outlook 2007 on it.
It works on my development PC that used to have Outlook 2003 - which is now
upgraded to 2007, but I can't see what is left behind that keeps the View
Control... |
| Make a new contakt folder visible in the contact view |
Ken Slovak - [MVP - O... |
0 / 6 |
30 Jan 2008 |
| ... |
| Getting Custom Image with the control text. |
Ken Slovak - [MVP - O... |
0 / 2 |
30 Jan 2008 |
| Use the getImage tag with the name of your getImage callback and in that
callback provide your custom image as an IPictureDisp object.
--
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
"Ashu" <gupta.gajendra@gmail.com> wrote in... |
| Telenet nieuwsgroepen mededeling: nieuwsserver adres aanpassen/Attention: mod... |
info@telenet.be |
0 / 1 |
29 Jan 2008 |
| Beste klant,
Telenet heeft een migratie gedaan van haar nieuwsservers.
Wat betekent dit concreet voor jou als gebruiker?
Er verandert niets aan de service, maar om verder gebruik te maken van de
Telenet nieuwsgroepen service moet je bij de instellingen van je nieuwslezer
het adres van de nieuwsserver veranderen van news.telenet.be of
newsbin.telenet.be in newsgroups.telenet.be.... |
| "From" field in the mailitem |
Sue Mosher [MVP-Outlook] |
0 / 2 |
29 Jan 2008 |
| Outlook 2007 adds a MailItem.SendUsingAccount property.
For earlier versions, Outlook provides no direct way to change the account for an outgoing message. These are known workarounds using native Outlook functionality:
1) If the user has Outlook 2002/3 and is not using WordMail as the editor, you can set the sending account using CommandBars techniques. See http://www.outlookcode.... |
| "From" field in the mailitem |
Prashant Shah |
0 / 1 |
29 Jan 2008 |
| Res. All
Can I get/set the "From" field of a new mailitem?
Thanks in advance
Prashant... |
| Outlook.exe can't close it |
Ken Slovak - [MVP - O... |
0 / 8 |
29 Jan 2008 |
| Did you compare the results from method 1 and 2 to see if they are
identical? If they are identical are you sure that outlook.exe is not still
listed in the Processes tab of the Task Manager? Are you holding any Outlook
objects open?
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders,... |
| Stop baby eating in CHINA |
LPC |
0 / 1 |
29 Jan 2008 |
| Eat dogs, cats and baby look below:
http://z.about.com/d/urbanlegends/1/0/v/7/eating_babies1.jpg
http://z.about.com/d/urbanlegends/1/0/w/7/eating_babies2.jpg
http://888.rockin.net/propaganda-of-baby-eating/rumour.htm#true_story
info@imagiam.com... |
| Microsoft Outlook Object Library |
Michael Bauer [MVP - ... |
0 / 4 |
28 Jan 2008 |
| If you talk about VBA or an Addin, you can avoid it from OL 2003 on by using
the instrinsic application object. Third party solutions either don't avoid
the message but click the Yes button for you, or they code against
ExtendedMapi instead of the Outlook object model. You can do the latter as
well if you're familiar with C++/Delphi.
I think, this article lists all the available... |
| Allow outlook to store dublicate contact values |
Werner Fabender |
2 / 2 |
26 Jan 2008 |
| Hello,
it was my mistake.
regards Werner... |
| Archiving the Task Folder |
Brian Tillman |
2 / 4 |
25 Jan 2008 |
| HDS Tom <tom.pratt@hdsupply.com> wrote:
> So simply moving items to a separate PST file will compress/archive
> them?
Compress? No. However, moving an item from an Exchange mailbox to a PST
will free up the space in the mailbox, which is what you said you wanted.
You can't "compress" an Exchange mailbox like you can a PST.
Since moving is all that autoarchive does in the first... |
| Outlook VBA advice |
Ken Slovak - [MVP - O... |
0 / 4 |
25 Jan 2008 |
| It will work slowly because each access must hit the server. Either download
the items to a PST file or expect rather slow response to your code.
--
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
"LanceVictor" <lancevictor@telus.... |
| Newbie "save post item as .." Can't get it to work. |
Michael Bauer [MVP - ... |
0 / 2 |
25 Jan 2008 |
| SaveAs exptects that the directory already exists.
--
Best regards
Michael Bauer - MVP Outlook
Synchronize Outlook Categories:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>
Am Thu, 24 Jan 2008 09:02:03 -0800 schrieb Marceepoo:
> I can't get this macro to work. i'm trying to save the email item that is
open
> to a file. I'm trying two... |
| Error 3170 Can not find installable ISAM |
Rima |
0 / 3 |
23 Jan 2008 |
| sorry i have noticed thsi and i sent it there thanks
"Ken Slovak - [MVP - Outlook]" wrote:
> Post your Access questions in an Access group. This one is for Outlook.
> You're not likely to get any answers here.
>
> --
> Ken Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007
> Reminder Manager, Extended Reminders, Attachment... |
| Saving an e-mail that attaches a workbook |
Ken Slovak - [MVP - O... |
0 / 6 |
23 Jan 2008 |
| I have no idea about routeslips or how to work with them at all.
--
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
"GB" <GB@discussions.microsoft.com> wrote in message
news:84DFC93F-DFD4-4DD7-999B-469D85DF3847@microsoft.com...
>... |
| creating an Office 2007 template |
Jessica Pitz |
0 / 2 |
23 Jan 2008 |
| "Daniel Bass" <danREMOVEbass@blueCAPSbottle.comFIRST> schrieb im Newsbeitrag
news:OrJ0QJKHIHA.280@TK2MSFTNGP03.phx.gbl...
>
> I'm a C# developer, and have been asked to looked into the "best" way of
> creating a quote template for my business that will allow users, when
> creating a new document based on my quote, to open a document that has a
> form with some details (quote number,... |
| searching for messages where hour(Sent) >= 6 AM and hour(Sent) <= 9AM (but no... |
Sue Mosher [MVP-Outlook] |
0 / 7 |
22 Jan 2008 |
| At the top of the module window, select the Application object from the left dropdown list, then AdvancedSearchComplete from the right dropdown list. That will insert the event handler procedure. Outlook VBA Help has sample code.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.... |
| couldn't find installable ISAM |
Ken Slovak - [MVP - O... |
0 / 2 |
21 Jan 2008 |
| This is Outlook related how?
--
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
"Rima" <Rima@discussions.microsoft.com> wrote in message
news:6D5F2BF0-6D93-4E10-886D-FC8D226E1685@microsoft.com...
> HI, am new here , i have a program... |
| Forever |
Wikipedi |
0 / 1 |
20 Jan 2008 |
| <HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY>
<P> </P>
</BODY>
</HTML>... |
| Working with appointments - parameter not found |
Michael Mueller |
0 / 3 |
18 Jan 2008 |
| > > A manualy new appointment also includes a field called "Label" where
> > color-settings can be done (e.g. None, Important, Business, Personal,
> > ...). But I can't find any expression for the AppointmentItem to set
> > this label.
>
> You must use a low-level API, such as CDO 1.21 or Redemption. See
> http://www.outlookcode.com/codedetail.aspx?id=139
Thanks, Redemption worked fine.... |
| MAPIReadMail and MapiFileDesc problem |
Adam Stachura |
0 / 1 |
18 Jan 2008 |
| Hello!
I have a following problem:
While I call MAPIReadMail with a parameter MapiPeek MAPI32 saves attachments
into temporary directory and creates structures MapiFileDesc:
public class MapiFileDesc
{
public int reserved;
public int flags;
public int position;
public string path;
public string name;
public IntPtr type;
}
When I read this structure I see that the name... |
| Get the Current Mail that is being viewed in Outlook 2007 |
Sue Mosher [MVP-Outlook] |
0 / 2 |
16 Jan 2008 |
| Application.ActiveExplroer.Selection(1) for an item being viewed in the reading pane, Application.ActiveInspector.CurrentItem for an item being viewed in its own window.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"AIForst" <AIForst@discussions.... |
| Custom .vcs file: Problem with unicode characters |
Vassilis |
0 / 8 |
16 Jan 2008 |
| I finally got a pretty easy solution.
The .vcs file needs to be saved as UTF-8 and not as ANSI or UNICODE.
"Vassilis" <vc@this_spam_REMOVE_printing.gr> wrote in message
news:uk$ckNeUIHA.4768@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> I'm using vbscript to create custom calendar entries (.vcs files). This
> was working perfectly on outlook 2003 but on the .vcs files of outlook
> 2007 it... |
| actuall what i want to do |
Sue Mosher [MVP-Outlook] |
0 / 2 |
15 Jan 2008 |
| See Ken's response to your earlier post.
As for the display, Outlook provides no "nearer to the subject field" area. Perhaps you could handle it with a toolbar.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Dinesh" <Dinesh@discussions.microsoft.... |
| read email header of an email (urgent) |
Ken Slovak - [MVP - O... |
0 / 2 |
15 Jan 2008 |
| In Outlook 2003 and earlier there is no object model way to get at
PR_TRANSPORT_MESSAGE_HEADERS (the Internet headers). The problem is
compounded by the fact that managed code is not supported when using either
CDO 1.21 or Extended MAPI, two API's that do allow you to get at
PR_TRANSPORT_MESSAGE_HEADERS.
You'd have to use a COM wrapper around MAPI such as the 3rd party Redemption... |
| How to save emails as PDF files |
Ken Slovak - [MVP - O... |
0 / 2 |
15 Jan 2008 |
| If you use the Outlook item.Print method it can only print to the default
system printer and usually you have to set that before Outlook starts to
make it work correctly. I don't know Adobe automation but the problem would
be to not print and somehow get an output to Adobe.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007... |
| Building Interop for multiple office versions |
Chris Miller |
2 / 3 |
11 Jan 2008 |
| Thanks, I will report what I find. Unfortunately end users still have 97
installed !!... |
| User defiend field must be not visible for the users |
Ken Slovak - [MVP - O... |
0 / 4 |
10 Jan 2008 |
| Yes. Any code that reads or writes to that named property would require
either CDO or Redemption to be installed. You can't do what you want
strictly using the Outlook object model except with Outlook 2007.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.... |
| ItemChanged event fired on every PC when shared calendar item is c |
Ken Slovak - [MVP - O... |
0 / 2 |
09 Jan 2008 |
| Well, the code is doing what it should be doing on each machine, responding
to a change event.
In general any attempt to write a flag to an item to indicate that it was
already handled will fire further change events. I usually use one of 2
approaches for cases like this:
Designate one machine as "admin" and that one only handles the event. That
can be made more bullet-proof by a... |
| my sister and a dog humping |
yenc@yenc-news.co.uk |
0 / 1 |
09 Jan 2008 |
| ... |
| Subject: Outlook - Choose root folder then delete all subfolders n |
Michael Bauer [MVP - ... |
0 / 2 |
08 Jan 2008 |
| You might modify the CreateFolderSetInSubFolders procedure. This shoudl
delete every subfolder of the selected root folder.
Dim i&
Dim Folders as Outlook.Folders
' ... select root folder here
Set Folders=objRootFolder.Folders
For i=Folders.Count to 1 step-1
Folders.Remove i
Next
--
Best regards
Michael Bauer - MVP Outlook
Synchronize Outlook Categories:... |
| Add item to default calendar |
Ken Slovak - [MVP - O... |
0 / 2 |
07 Jan 2008 |
| Set olAppt = olFolder.Items.Add(olAppointmentItem)
With olAppt
.Start = whatever time/date you want
.End = whatever time/date you want
.AllDayEvent = False
.BusyStatus = olFree
.ReminderSet = False
.Save
End With
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders,... |
| Contacts with detail view Titel bar |
Sue Mosher [MVP-Outlook] |
0 / 2 |
05 Jan 2008 |
| In the Field dialog for that view's settings, see what field is listed first. That is the field that appears in the title bar. Either change the first field to something else or, in your code, set the value for that field.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.... |
| Outlook contacts: "user defined folderfields??" to make public under "user de... |
Werner Fabender |
0 / 3 |
05 Jan 2008 |
| On Sat, 5 Jan 2008 10:54:38 -0500, "Sue Mosher [MVP-Outlook]"
<suemvp@outlookcode.com> wrote:
Hello Sue,
thanks a lot, its working.
.Save this was what it make working.
Werner
>> 1. What is wrong with this code or did I forgotten something?
>
>You may have forgotten 2 things: I don't see any Kontakt.Save statement =
>to save the contact after you add a custom field to it.... |
| Get selected text from the reading pane (preview pane). |
JRB |
0 / 3 |
04 Jan 2008 |
| OK I finally got to "hack" my way to what I needed to do: force a "Ctrl-c" so
the application will copy the selected text to the clipboard and then I can
retrieve the string from the clipboard.
Here is what I coded in C# (I am sure the objects are the same in VB and VBA):
// Remember what the clipboard was before.
IDataObject currentClipboardData = Clipboard.GetDataObject();
// Send... |