G
Guest
hi im using vb 2005 and am trying to export a reg key, code:
procID = Shell("c:\windows\system32\regedt32.exe /e:a c:\\" & Sub_Key & ".reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\" &
Sub_Key, AppWinStyle.NormalFocus, True, 100000)
this does not work
now this code works ; procID =
Shell("c:\windows\system32\regedt32.exe /e:a c:\\" & Sub_Key & ".reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" &
Sub_Key, AppWinStyle.NormalFocus, True, 100000)
the only diff i see is the space in "Shared Tools" is the space causing the
prob and if so how can i fix it
thanks Dave
procID = Shell("c:\windows\system32\regedt32.exe /e:a c:\\" & Sub_Key & ".reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupreg\" &
Sub_Key, AppWinStyle.NormalFocus, True, 100000)
this does not work
now this code works ; procID =
Shell("c:\windows\system32\regedt32.exe /e:a c:\\" & Sub_Key & ".reg
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" &
Sub_Key, AppWinStyle.NormalFocus, True, 100000)
the only diff i see is the space in "Shared Tools" is the space causing the
prob and if so how can i fix it
thanks Dave