Results 1 to 5 of 5

Thread: Usertypes kicks ass

  1. #1

    Thread Starter
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Thumbs down

    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?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Unhappy I'm probably just saying nonsense at random(ize timer) but...

    I'm probably just saying nonsense at random, but maybe this might work...
    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
    Then (it probably won't work but you might as well try) use this:

    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.

    But, you can try it, and if it doesn't work, blame Microsoft!!!

  3. #3

    Thread Starter
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I'll have a try
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4

    Thread Starter
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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`?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177
    Check your Other Post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width