Gets the name of the user who has the the specified document open.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetCurrentFileUser( _
ByVal FilePathName As String _
) As String |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim FilePathName As String
Dim value As String
value = instance.GetCurrentFileUser(FilePathName)
|
C++/CLI | |
---|
String^ GetCurrentFileUser(
& String^ FilePathName
) |
Parameters
- FilePathName
- Full path and filename of the document
Example
Visual Basic for Applications (VBA)
'-----------------------------------
Option Explicit
Dim swApp As SldWorks.SldWorks
Sub main()
Set swApp = Application.SldWorks
' Substitute your path and filename
Debug.Print swApp.GetCurrentFileUser("C:\temp\b&r.sldprt")
End Sub
'-----------------------------------
See Also
Availability
SolidWorks 2009 FCS, Revision Number 17.0