I was looking for a way to control the displayed actions inside InfoPath
toolbar depending on the current view, thin I found this good article which
is seams to be going to help me on solving my problem, I realized through
this simple article that I can remove the toolbar from the views and I can
access it functionality by using custom buttons, and that is very wonderful,
but the problem that I face right now is very strange, that I cannt access
ActiveWindows from application object as it displayed in the article. For
more information about my problem please visit the following link I already
post my question there
http://forums.microsoft.com/forums/ShowPost.aspx?PostID=2781642&SiteID=1
The article link
http://blogs.msdn.com/infopath/archive/2004/04/19/116314.aspx
I have been created a very simple InfoPath form that contain a button and I add a custom code to it that I gonna use it to call my code, so you can see how exactly I’m trying to do it, so you can notice the problem on it, and if you can create a very simple example that solve the same problem please, you can send it for me at the following E-mail address [email protected], to download my example please enter the following link, and thanks you very muchhttp://jazmawi.com/InfoPath/Test.zip