<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How to select a single word?</title><link>https://www.infopathdev.com:443/forums/thread/41501.aspx</link><pubDate>Sun, 10 May 2009 14:38:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:41501</guid><dc:creator>westman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/41501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=41501</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m trying to create a thesaurus in my locale language. here&amp;#39;s the situation:&lt;br /&gt;&lt;br /&gt;example: my form contains a few text box, (named to tboxA, tboxB, tboxC and tboxD) and other controls. I&amp;#39;ve created my own custom toolbar that contains the thesaurus button. So, let say, a user type a sentence such as&amp;nbsp; &amp;quot;I like to drive and speeding!&amp;quot; in tboxA. and then the user want to search other word that have the same meaning as &amp;quot;like&amp;quot;. So user highlight or put the mouse cursor on &amp;quot;like&amp;quot;. How do I proceed from this point? what method should I use to get the selected word? Any example codes?&lt;/p&gt;
&lt;p&gt;Second question; If a user type &amp;quot;I want to fly&amp;quot; in tboxC and user want to&amp;nbsp;use the thesaurus. How do I get the&amp;nbsp;current cursor position(which is in tboxC) and retrieve the selected word?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you for any help.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;BTW, I&amp;#39;m using VB and visual studio 2005. infopath version is 2007.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>