ThreadLast AuthorMessages
read/total
Date
Speed of VBA move vs manual move, for emails moved to Public Folders
Ken Slovak - [MVP - O...
0 / 2 08 Feb
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
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
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
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
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
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
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
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
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
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
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
...
Getting Custom Image with the control text.
Ken Slovak - [MVP - O...
0 / 2 30 Jan
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
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
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
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
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
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
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
0 / 2 26 Jan
Hello, it was my mistake. regards Werner...
Archiving the Task Folder
Brian Tillman
0 / 4 25 Jan
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
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
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
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
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
"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
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
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
<HTML> <HEAD> <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control"> <TITLE></TITLE> </HEAD> <BODY> <P>&nbsp;</P> </BODY> </HTML>...
Working with appointments - parameter not found
Michael Mueller
0 / 3 18 Jan
> > 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
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
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
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
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
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
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
0 / 3 11 Jan
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
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
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
...
Subject: Outlook - Choose root folder then delete all subfolders n
Michael Bauer [MVP - ...
0 / 2 08 Jan
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
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
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
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
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...
How to search a contact in Outlook via firstname, lastname, phonenumber.
Ken Slovak - [MVP - O...
0 / 2 04 Jan
Get the Items collection of the folder where the contact is and use the Restrict method to limit an Items collection to only those contacts that meet your criteria. Look at the Object Browser help on Restrict to see how to construct your restriction using the FirstName, LastName and the phone number fields. There are 17 different phone fields in an Outlook contact so make sure you...
Script to change the date of mails in a specific folder
Ken Slovak - [MVP - O...
0 / 4 04 Jan
I have no idea how the tool you used does the conversion or if it does it correctly or modifies things or loses any properties. Since I don't use Thunderbird at all I couldn't even test what happens. In general if you have data in a PST file and you open that PST, select items in a folder and copy or move them to your mailbox there should be no loss of properties. If those items...
event notification when compose/reply page/form open
Ken Slovak - [MVP - O...
0 / 4 03 Jan
There is absolutely no difference in the Outlook 2003 and 2007 objects models related to Explorer CommandBars. I haven't had to modify one line of my code for Explorer UI to let it run correctly in Outlook 2007. Inspectors are a different story, there things have changed with the Ribbon. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming...
Prompt the SELECT NAMES box from another Office application us
Sue Mosher [MVP-Outlook]
0 / 11 03 Jan
CreateObject("MAPI.Session") would create a CDO 1.21 session, which would be subject to Outlook security prompts and has no access to Outlook's basic Explorer and Inspector UI objects. Those objects are available only if you use CreateObject("Outlook.Application") to instantiate an Outlook session. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming:...
How to prompt the “Insert item (as an attachment)” dialog with MAP
LuisE
0 / 1 02 Jan
I’m able to open the address book but I can’t find the way to open the dialog in reference. Thanks in advance...
All times are in (US) Eastern Daylight Time (GMT -4:00)