Q: I am looking for a program that will allow me to run multiple sets of numbers into a registry file automatically. By this I mean that when the program is running, a window appears and prompts the user to input lets say 4 different values (numbers) for four different fields (ie: speed, length, distance, thrust) and then automatically changes (speed, length, distance, and thrust) values in the registry. Is this possible?
this is necessary because many people with little knowledge of the Registry Editor using a program that the registry needs to be modified with different values for the above areas for different types of tests for a given program. Seems very simple to make, but I have pretty much no knowledge of C + + or another programming languages.
thanks for your help and sorry if this is confusing .
Re:im not sure exactly what file yet, so just use anything and i'll change it (if done in c++)
Re:Registry key is needed – saves having to read through the complete registery.
Re:here is what i need to happen:
-user opens .exe file
-window pops up asking for "wirelessrange" value, user enters number and hits enter
-wirelessrange=xxx field in registry file is edited to show the new number (where xxx is the number that was entered by the user)
-process is repeated for 3 other fields: wirelessspeed=xxx, wirelesstcp=xxx, and wirelessnumber=xxx
-after last number is entered by user and edited in the registry file, window closes and edited registry file is saved
wow if anyone could make a simple c++ program that could do that, muuuch <3
thanks
Re:If you can accurately describe the process that needs to happen, manually, someone may be able to slap something within a couple of hours for you to test it.
Note the bolded words.
Re:yeah, they'll have permission. These computers wont be on the network anyways. These test laptops are just basic XP pro installs with a special program for the wireless testing…
i wish i could just find a program that was already made that can handle this!! i'm not really understanding the programming aspect of it, kinda confusing when you dont know any c++ :-/
Re:If you could guarantee VB runtimes were on the target platforms then you could go VB6, but C++ will offer the compatibility. Your only worry would be if the logged on user has account privileges to change the registry.
Last shot would be to learn windows scripting
Re:its probably going to be run on different laptops which will be taken into the field for the testing… guess c++ is the best way to go then…?
Re:Do you have access to VB or even have .net framework installed on your pc ? If you have at least the framework you could create a very simple app (basically a few lines). If you have to run this app on another pc, and you need compatibility C++ would be the choice but it's not as simple.
VB.Net Example (http://www.codeproject.com/vb/net/registry_with_vb.asp)
VB6 Example (http://www.windowsdevcenter.com/pub/a/windows/2004/07/27/VB_Registry_Values.html)
C++ Example (http://www.functionx.com/visualc/articles/regvalues.htm)
All depends how you want to go about it really.
Re:This is probably something you could do with a batch file and some .reg files. Regedit can add files from the command line (I forget the exact syntax… /S switch maybe?)
Re:yeah, its for testing wireless devices where different values for range, etc will be used in the testing and need to be automatically edited in a registry file.
any idea where I can get documentation to help me create a program? I only know the VERRY basics of c++ which is barely anything
appreciate the help
Re:Very simple to make, probalby take a few mins. I take it these values are used by another program ?
0 Comments.