
Did you do a new 'install in PB IDE' ?
Otherwise Alt+F1 is mapped to the wrong function

Code: Select all
Procedure.s MyGetSpecialFolderLocation(val)
If Not SHGetSpecialFolderLocation_(0,val,@id)
path$=Space(#MAX_PATH)
SHGetPathFromIDList_(id,@path$)
If Not path$
Select val
Case #CSIDL_PROGRAM_FILES:var$="ProgramFiles"
EndSelect
If var$
path$=GetEnvironmentVariable(var$)
EndIf
EndIf
If path$
If Right(path$,1)<>"\"
path$+"\"
EndIf
EndIf
EndIf
ProcedureReturn path$
EndProcedure
Debug(MyGetSpecialFolderLocation(#CSIDL_APPDATA))+"PureBasic\"