Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

A small registry app

Custom Title Activated
Loyal Member
Joined
Nov 28, 2004
Messages
2,236
Reaction score
0
Hi there.

I need someone to make very simple application.

Here's the idea:

When I launch app.exe file it reads the directory where it is in the memory, i.e. dir="C:\games\WoW".

Then it converts all "\" into "\\".

Then that program reads external file called registry.reg and takes the data into memory. The data of registry.reg could be:
Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\World of Warcraft]
"DisplayIcon"="%dir%\\WoW.exe"
"DisplayName"="World of Warcraft"
"UninstallString"="%dir%\\Uninstall.exe"

Next step is that the program replaces all %dir% strings with the dir one, taken earlier (in this case C:\\games\\WoW) and then the registry.reg data in the memory (the file should be left intact) should be look like this:
Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\World of Warcraft]
"DisplayIcon"="C:\\games\\WoW\\WoW.exe"
"DisplayName"="World of Warcraft"
"UninstallString"="C:\\games\\WoW\\Uninstall.exe"

and finally the app.exe creates new file called registry.reg in the windows temporary folder and applies it (without any notices) and deletes the file.

This program could be used in really many cases!

I hope you understood what I want and I think this should be easy to do even for starting programmers.

I really thank you in advance!
 
Custom Title Activated
Loyal Member
Joined
Nov 28, 2004
Messages
2,236
Reaction score
0
Come on!
I really need it badly.
It shouln't be difficult...
 
Newbie Spellweaver
Joined
May 17, 2005
Messages
9
Reaction score
0
Okay, would you mind if it was coded in VB6?
I'll add it as soon as possible.

-edit-

done, read the readme.txt and beta test it :p
added app.zip as attachment.
 

Attachments

You must be registered for see attachments list
Last edited:
Experienced Elementalist
Joined
Apr 18, 2005
Messages
254
Reaction score
0
Yeah very nice... I can use these codes for my own apps :-D Thanks a lot!
 
Custom Title Activated
Loyal Member
Joined
Nov 28, 2004
Messages
2,236
Reaction score
0
Okay, would you mind if it was coded in VB6?
I'll add it as soon as possible.

-edit-

done, read the readme.txt and beta test it :p
added app.zip as attachment.
Oh, finally someone responded!!!
That's great. It works in the manner I wanted.

I really sincerely thank you!
 
Back
Top