Group:  Microsoft Outlook ยป microsoft.public.outlook.program_vba

Threads Replies Last Post
119 Pages: <<  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  >>  
Outlook View Control: Viewctl
I'm using the Outlook ActiveX View control in a VB app and I can't see how to get it to seek to a specified Email. What my customer wants is for my app to sync its Outlook View Control to whatever email they're currently on in MS Outlook. I can see how to create a MailItem object for the one they're on in Outlook, but I can't see any method of the View control to go to the same email. ...
3 3/13/2007 5:24:20 AM
.NET access to PR_ATTACH_DATA_BIN
Does anyone have c# or vb.net code which can retrieve the PR_ATTACH_DATA_BIN property from an IAttachment? Actually, it would be best if there was some code that could get this value given an Outlook.Attachment.MAPIOBJECT....
2 3/12/2007 10:39:06 PM
cannot mount Recovery storage group
I get an error after dismounting the recovery storage group. The error c104173c the information store is busy This in exchange server 2003....
1 3/12/2007 9:11:43 PM
before folder move event
Hi, I'm using the event : MAPIFolderEvents_12_BeforeFolderMoveEventHandler with Outlook 2007 to detect if the user is deleting the current folder. Is there an equivalent for Outlook 2003 ? Thanks, David...
2 3/12/2007 2:01:04 PM
Macro works in Word 2007, but not in Outlook 2007
For years I used a macro in Outlook Xp which I recorded in Word XP. I think it had something to do with th fact that in that program Word was my email editor. The same macro now works in Word 2007 as it should, but when I try to run it in Outlook 2007 I get a "Runtime error 424. Object required" error warning. I have never written a macro, I merely recorded the last one, so please be gen...
14 3/10/2007 11:30:32 PM
Changing keyboard bindings in Outlook 2007 editor?
For a while now I've used the following VBA package that provides Emacs-style key bindings in Word: http://www.rath.ca/Misc/VBacs/ This no longer seems to work in the Outlook 2007 editor, which I understand is based on Word 2007 but implemented through some dll "stub" (although I also have the "full" Word 2007 installed). After running filemon (from systinternals) it seems that the Ou...
1 3/10/2007 5:50:05 PM
Access VBA - Get Outlook Email Address or UserName
I am building a front end to a database in Access 2000, and want to ping Outlook for the current user's User Name or email address. Either will work, and I assume they are essentially the same thing, just the address has the @company.com attached to the end. If it is possible to do this with Outlook closed, then that would be ideal, however I can work with solutions that require Outlook...
3 3/9/2007 3:05:05 PM
How to include mulitple meeting attendee via VBA?
Hi, I am using ACCESS 2002 and Outlook 2000. I need to setup a meeting appointment with mulitple attendees. Such as strRecipients = "Joe Lee; Adam West; Jane White". But, I can't get the name separator to work correctly. I've tried comma but, all still just show as one attendee. Please help! 'ADD ATTENDEE Dim oRecipt As Outlook.Recipient Dim strRecipients As String ...
2 3/9/2007 2:09:49 PM
Convert Outlook folders to Adobe pdf
Not sure if this is the correct forum but anyway, I have tried various other forums and no one has an answer for me (not even Adobe support). I use Windows XP Professional SP2, Office 2003 SP2. Acrobat Prof Ver 8. In Outlook 2003 you have the Create Adobe PDF from folders icon after installing Acrobat. When you convert your SENT ITEMS to a pdf and it opens in Acrobat your different mail items...
2 3/9/2007 6:45:51 AM
How do you change Outgoing mail server (SMTP) in Outlook 2003 with VBA?
Hi there So I work in many locations and every place I visit I have to change the smtp settings for the outgoing mail server. I'm not bad with Excel VBA but I can't seem to find anything in the Outlook VBA help that covers this. Can anybody point me in the right direction please so I can write a simple macro to automate this task for me? Thanks a lot Lloyd ...
2 3/9/2007 6:39:07 AM
Change SenderName Property
Hello, I'm trying to change the "SenderName" of a message but Outlook-VBA tells me that the property "SenderName" is write protected. Is there any way to change it? What I'm trying to do: I've got a couple of e-mails with different Sender Names sent from the same e-mail address. I would like to sort these by sender. But in order to do so they need to have the same Sender Name..........
2 3/9/2007 6:37:15 AM
Auto BCC
I can use VBA enough to get myself in trouble. Can someone help me automatically add my own email address to the BCC field and mark a message I send with a follow-up flag? I would rather it be something I can choose after I star an email because I may not always want to do this. I do, however, want to save myself some work when I want to do this. One macro (that I'll assign to a butt...
2 3/9/2007 6:31:15 AM
Disabling Error Messages
I have an external application that is trying to use the Outlook Application Object, using Outlook 2003, to 'blindly' send emails, as this runs automatically without user intervention. I get the pop up box that says Outlook is trying to automatically send email on my behalf, with the 5 second delay. I do not want this box to appear. I want the mail to be sent automatically, without th...
2 3/8/2007 8:02:01 PM
Drillthrough from Excel
We have a Analysis Services 2000 cube and we need to drillthrough to this cube... The code we use is from this source,(a microsoft site) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnexcl2k2/html/odc_xlextendolap.asp The code mentioned here applies to Analysis Services 2000 and Excel 2002 When we use this code, to drillthrough..on doing a multiselect in the p...
2 3/8/2007 8:00:14 PM
Get PST file path string
I found the following Outlook code from an MVP to get the path/names of the pst files in use and write the results to the immediate window. However, I'd like to write the results to a text file instead (preferably with the username as part of the filename); for example: C:\data\jdoe.txt or if not just C:\data\olPST.txt. Thanks in advance for your assistance. Sub EnumStorePaths() '...
9 3/8/2007 7:14:38 PM
80004005 on Busy System.
I have a REXX script that processes the contents of a folder. While processing an Outlook folder, I randomly receive an 80004005 code. It almost always occurs trying the retrieve the body of an email. It also seems to be totally random. I could run the program twice in a row and get a different number of errors against different emails. After further experimentation, I found that the er...
6 3/8/2007 4:39:58 PM
Outlook 2003 Reply to All with message
Here is the code I copied from Microsofts site but it never fires Function Item_ReplyAll(ByVal myResponse) myMsg = "Do you really want to reply to all original recipients?" myResult = MsgBox(myMsg, 289, "Flame Protector") If myResult = 1 Then Item_ReplyAll = True Else Item_ReplyAll = False End If End Function Any ideas?? I'm sure I'm not the only one t...
3 3/8/2007 2:40:01 PM
Access to OST folder when online
Hi, is there a possibility to access an OST Folder, when in Online Mode? I've the problem that user create appointments in offline mode, when online he starts a Outlook Addin which synchronizes the calendar with an external application, to find the new items I use the object model (namespace, folder...) but here I get only the the entries from the exchange server not the entries from the O...
2 3/8/2007 1:38:14 PM
Extract sender of emails email address
Hi, I've got the code below which extracts the subject and senders name of emails in a specific folder, however, when I ask for SenderEmailAddress, it is returning something like, /O=HAYS/OU=HAYS ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=NXPEA which i'm guessing is the internal reference for the person. How do I amend the code so that I get their actual email address? ie joe@amp.com.au....? ...
4 3/8/2007 5:53:05 AM
Need help with auto reply based on text in body
Okay, I have looked through the rules in outlook 2000, 2003 and 2007 and can not find anything that lets me "auto send" mail based off of an email that will be in the body of the email recieved. Ebay sends us an email stating that blahblahblah@isp.net has won the auction and to contact him with payment info, but the reply to address is the @ebay.com address. I could have swore there was a...
3 3/8/2007 5:15:15 AM
Restricting appointments in a user's calendar folder using RDO
Hello My assignment is as follows: -I need to retrieve user appointments in a given timespan from Exchange. Due to performance issues I need to be able to restrict the folders containing appointments server side. -I currently log on to Exchange using RDOSession, under an account created specially for this purpose. My question is: -How can I restrict the appointments in a given user's...
3 3/7/2007 8:46:40 PM
(VSTO SE) <folder>.Items.ItemAdd Event does not fire
This is a multi-part message in MIME format. ------=_NextPart_000_003C_01C76007.FB5137F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to handle the ItemAdd event on a number of folders under my = default mailbox in Outlook.=20 I find the Event fires for a while and then stops. Can anyone help = explain why? =20 The foll...
6 3/7/2007 8:41:46 PM
Code to switch from Outlook as editor to Word and back
I am not a programmer. I know how to create macros in Word (by recording) but not Outlook. I'm using Outlook 2003. The only time I want to use Word as my email editor is when I need to create a hyperlink to a file using a simple browse. I'd like to be able to quickly switch from Outlook as editor to Word, then back. Has anyone seen any code to do this? And if you send me the code, ...
4 3/7/2007 3:42:08 PM
Change format of a mail back to text-only
Hi all, maybe someone can help me. I stumbled over an (obviously well known) problem in Outlook 2000. The plan is to write a macro that adds some text at the end of every mail before sending the mail. When I modify the "Item.Body" of a plain-text mail, the format changes to Rich text. Although the mail is sent out as plain text, it is stored as RTF in the "Sent items"-folder. To get the...
3 3/7/2007 8:29:08 AM
Toolbar Developmetn
How can i develop a Toolbar for browsers from scratch? any inputs? ...
2 3/7/2007 6:23:28 AM
119 Pages: <<  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  >>  

Home | Search | Terms | Imprint
Newsgroups Reader