Ok, I have the registry changed after making a usertype but it updates the icon and file type name AFTER A RESTART. There must be a way to update them immediately. Many apps do that, do any of you know?
Printable View
Ok, I have the registry changed after making a usertype but it updates the icon and file type name AFTER A RESTART. There must be a way to update them immediately. Many apps do that, do any of you know?
I'm probably just saying nonsense at random, but maybe this might work...
Then (it probably won't work but you might as well try) use this:Code:Option Explicit
Public Const HKEY_LOCAL_MACHINE = &H80000002 ' Use the key that you were writing to, instead!
Declare Function RegFlushKey Lib "advapi32.dll" (ByVal hKey As Long) As Long
Call RegFlushKey(HKEY_LOCAL_MACHINE)
Again, the rationality of this code is looming towards the big zero, and the possibility of a positive effectiveness rising from it is as fat as a giraffe. :D
But, you can try it, and if it doesn't work, blame Microsoft!!! :mad:
I'll have a try
ARGH! Didn't work, thanks anyway Yonatan.
Hey, if you edit folderoptions>Filetypes and edit, change, remove or add something there, all filetypes will update, can i do that update by calling it somehow`?
Check your Other Post