A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

insert text into current position of pointer in mailcompose



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 12th 10, 11:23 AM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default insert text into current position of pointer in mailcompose

hi all. i built a ribbon xml which has a combobox. i want whenever i choice a item in combobox, the label will automatically insert into current position of pointer in mailcompose. what should i do? thanks ! i use c# 2008 and outlook 2007

Last edited by khoick245 : April 12th 10 at 11:25 AM.
Ads
  #2  
Old April 15th 10, 08:06 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP][_4_]
external usenet poster
 
Posts: 552
Default insert text into current position of pointer in mailcompose

Use Inspector.WordEditor to return a Word.Document object, then use Word
methods like Range.InsertAfter to insert the text.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"khoick245" wrote:


hi all. i built a ribbon xml which has a combobox. i want whenever i
choice a item in combobox, the label will automatically insert into
current position of pointer in mailcompose. what should i do? thanks !
i use c# 2008 and outlook 2007




--
khoick245
.

  #3  
Old May 5th 10, 11:26 AM
khoick245 khoick245 is offline
Junior Member
 
First recorded activity at Outlookbanter: Mar 2010
Posts: 10
Default

Hi Sue. i have a 'Help' button on xml ribbon. when i click on this button, the 'help.chm' file will show independently in the current inspector. what should i do? thank you so much. i'm sorry to trouble you

Quote:
Originally Posted by Sue Mosher [MVP][_4_] View Post
Use Inspector.WordEditor to return a Word.Document object, then use Word
methods like Range.InsertAfter to insert the text.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"khoick245" wrote:


hi all. i built a ribbon xml which has a combobox. i want whenever i
choice a item in combobox, the label will automatically insert into
current position of pointer in mailcompose. what should i do? thanks !
i use c# 2008 and outlook 2007




--
khoick245
.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Exchange / Outlook 2003 How to lock the position of text and emailswithin an email? QH Outlook - General Queries 1 September 22nd 09 09:36 PM
get current position in message body of mailitem sd[_2_] Add-ins for Outlook 8 August 28th 09 03:27 PM
current cursor position in the reply event Nagaraj Add-ins for Outlook 1 March 11th 09 02:10 PM
how can I insert text file's text into my email in outlook 2007 Henry Fung Outlook - General Queries 9 July 14th 08 04:05 AM
insert as text (to insert html into email body) Iona Outlook - General Queries 1 July 13th 06 01:10 PM


All times are GMT +1. The time now is 12:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.