I use the following to save or read a registry entry in some of my vb programs:
SaveSetting "FastOrder", "Section 1", "Key 1", txtUserName or GetSetting if getting info.
I want to change the default windows printer. The location of the reg key is:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\WIndows\Device:REG_SZ<Printer Description String>.
I cant seem to change this setting. If I use:
SaveSetting "HKEY_CURRENT_USER", "Software\Microsoft\Windows NT\CurrentVersion\WIndows", "Device:REG_SZ","\\2kserver1\I.S. Office,Winspool,NEoo:" - then it writes and reads a registry key but it is located in the VB and VBA applications folder, not the one I am wanting it written to. I am sure my path is wrong but what should it be?
Thanks in advance,
Shannan
SaveSetting "FastOrder", "Section 1", "Key 1", txtUserName or GetSetting if getting info.
I want to change the default windows printer. The location of the reg key is:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\WIndows\Device:REG_SZ<Printer Description String>.
I cant seem to change this setting. If I use:
SaveSetting "HKEY_CURRENT_USER", "Software\Microsoft\Windows NT\CurrentVersion\WIndows", "Device:REG_SZ","\\2kserver1\I.S. Office,Winspool,NEoo:" - then it writes and reads a registry key but it is located in the VB and VBA applications folder, not the one I am wanting it written to. I am sure my path is wrong but what should it be?
Thanks in advance,
Shannan