Hi!
I wrote a C# program to export the contents of infopath form to tab delimited text file, and by default it creates the text file in the /bin/debug directory from the C# source code. I want the file to be created in the same directory as the Infopath form itself, which in this case is the desktop. Is there a way to find this out in C#?
right now, the file is created here:
C:\Users\jcmoon\Documents\InfoPath Projects\DRAFT_Single Cost Center Form v1_With1\bin\Debug
I want the file to output in the same directory as the form that created it!
Thanks for any help!
James