vsto - C# Outlook 2013 Addin Accessing Explorer -


is possible access explorer check existence of folders, , create folders if necessary outlook addin? if api/interface used outlook. mapifolder seems outlook folders.

thanks in advance

edit: clarify, i'm talking os folder not part of outlook. particular folders i'm speaking of on file server in domain. mapped users computer using addin. fact domain user , authenticated mean wont run issue when trying access filesystem addin?

you need use system.io.* class checking whether folder exists or not. example, exists method of directory or file classes system.io namespace determines whether given path refers existing directory/file on disk:

        if(file.exists(path))          {             // path file             processfile(path);          }                        else if(directory.exists(path))          {             // path directory             processdirectory(path);         }         else          {             console.writeline("{0} not valid file or directory.", path);         }         

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -