This documentation is archived and is not being maintained.

_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

Dim _Application1 As _Application

Dim returnValue As String
returnValue = _Application1.StartupPath

Dim sampleValue As String
_Application1.StartupPath = sampleValue

string StartupPath {get; set;}
public System.String get_StartupPath();
public void set_StartupPath(System.String);
function get StartupPath() : String;
function set StartupPath(String);

Templates and add-ins located in the Startup folder are automatically loaded when you start Microsoft Word.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms