Does a program like this exist?

wifi4lyfe

Senior member
Apr 14, 2004
383
0
0
I'm looking for a program that will allow me to change several sequences of numbers in a registry file automatically. By this I mean that when the program is run, a window pops up and asks the user to input lets say 4 different values (numbers) for 4 different fields (ie: speed, length, distance, thrust) and then automatically changes the (speed, length, distance, and thrust) values in the registry. Is this possible?

this is needed because many people with little knowledge of registry editing will be using a program that requires the registry to be edited with different values for the above fields for different types of testing for a certain program. Seems very simple to make, but i have pretty much no knowledge of c++ or any other programming languages.


thanks for your help and sorry if this is confusing...
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
Very simple to make, probalby take a few mins. I take it these values are used by another program ?
 

wifi4lyfe

Senior member
Apr 14, 2004
383
0
0
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
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
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?)
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
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
VB6 Example
C++ Example

All depends how you want to go about it really.



 

wifi4lyfe

Senior member
Apr 14, 2004
383
0
0
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...?

 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
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
 

wifi4lyfe

Senior member
Apr 14, 2004
383
0
0
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++ :-/
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
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.
 

wifi4lyfe

Senior member
Apr 14, 2004
383
0
0
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
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Registry key is needed - saves having to read through the complete registery.
 

wifi4lyfe

Senior member
Apr 14, 2004
383
0
0
im not sure exactly what file yet, so just use anything and i'll change it (if done in c++)