Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[COLOR=blue]Option Explicit
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Private Const LB_ADDSTRING = &H180
Private Sub GetHiddenFolders(myDirListBox As DirListBox)
Dim myFolder As Object
Dim strPath As String
Dim Hidden As Long
Hidden = 2
With CreateObject("scripting.filesystemobject")
For Each myFolder In .GetFolder(myDirListBox.Path).SubFolders
If (myFolder.Attributes And Hidden) = Hidden Then
strPath = myFolder.Name
SendMessage myDirListBox.hwnd, LB_ADDSTRING, 0&, ByVal strPath
End If
Next
End With
End Sub
[/color]