<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SwitchView executes but no view switching</title><link>https://www.infopathdev.com:443/forums/thread/6691.aspx</link><pubDate>Tue, 19 Apr 2005 01:30:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6691</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6691.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6691</wfw:commentRss><description>IP's probably limiting this because it would lead to a flashing user interface.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: SwitchView executes but no view switching</title><link>https://www.infopathdev.com:443/forums/thread/6690.aspx</link><pubDate>Wed, 13 Apr 2005 10:27:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6690</guid><dc:creator>ScottAtRVC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6690.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6690</wfw:commentRss><description>Hi Shanthi.  Thanks for your reply.&lt;br /&gt;&lt;br /&gt;the code is very simple;&lt;br /&gt;&lt;br /&gt;public void Fax(string strFaxPrinterUNC)&lt;br /&gt;{&lt;br /&gt;  // Get the current view name.&lt;br /&gt;  string strOriginalView = thisXDocument.View.Name;&lt;br /&gt;&lt;br /&gt;  // Switch to the fax specific view.&lt;br /&gt;  thisXDocument.View.SwitchView(strOriginalView + "Fax");&lt;br /&gt;&lt;br /&gt;  &amp;lt;some copying and pasting of files&amp;gt;&lt;br /&gt;  &amp;lt;creating of a fax document&amp;gt;&lt;br /&gt;&lt;br /&gt;  // Faxing is complete.  Switch back to the original view.&lt;br /&gt;  thisXDocument.View.SwitchView(strOriginalView);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;any ideas?&lt;br /&gt;&lt;br /&gt;I did read a goodle post that states 2 SwitchViews cannot occur within the same unit of processing.  But there was no explaination as to why.&lt;br /&gt;&lt;br /&gt;Kind regards, Scott</description></item><item><title>Re: SwitchView executes but no view switching</title><link>https://www.infopathdev.com:443/forums/thread/6689.aspx</link><pubDate>Tue, 12 Apr 2005 14:25:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6689</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6689</wfw:commentRss><description>Can you paste the code? This may help us understand the problem better.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>SwitchView executes but no view switching</title><link>https://www.infopathdev.com:443/forums/thread/4620.aspx</link><pubDate>Tue, 12 Apr 2005 09:13:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4620</guid><dc:creator>ScottAtRVC</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4620</wfw:commentRss><description>Hi All.&lt;br /&gt;&lt;br /&gt;Within my task pane there is a fax button which faxes the form.&lt;br /&gt;The pressing of this button calls into managed code.&lt;br /&gt;&lt;br /&gt;The flow within the managed code method is;&lt;br /&gt;1. SwitchView to the Fax view.&lt;br /&gt;2. do all fax processing.&lt;br /&gt;3. SwitchView back to the original view.&lt;br /&gt;&lt;br /&gt;It is line 3 which exexutes fine but the view just does not switch.&lt;br /&gt;&lt;br /&gt;Any ideas?  Many thanks.  Scott</description></item></channel></rss>