<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Active X Control</title><link>https://www.infopathdev.com:443/forums/thread/12461.aspx</link><pubDate>Wed, 08 Jun 2005 15:37:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12461</guid><dc:creator>christophe</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12461.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12461</wfw:commentRss><description>Hi all, &lt;br /&gt;&lt;br /&gt;I have written C# code into my infopath form which allows the user to browse document and replace the section (entire DOM node) in which is the button.&lt;br /&gt;&lt;br /&gt;Since I want to use this feature in other forms without copy and paste code, I want to transform it in an activeX control. The point is that in order to be able to replace the section, I need the "DocActionEvent e" reference in my active X control. And I don't know how to pass it to the control.&lt;br /&gt;&lt;br /&gt;Does anybody have an idea of how to do that ? Or a simpler way to program this feature ?&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br /&gt;&lt;br /&gt;Christophe</description></item></channel></rss>