IonicWind Software

Announcements => User Offerings => Topic started by: Andy on May 10, 2016, 07:18:33 AM

Title: Registry viewer and editor V2
Post by: Andy on May 10, 2016, 07:18:33 AM
Here is my first offering on my registry viewer / editor (version 2).

There are still some things to do I know, but I've gone a very long way down the line now, and I would like someone who knows what they are doing to compile and use it a little - and hopefully give me some feedback.

You can:
Add / Edit / Delete registry entries of type : Strings, Expandable strings, Multi line strings, Binaray, Dwords, Qwords.

CAUTION!
I would very strongly suggest you stick to creating a key of your own choice and adding / editing values of different types in that key - and I would suggest you place your new key in HKEY_CURRENT_USER \ Software.

If you stick to the above advice, you should have no problem.

Attached is the zip file:

Place the .inc file in your includes folder, and the .lib file in your libs folder.

Enjoy!  :)

Thanks,
Andy.


Title: Re: Registry viewer and editor V2
Post by: Bill-Bo on May 10, 2016, 04:21:01 PM
Andy,

You did well. I don't see any problems.

Bill
Title: Re: Registry viewer and editor V2 (another useful example)
Post by: Andy on May 11, 2016, 07:12:23 AM
Thanks Bill,

I have had to add in more commands to the library so I can work with hex values more easily.

Here is an example of returning the correct decimal value for hex value FFFFFFFF (8 F's).

$include "StringMap.inc"

string SMHPR

SMHPR = "ffffffff" 'Should Give you the decimal value of 4,294,967,295.

openconsole
print
print
print "   Correct answer is = ",SMHexToDec(SMHPR)
print
print
print "   Formatted answer is = ",SMUsing(SMHexToDec(SMHPR),",")  'Formatted answer with ","s
print
print
print "   Press anky key to end..."
print
waitcon
SMEndStringMap() 'Close the StringMap library to free memory.
end


- You cannot do this using * and + commands as the numbers become too big for IWB.

You will need the new attachment to compile this code, but it does show you that the StringMap libary may come in very handy for you, It's not just about working with strings anymore, I'm trying to add in as many useful functions as possible for us all.

As always, copy the lib file to your libs folder, and the inc file to your include folder first before compiling.

Thanks,
Andy.




Title: Re: Registry viewer and editor V2
Post by: Bill-Bo on May 11, 2016, 03:12:51 PM
Andy,

QuoteYou will need the new attachment to compile this code

The inc and lib are the same as in your first post. Same sizes, dates, and times.

Bill
Title: Re: Registry viewer and editor V2
Post by: Andy on May 11, 2016, 09:48:30 PM
Bill,

Yes they are, I was simply trying to get everyone who may have an interest in the library to download the latest version.

I have to document these new functions which takes some time, when I have done that I will post a new thread with the very latest download and help file.

Thanks,
Andy.
:)
Title: Re: Registry viewer and editor V2
Post by: Egil on May 12, 2016, 10:09:24 AM
I really like your Registry viewer very much!

The snippet you posted yesterday, compiles without errors, but when I try to run it the program crashes. Have not been able to figure out why.
Title: Re: Registry viewer and editor V2
Post by: LarryMc on May 12, 2016, 01:56:07 PM
Same as Egil
Doesn't matter whether I compile to console or window target it immediately closes the console window
unless I comment out the SMHexToDec and SMUsing lines of code.
Title: Re: Registry viewer and editor V2
Post by: Andy on May 12, 2016, 10:21:53 PM
Sorry guys!

my boob!!

I've posted in user offering the very latest update - this should correct things, included is the updated help file.

http://www.ionicwind.com/forums/index.php?topic=5855.0

Thanks,
Andy.
Title: Re: Registry viewer and editor V2
Post by: Bill-Bo on May 13, 2016, 05:14:58 AM
To All,

The other day when I compile and ran the original snippet, it ran just fine under 64-bit Win 8.1. No crashes.

The new one runs fine, also.

Bill