I use Infopath 2007 with c# code.
I need to get a URI (if xml is opened from web) or filepath (if xml is opened from the harddrive) of the currently opened xml infopath document. How can I do that?
I need a URI to find out whether xml file were opened from the filesystem or from the web, so my code can act dirfferently depending on that.