When I add a new filetype in VB6 under Win98 the associated icon won't show up when browsing files, not even after pressing F5, only after restarting will the proper icon be displayed how can I alleviate this.
Printable View
When I add a new filetype in VB6 under Win98 the associated icon won't show up when browsing files, not even after pressing F5, only after restarting will the proper icon be displayed how can I alleviate this.
Code:'In declarations
Declare Function SHChangeNotify Lib "shell32.dll" (ByVal wEventID As Long, ByVal uFlags As Long, ByVal dwItem1 As String, ByVal dwItem2 As String) As Long
Private Const SHCNE_ASSOCCHANGED = &H8000000
Private Const SHCNF_IDLIST = &H0
'To use
SHChangeNotify SHCNE_ASSOCCHANGED, SHCNF_IDLIST, vbNullString, vbNullString