DBWSelectDir

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > UserInterface >

DBWSelectDir

Description

Shows a directory dialog box interface.

Syntax

Function DBWSelectDir(Root, TitleMsg)

Parameters

Root

Show Open dialog box

TitleMsg

Show Save As dialog box

selectdir

Return values

The function returns a string containing the entire path file except of the last backslash "\"

Example

rootdir="c:\program files\dbworks"
TitleMsg ="Select a dir for MechworksPDM"
msgbox DBWSelectDir(rootdir, TitleMsg)