Naveed Posted August 3, 2010 Share Posted August 3, 2010 I am attempting to make a change in the registry which would change the default outlook profile from cached exchange mode to normal mode.Here is the registry value i am trying to change.HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<profilename>\13dbb0c8aa05101a9bb000aa002fc45a00036601REG_BINARYThe Current Value is 0x84000000I need to change it to 0x04000000However when i try changing it, it converts it to binary code value which is a bit random.RegWrite("HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\<profilename>\13dbb0c8aa05101a9bb000aa002fc45a","00036601","REG_BINARY","newvalue")I have read the other topics and tried using binary($value) but this doesnt seem to work.Can anyone help? Link to comment Share on other sites More sharing options...
ProgAndy Posted August 3, 2010 Share Posted August 3, 2010 (edited) This is the correct usage of RegWrite with binary data: RegWrite("...", "...", "REG_BINARY", Binary("0x04000000")) Edited August 3, 2010 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now