What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Windows registry .reg file, how to create...?

Windows registry .reg file, how to create...?
Author: Message:
user36611
Disabled Account


Posts: 46
Joined: Sep 2004
Status: Away
O.P. Huh?  Windows registry .reg file, how to create...?
Hi,
I have been programming for quit some time now, and I have first now realised the potention of the Windows registry.
But I am in need for some help!

I need to make a (.reg) that will when you click on it, change the icon on all files named (.qm) ine the (ex. hallo.qu), and make all files name (.qu) open wit a specific program!
(if don't understand me, please say so:))

Can any one help me?
Thanks in advance,,,

Regards, partin007
:):):)
03-03-2005 07:49 PM
Profile PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: Windows registry .reg file, how to create...?
you will have to find the correct reg entries for the icon and the open with... thing first

a reg file has a very simple structure and should be easy to make in VB
to see the structure, open any reg file in notepad
03-03-2005 07:54 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
RE: Windows registry .reg file, how to create...?
i created a .reg file using notepad. all you need is the right information in the notepad and the save as 'file.reg' heres an example of the code:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\ResearchMachines\NOATTRIB.VXD]
"loadvxd"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDrives"=dword:00000000
"LinkResolveIgnoreLinkInfo"=dword:00000000
"NoFolderOptions"=dword:00000000
"ClearRecentDocsOnExit"=dword:00000000
"NoTrayContextMenu"=dword:00000000
"EnforceShellExtensionSecurity"=dword:00000000
"NoPrinterTabs"=dword:00000000
"NoDeletePrinter"=dword:00000000
"NoAddPrinter"=dword:00000000
"NoRun"=dword:00000000
"NoSetFolders"=dword:00000000
"NoSetTaskbar"=dword:00000000
"NoClose"=dword:00000000
"NoViewContextMenu"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=dword:00000000
"NoDispScrSavPage"=dword:00000000
"NoDispAppearancePage"=dword:00000000
"NoDispSettingsPage"=dword:00000000
"NoAdminPage"=dword:00000000
"NoProfilePage"=dword:00000000
"NoDevMgrPage"=dword:00000000
"NoConfigPage"=dword:0000000
"NoFileSysPage"=dword:00000000
"NoDispCPL"=dword:00000000
"NoDispBackgroundPage"=dword:00000000
"NoVirtMemPage"=dword:00000000

(nothing bad in the reg code...just PART of the registry file which is ment to disable features of RM Connect)

[Image: lost7ru.gif]
03-03-2005 08:04 PM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
38 / Male / Flag
Joined: Jul 2003
RE: Windows registry .reg file, how to create...?
the easiest way to make a reg file is to go into regedit and right click and export the section you want, it will then produce a .reg file
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
03-03-2005 08:07 PM
Profile E-Mail PM Web Find Quote Report
user36611
Disabled Account


Posts: 46
Joined: Sep 2004
Status: Away
O.P. RE: Windows registry .reg file, how to create...?
Thanks may73alliance!:D
03-03-2005 10:30 PM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
RE: RE: Windows registry .reg file, how to create...?
quote:
Originally posted by partin007
Thanks may73alliance!:D

here to help (Y)

[Image: lost7ru.gif]
03-03-2005 11:14 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On