I get the exception on this line:
If objSaveFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
Thanks