I have the spell checker turned on within MS Outlook 2007 and when the spell checker appears when I send an email I would like the option to override the spell checker and send as is - I am sure this was an option in Outlook Express or previous versions. Thanks for your help.
sophie Messages: 11 Registered: March 2007 Location: NULL
Junior Member
thank you for your reply.
i will try.
"Ken Slovak - [MVP - Outlook]" wrote:
> Try using a task item instead of a task request item.
>
> --
> 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
>
>
> "sophie" <sophie@discussions.microsoft.com> wrote in message
> news:3E3ABF52-F4DC-4665-9559-ECC863B2971E@microsoft.com...
> >i used a sub developed in vb
> > Private Sub objOutlook_ItemSend(ByVal Item As Object, Cancel As Boolean)
> >
> > when "Cancel" is true, email edit window is not disappeared, but the task
> > request edit form is flashed then disappeared as well as the pop up
> > confirmed
> > window.
> >
> > any help will be appreciated.
> >
> > "sophie" wrote:
> >
> >> I am working on a outlook add-in which can pop up a window by sending
> >> email
> >> or task request.
> >> when i work on email sending, it is all right. it pop up a window and
> >> users
> >> can check some information. but when i work on task request in the same
> >> way,
> >> both the pop up window and task request window flash away in a very very
> >> short time.
> >> i don't know what is the reason. Does anyone can help me?
> >> thanks in advance.
>
>
jingo_man Messages: 1 Registered: October 2008 Location: NULL
Junior Member
Wayne - the link you provided simply takes me back to the "Outlook Program
Add Ins" discussion forum... any chance of resending the direct link please?
Fran or Wayne - if you could alternatively provide the solution here, that
would also be much appreciated. i reckon it might be to do with Office 2003
SP1..?
Re: adding button like encryption and signing information button [message #426070]
Tue, 07 October 2008 01:15
ramazan Messages: 6 Registered: September 2008 Location: NULL
Junior Member
Isn't there anyone know this?
Ramazan yazdı:
> Hi all,
> I want to add icon like encryption and sign info icons(buttons) in the
> note read form. In outlook microsoft shows sign info icon for signed
> emails right side of subject field.. How can i add similar icons to
> same where using inspector on to form.?
> Thank in advance
> Ramazan
You can't do that. You would have to use custom forms with custom message
classes and assign the icons you want to those custom message classes. The
actual window where those icons appear in the UI isn't exposed to you for
modifications.
Ramazan yazdı:
> Hi all,
> I want to add icon like encryption and sign info icons(buttons) in the
> note read form. In outlook microsoft shows sign info icon for signed
> emails right side of subject field.. How can i add similar icons to
> same where using inspector on to form.?
> Thank in advance
> Ramazan
sophie Messages: 11 Registered: March 2007 Location: NULL
Junior Member
I am working on an attachment problem. If there are some attachments in
email, then pop up a window before i send it. Then i can check the
attachments list. and preview the text by double click the name of the
attachment.
if I modify the attachment, in fact it modified a temp file. Then i try to
delete the original attachment and add the temp file as attachment again, so
that the modified attachment can be sent.
but, i have a problem. when i debugging the project, it works all right. The
attachment which have been modified has been sent. If i check it for two
times, that is double click the attachment for two times and preview it for
two times, then it works all right, the modified one is sent. but, if i click
the attachment for one time, then modify it, save it, and send the email, the
modified one is not sent.
There's no way to tell what's going on from that information. You will need
to show some of the code that you're using to do that, just the relevant
parts.
"sophie" <sophie@discussions.microsoft.com> wrote in message
news:D5D3E644-F6F2-4A9E-B4C8-D476D8981047@microsoft.com...
>I am working on an attachment problem. If there are some attachments in
> email, then pop up a window before i send it. Then i can check the
> attachments list. and preview the text by double click the name of the
> attachment.
>
> if I modify the attachment, in fact it modified a temp file. Then i try to
> delete the original attachment and add the temp file as attachment again,
> so
> that the modified attachment can be sent.
>
> but, i have a problem. when i debugging the project, it works all right.
> The
> attachment which have been modified has been sent. If i check it for two
> times, that is double click the attachment for two times and preview it
> for
> two times, then it works all right, the modified one is sent. but, if i
> click
> the attachment for one time, then modify it, save it, and send the email,
> the
> modified one is not sent.
>
> i don't know why.
>
> Any help will be appreciated.
>
Add Outlook (2007) folder above Inbox when using Cached Exchange M [message #426162]
Tue, 07 October 2008 10:05
Ryan Taylor Messages: 5 Registered: November 2006 Location: NULL
Junior Member
Hello,
I am using Outlook 2007 and am attempting to create and later reference a
folder above the Inbox folder. It turns out, that this code works perfectly
when the "Use Cached Exchange Mode" option is unchecked. When it is checked,
the code acts differently in two ways: 1, when looping through the folders,
my custom folder is not found (even though it exists), 2, since the folder is
not found, it attempts to create it, this create attempt fails with an
exception.
The exception is "System.Runtime.InteropServices.COMException (0x80020009):
Cannot create the folder.
at Microsoft.Office.Interop.Outlook.FoldersClass.Add(String Name, Object
Type)"
The code I use is below, basically all the code does is loop through the
list of folders directly above the inbox folder and if it finds our folder it
returns it, if our folder isn't found, then it is created and returned:
If anyone has any insight as to why I am seeing a difference between cached
exchange mode and non-cached exchange mode, I would greatly appreciate
hearing your thoughts!
RE: Add Outlook (2007) folder above Inbox when using Cached Exchange M [message #426163]
Tue, 07 October 2008 10:51
Ryan Taylor Messages: 5 Registered: November 2006 Location: NULL
Junior Member
Please disregard this question. It turns out my loop was wrong, I needed a
<=, instead of simply <. When comparing, it looks like my custom folder is
returned in a different in order depending on cached or non cached mode.
For non cached mode: it was returned 7th (out of 14)
For cached mode: it was returned 14th (out of 14th)
Thanks,
Ryan
"Ryan Taylor" wrote:
> Hello,
>
> I am using Outlook 2007 and am attempting to create and later reference a
> folder above the Inbox folder. It turns out, that this code works perfectly
> when the "Use Cached Exchange Mode" option is unchecked. When it is checked,
> the code acts differently in two ways: 1, when looping through the folders,
> my custom folder is not found (even though it exists), 2, since the folder is
> not found, it attempts to create it, this create attempt fails with an
> exception.
>
> The exception is "System.Runtime.InteropServices.COMException (0x80020009):
> Cannot create the folder.
> at Microsoft.Office.Interop.Outlook.FoldersClass.Add(String Name, Object
> Type)"
>
> The code I use is below, basically all the code does is loop through the
> list of folders directly above the inbox folder and if it finds our folder it
> returns it, if our folder isn't found, then it is created and returned:
>
> ====================================================
> private MAPIFolder GetCustomFolder()
> {
> MAPIFolder customFolder = null;
> NameSpace ns = _app.Session;
> MAPIFolder mapiFolder = ns.GetDefaultFolder(OlDefaultFolders.olFolderInbox);
> MAPIFolder parentFolder = mapiFolder.Parent as MAPIFolder;
> if (parentFolder != null)
> {
> Folders folders = parentFolder.Folders;
> // find our folder
> if (folders != null && folders.Count > 0)
> {
> for (int i = 1; i < folders.Count; i++)
> {
> MAPIFolder folder = folders[i];
> if (folder.Name == "test")
> {
> customFolder = folder;
> break;
> }
> }
> if (customFolder == null)
> {
> try
> {
> customFolder = folders.Add("test", OlDefaultFolders.olFolderInbox);
> }
> catch (Exception ex)
> {
> _log.Error(ex);
> }
> }
> Marshal.ReleaseComObject(folders);
> }
> Marshal.ReleaseComObject(parentFolder);
> Marshal.ReleaseComObject(mapiFolder);
> Marshal.ReleaseComObject(ns);
>
> }
> return customFolder;
> }
> ====================================================
>
> If anyone has any insight as to why I am seeing a difference between cached
> exchange mode and non-cached exchange mode, I would greatly appreciate
> hearing your thoughts!
>
> Thanks,
> Ryan
public static MailDocument Get(Outlook.MailItem mailItem)
{
MailDocument mailDocument;
documents.TryGetValue(mailItem.EntryID, out mailDocument);
return mailDocument;
}
}
}
NewInspector event handler is like this:
Outlook.MailItem current = inspector.CurrentItem as
Outlook.MailItem;
MailDocument mailDocument = MailDocument.Get(current);
mailDocument.Opening += new Action<MailDocument,
CancelEventArgs>(OnOpening);
Opening event is never invoked.
But, if I change these lines of code, event handler is invoked every time.
Outlook.MailItem current = inspector.CurrentItem as
Outlook.MailItem;
MailDocument mailDocument = new MailDocument(current);
mailDocument.Opening += new Action<MailDocument,
CancelEventArgs>(OnOpening);
Do you have an idea why this is happening? I noticed that in the default
Microsoft example is the same. Also, if I cancel a mail item default
inspector, it does shows for a part of second, so that a display is
flickering a little bit.
--
Nenad Dobrilovic
Re: .NET AddIn - Version 1.1 and 2 [message #426092]
Tue, 07 October 2008 06:01
jialge Messages: 1063 Registered: July 2007 Location: NULL
Senior Member
Good morning KeithM, nice to see you again.
For Office Add-in components that run in a computer installed with both .NET
runtime 1.1 and 2.0, the addins load with 2.0 unless the process is
configured to run against 1.1. This point is documented at http://msdn.microsoft.com/en-us/library/ms994381.aspx?ppud=4 as you may have
already noticed. In order to find out which framework version the code is
running against at runtime, may I suggest the following two solutions:
Solution 2. Check the runtime version with the tool: Process Explorer.
Process explorer can be downloaded at http://technet.microsoft.com/en-us/sysinternals/bb896653.asp x. We can use
the tool to view the DLLs loaded by a certain process, say Office process.
Because .NET 1.1 runtime loads 1.1 version of mscrowks.dll, and .NET 2.0
runtime's mscorwks.dll is 2.0, we can determine the current runtime
according to this version number. The detailed step list is:
1. start the Office application that loads our add-in
2. start process explorer
3. In the View menu of process explorer, select Lower Pane View -> DLLs.
4. In the Process list of process explorer, find the office process and view
its DLL list in the low pane.
5. find mscorwks.dll and look at its version.
Please try the above two solutions and let me know whether they are helpful
to you.
In addition, I'd like to share some other relevant materials with you that
might be useful:
1. How to configure Office application to run against .NET 1.1 runtime.
We can add a config file to the Office exe. Take winword as an example:
create a file named 'winword.exe.config' with the following content, and
place the file together with winword.exe.
<configuration>
<startup>
<supportedRuntime version="v1.1.4322" />
<supportedRuntime version="v1.0.3705" />
</startup>
</configuration>
For more readings, please refer to the article: http://msdn.microsoft.com/en-us/library/ms994410.aspx
2. What is the potential problems if we configure Office application to run
against .NET 1.1 runtime?
The potential problem is that, all the existing Office add-ins that rely on
..NET 2.0 runtime are very likely to crash (fail to be loaded) after we add
this config file.
By the way, I will not be available in the next three days due to a
training. My colleague will continue supporting you if you have any
follow-up questions.
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at: msdnmg@microsoft.com.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at http://support.microsoft.com/select/default.aspx?target=assi stance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
"KeithM" <KeithM@newsgroups.nospam> wrote in message
news:48ea072d$1_1@glkas0286.greenlnk.net...
> Hi,
> I have an office add-in written in C sharp and compiled against .NET v1.1
>
> If I install this addin to a machine running .NET frameworks 1.1 and 2.0,
> which framework will my add in run against?
>
> http://msdn.microsoft.com/en-us/library/ms994381.aspx?ppud=4 implies that
> it will run agianst the latest?
>
> Is there any code I can put in my addin to test and find out which
> framework version the code is running against?
>
> This is important because my code is part of a secure system and if it is
> now running against .NET 2.0 (installed by another app) then we may have
> to redo a large part of our testing.
>
> Thanks.
>
>
outlook add-in, calendar selection? [message #426110]
Tue, 07 October 2008 08:21
antoniona Messages: 1 Registered: October 2008 Location: Zagreb, Croatia
Junior Member
Hi,
I'm building an outlook add-in which should make it possible for users to
request a vacation using the outlook calendar. I'm opening a replacement
region for appointments in my new calendar folder, but I can't seem to get
the selected dates from the outlook calendar. I've been digging through the
outlook object model and I can get a reference to the calendarview, but the
startdate and enddate don't seem to be there, just the displayeddates. I know
i can get these dates if i use the built-in outlook forms designer and bind
controls to the Start and End fields, but i would really like to use my .NET
Outook form region. Can the calendar selection start and end dates be found
somewhere in the outlook object model?
Thanx,
Antonio
Re: Word 2007 Implementation of a Macro for a limited template set [message #426183]
Tue, 07 October 2008 12:12
Cindy M -WordMVP- Messages: 452 Registered: June 2006 Location: NULL
Senior Member
Hi Samuel,
> I used your second solution, tying it into Normal.dotm as I have some
> general tools there as well. Adding the Document_Close macro into Normal.dotm
> is an excellent solution as now I have all my code in one place. Maintenance
> nightmare solved.
>
Glad things are working - so far.
If I were you I would *not* keep all the code in Normal.dot. I would rather put
it in a template saved in the Startup folder, which will be loaded as a Template
Add-in. These are less prone to becoming damaged (and thus lost) than
Normal.dot.
If you do keep it in Normal.dot, be sure to make a file back-up whenver you
change the code so that you don't end up losing it!
Re: FindControl() - get menu item name [message #426184]
Tue, 07 October 2008 12:12
Cindy M -WordMVP- Messages: 452 Registered: June 2006 Location: NULL
Senior Member
Hi Nicu,
> I want to intercept the click and CTRL+SHIFT+S and CTRL+S in Microsoft Word.
>
> I'm using VSTO 2005 SE, Visual Studio 2005, .NET Framework 2.0 and Microsoft
> Office 2003.
>
I'm afraid this is going to be a problem. Keyboard shortcuts can only be
intercepted using a VBA procedure - they can't be mapped to code in an outside
project. You also can't intercept the "click" events of built-in control
buttons.
About the best you can do for Office 2003 is to trap the BeforeSave event.
Re: FindControl() - get menu item name [message #426185]
Tue, 07 October 2008 12:37
Nicu Messages: 7 Registered: October 2008 Location: NULL
Junior Member
Thank you for your reply!
I see, I will give it a try with the BeforeSave event then.
Regards,
Nicu
"Cindy M." wrote:
> Hi Nicu,
>
> > I want to intercept the click and CTRL+SHIFT+S and CTRL+S in Microsoft Word.
> >
> > I'm using VSTO 2005 SE, Visual Studio 2005, .NET Framework 2.0 and Microsoft
> > Office 2003.
> >
> I'm afraid this is going to be a problem. Keyboard shortcuts can only be
> intercepted using a VBA procedure - they can't be mapped to code in an outside
> project. You also can't intercept the "click" events of built-in control
> buttons.
>
> About the best you can do for Office 2003 is to trap the BeforeSave event.
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or reply
> in the newsgroup and not by e-mail :-)
>
>
Jason Messages: 260 Registered: July 2006 Location: NULL
Senior Member
Don't see services on the Tools menu.
"Russ Valentine [MVP-Outlook]" <russval@gmail.com> wrote in message
news:49E6D557-2994-492B-BA71-C7490D0D2352@microsoft.com...
> Remove the invalid entry here:
> Tools menu > Services > Highlight the Outlook Address Book service > Click
> Properties >
> --
> Russ Valentine
> [MVP-Outlook]
> "Jason" <JAllen@Hotmail.com> wrote in message
> news:O8qd8IbJJHA.4280@TK2MSFTNGP04.phx.gbl...
>> Using Outlook 97. The address book displays an error and there are no
>> contacts. However, if I use the second line of contacts (2 lines of
>> contacts after Outlook Address Book) the contacts are there. How do I
>> delete the first contacts line?
>>
>
include the content of a html file directly into a message body [message #426073]
Tue, 07 October 2008 03:17
silvana Messages: 2 Registered: October 2008 Location: NULL
Junior Member
I have an html file generated by our reporting system.
I would like to include the content of this html file directly into
the message body, not as an attachment...
How can I do? Where can i find a vbs-script? Or some other solution??