Obviator Posted October 26, 2010 Share Posted October 26, 2010 i've been playing with this on and off for a few days and i can't seem to get what i want/need. In a nutshell i have to install two programs, one relies on the other, that's the easy part. Each user that accesses this program must profile themselves in this program and i want to make it easier. Current practice is to open the top level program, open the "connections" tab and put their individual user id in two separate places. It works pretty well, but i wanna make it easier. At the top of the install routine ask the user for their user id, store it, do the install (if required) then replace their user id in the control file, in two places, and be done. The control file appears to be a binary file. i opened it in a text editor, made the changes and saved it then had to go back and recopy the control file since the text editor didn't like some of the characters. Using a hex editor i found i need to replace characters 17-19 and 2225-2227. i can read the file but cannot figure out how to limit my replace to just 3 characters. Any pointers would be greatly appreciated. Thanks, DaveNewNew.zip Link to comment Share on other sites More sharing options...
NinerSevenTango Posted October 26, 2010 Share Posted October 26, 2010 i've been playing with this on and off for a few days and i can't seem to get what i want/need.In a nutshell i have to install two programs, one relies on the other, that's the easy part. Each user that accesses this program must profile themselves in this program and i want to make it easier. Current practice is to open the top level program, open the "connections" tab and put their individual user id in two separate places. It works pretty well, but i wanna make it easier. At the top of the install routine ask the user for their user id, store it, do the install (if required) then replace their user id in the control file, in two places, and be done.The control file appears to be a binary file. i opened it in a text editor, made the changes and saved it then had to go back and recopy the control file since the text editor didn't like some of the characters.Using a hex editor i found i need to replace characters 17-19 and 2225-2227. i can read the file but cannot figure out how to limit my replace to just 3 characters.Any pointers would be greatly appreciated.Thanks,DaveSomeone who did something similar:http://www.autoitscript.com/forum/index.php?showtopic=75030 Link to comment Share on other sites More sharing options...
Obviator Posted October 27, 2010 Author Share Posted October 27, 2010 Thanks NinerSevenTango, i'll head right over. Dave 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