i used the registry functions provided below, the problem is when i write the registry it writes it but when i try to find it in the regedit it doesn't display it ? how come that be possible

VB Code:
  1. Public Function Registry_Read(Key_Path, Key_Name) As Variant
  2.    
  3.     On Error Resume Next
  4.    
  5.     Dim Registry As Object
  6.    
  7.     Set Registry = CreateObject("WScript.Shell")
  8.    
  9.     Registry_Read = Registry.RegRead(Key_Path & Key_Name)
  10.    
  11. End Function
  12.  
  13.  
  14. Public Sub Registry_Write(Key_Path As String, Key_Name As String, Key_Value As Variant, Optional Key_Type As String)
  15.    
  16.     On Error Resume Next
  17.    
  18.     Dim Registry As Object
  19.    
  20.     Dim Registry_Value As Variant
  21.    
  22.     Set Registry = CreateObject("WScript.Shell")
  23.    
  24.     Registry_Value = Registry_Read(Key_Path, Key_Name)
  25.    
  26.  
  27.  
  28.     If Key_Type = "" Then
  29.        
  30.         'REG_SZ is the default.
  31.        
  32.         Registry.RegWrite Key_Path & Key_Name, Key_Value
  33.        
  34.     Else
  35.        
  36.         Registry.RegWrite Key_Path & Key_Name, Key_Value, Key_Type
  37.        
  38.     End If
  39.    
  40. End Sub