ParentWindowHandleAsString
Gets the handle of the parent window as a string formatted using the InvariantCulture.
Compatibility
Available as of IDEA version 9.1.1
Syntax
ParentWindowHandleAsString()
Example
Option Explicit
'ParentWindowHandleAsString
Sub Main()
Dim objShell As Object
Set objShell = CreateObject("shell.application")
Dim objFolder As Object
Set objFolder = objShell.BrowseForFolder(SmartContext.ParentWindowHandleAsString, "Select a folder", ssfWindows)
If Not objFolder Is Nothing Then
FolderName = objFolder.Self.Path
Else
FolderName = ""
End If
MsgBox FolderName
End Sub