Hello, I have a problem to export an InfoPath-form to pdf If the form is filled out, I want to make a pdf-file of it with an onclick-butten-event. here is the code that I use: Sub print_OnClick(eventObj) Me.CurrentView.Export("C:\MyView.pdf", ExportFormat.Pdf) //VB-Code 'XDocument.View...