_Application.StartupPath Property
Returns or sets the complete path of the startup folder, excluding the final separator.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim _Application1 As _Application
Dim returnValue As String
returnValue = _Application1.StartupPath
Dim sampleValue As String
_Application1.StartupPath = sampleValue
Syntax
Property StartupPath() As String
string StartupPath {get; set;}
property String^ StartupPath{
String^ get();
Void set(String^);
}
public System.String get_StartupPath();
public void set_StartupPath(System.String);
function get StartupPath() : String;
function set StartupPath(String);
Remarks
Templates and add-ins located in the Startup folder are automatically loaded when you start Microsoft Word.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
_Application Interface
Microsoft.Office.Interop.Word Namespace