Hello Anj,
One question that I have for you - you said "While saving the
infopath forms to the sharepoint library we need to ByPass the Save Dialog
Box". Does this mean you are trying to By pass the Save Dialog Box while
closing form after submit? If I am correct then please follow these steps:
1. Open the template in Design mode.
2. Go to Tools -> Form Options.
3. Go to "Open and Save" tab in Form Options.
4. Uncheck "Save and Save As" check box.
5. Save changes to the design template.
Result: “Do you want to save changes†message box is not displayed on close.