<?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>Re: Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/13945.aspx</link><pubDate>Sun, 18 Mar 2007 22:31:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13945</guid><dc:creator>ngoj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13945</wfw:commentRss><description>You made it! I took sample from "InfoPath Team Blog"&lt;br /&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2006/12/18/creating-complex-infopath-controls-in-c-sharp.aspx&gt;http://blogs.msdn.com/infopath/archive/2006/12/18/creating-complex-infopath-controls-in-c-sharp.aspx&lt;/a&gt;&lt;br /&gt;and InfoPath 2003 crash in preview  (Bhuuuuaaaa)&lt;br /&gt;My C# control work properly as long as I don't try to implement InfoPathControl interface. If you could send me your code on Email.&lt;br /&gt;Thanks.</description></item><item><title>Re: Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/13944.aspx</link><pubDate>Tue, 15 Nov 2005 16:47:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13944</guid><dc:creator>jimbob</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13944.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13944</wfw:commentRss><description>Another possibility is that code in the function is failing to JIT (just-in-time compile).  You might try just an empty Init implementation, except just add a System.Diagnostics.Debugger.Launch() call.&lt;br /&gt;&lt;br /&gt;Jim Cantwell&lt;br /&gt;InfoPathDev - Redmond</description></item><item><title>Re: Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/13943.aspx</link><pubDate>Tue, 15 Nov 2005 08:47:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13943</guid><dc:creator>jimbob</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13943</wfw:commentRss><description>If the InfoPathControl::Uninit, InfoPathControl::SaveState and InfoPathControl::Enable implementations are getting called, I would suspect a problem with the InfoPathControl interface definition.  Are you importing the declaration, or using a hand roled definition of the interface?&lt;br /&gt;&lt;br /&gt;If you've hand crafted it, please post you code.&lt;br /&gt;&lt;br /&gt;Jim Cantwell&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/13942.aspx</link><pubDate>Tue, 15 Nov 2005 08:29:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13942</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13942.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13942</wfw:commentRss><description>Hi Gaurav Bhardwaj and welcome,&lt;br /&gt;I'm sorry for the delay. Jim is our ActiveX control guru. I'll ask him to respond.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/13941.aspx</link><pubDate>Mon, 14 Nov 2005 15:25:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13941</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13941.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13941</wfw:commentRss><description>It seems like you are being clear, but I have never used managed code with Infopath, and I have definitely never heard of the InfoPathControl class. I guess you are trying to make a custom ActiveX control? Anyway, sorry I can't answer your question - hopefully someone will stumble upon it that can.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;</description></item><item><title>Re: Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/13940.aspx</link><pubDate>Thu, 10 Nov 2005 04:54:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13940</guid><dc:creator>gauravbhardwaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13940.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13940</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;This was my third post to this forum but i could not get even a single answer. Are  my questions unclear or am I asking something illogical?&lt;br /&gt;&lt;br /&gt;Gaurav</description></item><item><title>Init Method of InfoPathControl object</title><link>https://www.infopathdev.com:443/forums/thread/12666.aspx</link><pubDate>Wed, 09 Nov 2005 10:03:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12666</guid><dc:creator>gauravbhardwaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12666.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12666</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I have created a custom control using C#. In the control class I implemeted Microsoft.Office.Interop.InfoPath.InfoPathControl interface which has four methods (Init,Uninit,SaveState,Enable). These methods are suppose to be called by InfoPath. Methods other than Init are getting called properly but Init is never called.&lt;br /&gt;&lt;br /&gt;Has anyone faced a similar problem?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Gaurav</description></item></channel></rss>