<?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: Visual Basic.net</title><link>https://www.infopathdev.com:443/forums/thread/13884.aspx</link><pubDate>Tue, 01 Nov 2005 21:11:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13884</guid><dc:creator>nkelkar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13884</wfw:commentRss><description>2 Lines here&lt;br /&gt;&lt;br /&gt;thisXDocument.SetDirty(False)&lt;br /&gt;thisApplication.Quit(False)</description></item><item><title>Re: Visual Basic.net</title><link>https://www.infopathdev.com:443/forums/thread/13883.aspx</link><pubDate>Tue, 01 Nov 2005 02:00:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13883</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13883.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13883</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Try: thisApplication.ActiveWindow.Close(True)&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Visual Basic.net</title><link>https://www.infopathdev.com:443/forums/thread/12647.aspx</link><pubDate>Mon, 31 Oct 2005 14:47:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12647</guid><dc:creator>kipkaylor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12647</wfw:commentRss><description>&lt;br /&gt;    Trying to code a simple exit application thru a command button using visual basic.net. Can't find the proper code to execute properly. Any help would be much appreciated, relatively new to VB.net &amp; infoapth. Have a VB6 background.  Need a good code resource for using vb.net with infopath, any suggestions?    Thanks, Kip.&lt;br /&gt;Here's my Command button:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;		' The following function handler is created by Microsoft Office InfoPath. Do not&lt;br /&gt;		' modify the type or number of arguments.&lt;br /&gt;        &amp;lt;InfoPathEventHandler(MatchPath:="CTRL122_7", EventType:=InfoPathEventType.OnClick)&amp;gt; _&lt;br /&gt;        Public Sub CTRL122_7_OnClick(ByVal e As DocActionEvent)&lt;br /&gt;             &lt;br /&gt;&lt;br /&gt;           Unload app&lt;br /&gt;        End Sub&lt;br /&gt;    End Class</description></item></channel></rss>