VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Return various directories including desktop, programs, personal, favorites, start menu, fonts, etc

Anonymous  (267 Submissions)   Windows System Services   Visual Basic 4.0 (32-bit)   Unknown Difficulty   Mon 28th December 1998   Mon 8th February 2021

Return various directories including desktop, programs, personal, favorites, start menu, fonts, etc.

API Declarations


sfidDESKTOP = &H0
sfidPROGRAMS = &H2
sfidPERSONAL = &H5
sfidFAVORITES = &H6
sfidSTARTUP = &H7
sfidRECENT = &H8
sfidSENDTO = &H9
sfidSTARTMENU = &HB
sfidDESKTOPDIRECTORY = &H10
sfidNETHOOD = &H13
sfidFONTS = &H14
sfidTEMPLATES = &H15
sfidCOMMON_STARTMENU = &H16
sfidCOMMON_PROGRAMS = &H17
sfidCOMMON_STARTUP = &H18
sfidCOMMON_DESKTOPDIRECTORY = &H19
sfidAPPDATA = &H1A
sfidPRINTHOOD = &H1B
sfidProgramFiles = &H10000
sfidCommonFiles = &H10001
End Enum

Public Declare Function SHGetSpecialFolderLocation Lib "shell32" (ByVal hwndOwner As Long, ByVal nFolder As SpecialFolderIDs, ByRef pIdl As Long) As Long
Public Declare Function SHGetPathFromIDListA Lib "shell32" (ByVal pIdl As Long, ByVal pszPath As String) As Long

Public Const NOERROR = 0

Rate Return various directories including desktop, programs, personal, favorites, start menu, fonts, etc (2(2 Vote))
Return various directories including desktop, programs, personal, favorites, start menu, fonts, etc.bas

Return various directories including desktop, programs, personal, favorites, start menu, fonts, etc Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters