<?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: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15118.aspx</link><pubDate>Wed, 21 Feb 2007 21:55:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15118</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15118</wfw:commentRss><description>IP2007 uses "MainDataSource" instead of "thisXDocument"... You will need to pass in that.</description></item><item><title>Re: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15117.aspx</link><pubDate>Tue, 20 Feb 2007 18:14:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15117</guid><dc:creator>Biovox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15117.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15117</wfw:commentRss><description>2007</description></item><item><title>Re: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15116.aspx</link><pubDate>Tue, 20 Feb 2007 18:13:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15116</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15116.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15116</wfw:commentRss><description>Are you using the InfoPath 2007 or InfoPath 2003 object model? If you are using managed code in IP03, you should be very familiar with thisXDocument... therefore I'm assuming you are using IP07.</description></item><item><title>Re: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15115.aspx</link><pubDate>Tue, 20 Feb 2007 14:25:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15115</guid><dc:creator>Biovox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15115.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15115</wfw:commentRss><description>Where are you getting the thisXDocument from.  It's not in my availble list of objects with my current name spaces.  Also - I am using web only enabled features.</description></item><item><title>Re: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15114.aspx</link><pubDate>Tue, 20 Feb 2007 14:20:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15114</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15114</wfw:commentRss><description>Hi Biovox,&lt;br /&gt;&lt;br /&gt;We also have a Common class, which we are working up to release to the public before too long. Here's the steps we use:&lt;br /&gt;&lt;br /&gt;1. Add Common.cs to current InfoPath FormCode project.&lt;br /&gt;2. Change namespace in Common.cs to match that of the FormCode class&lt;br /&gt;3. Create a private global 'c' variable of Common type&lt;br /&gt;4. In OnLoad, call c.Init(x,y) where x is thisXDocument, and y is the string of all XML namespaces found in the form.&lt;br /&gt;5. When using common functions, call c.CommonFunction().&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15113.aspx</link><pubDate>Sat, 17 Feb 2007 19:04:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15113</guid><dc:creator>Biovox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15113</wfw:commentRss><description>I'm not completly sure.  Do classes have access to the datasources that the manifest document uses?</description></item><item><title>Re: Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/15112.aspx</link><pubDate>Fri, 16 Feb 2007 21:59:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15112</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15112.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15112</wfw:commentRss><description>Hi Biovox and welcome,&lt;br /&gt;Can you pass a pointer to your thisApplication or thisXDocument?</description></item><item><title>Dll / Class Access [C#]</title><link>https://www.infopathdev.com:443/forums/thread/13062.aspx</link><pubDate>Fri, 16 Feb 2007 18:17:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13062</guid><dc:creator>Biovox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13062.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13062</wfw:commentRss><description>I am creating a custom class which handles commonly used functions throughout multiple, seperate, forms.  I hope to simply be able to create this class once, drop it into a project, and be able to use the functionality of it.  Unfortunatly I don't seem to have access to the same objects that I do in my &lt;i&gt;FormCode&lt;/i&gt; code-behind.&lt;br /&gt;&lt;br /&gt;To eliminate some of the issues, I added references to all the data my main form is using, but I simply don't know how to access my main forms xml.  I'm not even sure what object, if any, I need to call to be able to use my main forms data sources.  I don't even have a DataConnections object availible.&lt;br /&gt;&lt;br /&gt;For instance, when the form initally gets loaded, I call a class which maps my data connections to certain fields.  Unfortuatly, there is functionality missing that would allow me to use a generic class.&lt;br /&gt;&lt;br /&gt;Does anyone have any experience with using custom classes/dll's within Infopath?</description></item></channel></rss>