I need to create a config tool that consists of a simple form w/ a text box for updating an ip string hard coded and compiled into an exe. This IP changes a lot and I don't want to recompile everytime the IP needs to be changed. I can do this myself w/ a hex editor but would rather the client not fool w/ my code in a hex editor. Thus, I need to make use of the :
Open "filepath" For Binary Access Read As #1
in conjunction with a Put or Get Statement
Essentially, I want to open the exe for writing. Pass that to a variable that I can do a string search on. Find some dummy strings (in binary format) that will mark where the IP is and then update the binary IP w/ a new one.
Please help...I'm not too good at regular old Basic.
Open "filepath" For Binary Access Read As #1
in conjunction with a Put or Get Statement
Essentially, I want to open the exe for writing. Pass that to a variable that I can do a string search on. Find some dummy strings (in binary format) that will mark where the IP is and then update the binary IP w/ a new one.
Please help...I'm not too good at regular old Basic.