开发者

How can I programmatically find the Windows Fax Personal CoverPages folder?

I'm trying to find the Windows Fax "Personal CoverPages" folder from my application.

On my Win7 machine, it's C:\Users\USER\Documents\Fax\Personal CoverPages

But Windows Fax also comes with XP and Vista Ultimate. I'm pretty sure their folders wouldn't be in the same place.

Is there any way for me to find this folder from my C# code? I'm already using FAXCOMEXLib Interop to send faxes开发者_StackOverflow社区 and I'm trying to find a way to easily look at the user's coverpages.


This should work:

var coverPagePath =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments),
"Fax\\Personal CoverPages");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜