<?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: global variables in an browser-compatible infopath form</title><link>https://www.infopathdev.com:443/forums/thread/30117.aspx</link><pubDate>Sat, 05 Jul 2008 14:17:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30117</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30117.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=30117</wfw:commentRss><description>&lt;p&gt;Hello:&lt;/p&gt;

&lt;p&gt;There are no global variables in C#. For some discussions on this and ways to use static variables and methods, see these links:&lt;br /&gt;
&lt;a href="http://www.daniweb.com/forums/thread49952.html"&gt;http://www.daniweb.com/forums/thread49952.html&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://forums.msdn.microsoft.com/es-ES/csharpgeneral/thread/a3bcf89f-2ce0-42b8-a6b5-d47e3ea63bd2/"&gt;http://forums.msdn.microsoft.com/es-ES/csharpgeneral/thread/a3bcf89f-2ce0-42b8-a6b5-d47e3ea63bd2/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For more information on the FormState property:&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.formstate.aspx"&gt;http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.xmlform.formstate.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>global variables in an browser-compatible infopath form</title><link>https://www.infopathdev.com:443/forums/thread/30094.aspx</link><pubDate>Fri, 04 Jul 2008 10:36:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30094</guid><dc:creator>sweta</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=30094</wfw:commentRss><description>&lt;p&gt;Can anybody&amp;nbsp;give me an example of&amp;nbsp;how to declare a global variable in VSTA code(c#) using FormState Property.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>