I'm trying to add an InfoPath
button (similar to submit button) at the end of my form. I'll admit
I'm not the best with C# but I added the code below. But it gives the
error "Expression Expected" when I include the 2 "using
namespace" lines. Any help on this error or other ways to add a
simple Print button would be appreciated. (FYI, this is not published to
SharePoint, just a stand alone form.)
Public Sub btn_print_form_Clicked(ByVal
sender As Object,
ByVal e As
ClickedEventArgs)
using namespace System.Drawing;
using namespace System.Drawing.Printing;
this.print()
End Using
End Using
End Sub