.Net & SharePoint '07

Technical blog for .Net and all SharePoint 2007 related Information

About the author

Me(Prince) and my wife are B.E in I.T & C.S.E respectively.  I a certified MCPD: Web from 2007 Dec. I am Intrestes in Web Application, MOSS, EPM, etc.
Now working with Deira International School, as IT Application & Help Manager. I have started my career as "Software Developer" @  REACH Sewn Technologies and Consulting Pvt. Ltd, Bangalore India from Oct 2004 to Feb 2006, then as "Web & Intranet Developer" @ Fosroc International Ltd, Dubai from April 2006 to Sep 2009.
You can catch me on mail@jpy-tech.com or mail@princepy.com. Or on 00971 - 50 - 4284530 

Google Translate

Tag cloud

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar

RecentComments

Comment RSS

Google Your Location


Create a Save As dialog box in InfoPath

Just pop the following code into your VSTO project for the button click event.

FileDialog oDialog = new SaveFileDialog();
oDialog.DefaultExt = "xml";
oDialog.Filter = "InfoPath Form (*.xml)*.xml";
if(oDialog.ShowDialog() == DialogResult.OK)
{
string sFilename = oDialog.FileName;
this.SaveAs(sFilename);
}


Categories: Infopath 2007 | VSTOS
Posted by admin on Thursday, December 04, 2008 10:39 AM
Permalink | Comments (3) | Post RSSRSS comment feed

Comments

Rodney

Saturday, July 11, 2009 5:36 AM

Useful post - Just subscriped to your RSS feed.. Thanks

James

Saturday, July 11, 2009 2:30 PM

Nice blog, just bookmarked it for later reference

Jon Mercer

Sunday, July 19, 2009 6:27 PM

I conclude blogging about this matter actually helps some people. I'm maintaining a blogabout anxiety and panic disorder myself. I see you are doing the same but still a tiny difference! Are you using microsoft blogengine by the way? It actually looks attractive. Take Care, Debra Trotter