|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > Document > DBWGetIdFromFullFileName |
Retrieves DocID and DocUid from full file name
Function DBWGetIdFromFullFileName(DirName, FileName, ByRef DocUid)
DirName |
directory name (the path) |
|---|---|
FileName |
name of the file |
The function assumes the value of the document ID
DocUid |
document unique id |
Function DBWGetIdFromFullFileName1
dirname = "c:\dirone\dirtwo\dirthree\"
filename = "test.sldasm"
docId = DBWGetIdFromFullFileName(dirname, filename, docUid)
msgbox docId & " with unique id = " & cstr(docUid)